source: trunk/packages/xen-common/xen-common/tools/vnet/vnet-module/etherip.h @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 1.2 KB
Line 
1/*
2 * Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free software Foundation, Inc.,
16 * 59 Temple Place, suite 330, Boston, MA 02111-1307 USA
17 *
18 */
19#ifndef _VNET_ETHERIP_H_
20#define _VNET_ETHERIP_H_
21
22#include "if_etherip.h"
23
24#ifdef __KERNEL__
25extern int etherip_module_init(void);
26extern void etherip_module_exit(void);
27#endif
28
29extern int etherip_protocol_recv(struct sk_buff *skb);
30extern int etherip_in_udp;
31
32struct VnetId;
33struct VarpAddr;
34struct Tunnel;
35
36extern int etherip_tunnel_create(struct VnetId *vnet, struct VarpAddr *addr,
37                                 struct Tunnel *base, struct Tunnel **tunnel);
38#endif
Note: See TracBrowser for help on using the repository browser.