File: lisp.h

package info (click to toggle)
openvswitch 2.6.2~pre%2Bgit20161223-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 42,772 kB
  • ctags: 37,668
  • sloc: sh: 499,654; ansic: 261,360; xml: 21,326; python: 14,843; makefile: 450; perl: 409
file content (27 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __NET_LISP_WRAPPER_H
#define __NET_LISP_WRAPPER_H  1

#ifdef CONFIG_INET
#include <net/udp_tunnel.h>
#endif


#ifdef CONFIG_INET
#define lisp_dev_create_fb rpl_lisp_dev_create_fb
struct net_device *rpl_lisp_dev_create_fb(struct net *net, const char *name,
					u8 name_assign_type, u16 dst_port);
#endif /*ifdef CONFIG_INET */

#define lisp_init_module rpl_lisp_init_module
int rpl_lisp_init_module(void);

#define lisp_cleanup_module rpl_lisp_cleanup_module
void rpl_lisp_cleanup_module(void);

#define lisp_xmit rpl_lisp_xmit
netdev_tx_t rpl_lisp_xmit(struct sk_buff *skb);

#define lisp_fill_metadata_dst ovs_lisp_fill_metadata_dst
int ovs_lisp_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb);

#endif /*ifdef__NET_LISP_H */