Home
last modified time | relevance | path

Searched refs:ip_tunnel_encap (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/include/net/
H A Dfou.h12 size_t fou_encap_hlen(struct ip_tunnel_encap *e);
13 size_t gue_encap_hlen(struct ip_tunnel_encap *e);
15 int __fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
17 int __gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
H A Dip6_tunnel.h65 struct ip_tunnel_encap encap;
70 size_t (*encap_hlen)(struct ip_tunnel_encap *e);
71 int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
87 struct ip_tunnel_encap *ipencap);
89 static inline int ip6_encap_hlen(struct ip_tunnel_encap *e) in ip6_encap_hlen()
H A Dip_tunnels.h61 struct ip_tunnel_encap { struct
86 struct ip_tunnel_encap encap; argument
144 struct ip_tunnel_encap encap;
315 struct ip_tunnel_encap *encap);
324 size_t (*encap_hlen)(struct ip_tunnel_encap *e);
325 int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
341 struct ip_tunnel_encap *ipencap);
397 static inline int ip_encap_hlen(struct ip_tunnel_encap *e) in ip_encap_hlen()
417 static inline int ip_tunnel_encap(struct sk_buff *skb, in ip_tunnel_encap() function
418 struct ip_tunnel_encap *e, in ip_tunnel_encap()
/openbmc/linux/net/ipv6/
H A Dfou6.c21 static void fou6_build_udp(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou6_build_udp()
40 static int fou6_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou6_build_header()
57 static int gue6_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in gue6_build_header()
H A Dsit.c1027 if (ip_tunnel_encap(skb, &tunnel->encap, &protocol, &fl4) < 0) { in ipip6_tunnel_xmit()
1560 struct ip_tunnel_encap ipencap; in ipip6_newlink()
1608 struct ip_tunnel_encap ipencap; in ipip6_changelink()
H A Dip6_tunnel.c1797 struct ip_tunnel_encap *ipencap) in ip6_tnl_encap_setup()
2014 struct ip_tunnel_encap ipencap; in ip6_tnl_newlink()
2052 struct ip_tunnel_encap ipencap; in ip6_tnl_changelink()
H A Dip6_gre.c1948 struct ip_tunnel_encap *ipencap) in ip6gre_netlink_encap_parms()
1985 struct ip_tunnel_encap ipencap; in ip6gre_newlink_common()
2051 struct ip_tunnel_encap ipencap; in ip6gre_changelink_common()
/openbmc/linux/net/ipv4/
H A Dfou_core.c920 size_t fou_encap_hlen(struct ip_tunnel_encap *e) in fou_encap_hlen()
926 size_t gue_encap_hlen(struct ip_tunnel_encap *e) in gue_encap_hlen()
944 int __fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in __fou_build_header()
960 int __gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in __gue_build_header()
1035 static void fou_build_udp(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou_build_udp()
1054 static int fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou_build_header()
1071 static int gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in gue_build_header()
H A Dipip.c436 struct ip_tunnel_encap ipencap; in ipip_newlink()
456 struct ip_tunnel_encap ipencap; in ipip_changelink()
H A Dip_tunnel.c489 struct ip_tunnel_encap *ipencap) in ip_tunnel_encap_setup()
620 if (ip_tunnel_encap(skb, &tun_info->encap, &proto, &fl4) < 0) in ip_md_tunnel_xmit()
780 if (ip_tunnel_encap(skb, &tunnel->encap, &protocol, &fl4) < 0) in ip_tunnel_xmit()
H A Dip_gre.c1247 struct ip_tunnel_encap *ipencap) in ipgre_netlink_encap_parms()
1346 struct ip_tunnel_encap ipencap; in ipgre_newlink_encap_setup()
H A Dip_tunnel_core.c1085 struct ip_tunnel_encap *encap) in ip_tunnel_netlink_encap_parms()
/openbmc/linux/net/mpls/
H A Daf_mpls.c45 static size_t ipgre_mpls_encap_hlen(struct ip_tunnel_encap *e) in ipgre_mpls_encap_hlen()