Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
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,
Dip6_tunnel.h64 struct ip_tunnel_encap encap;
69 size_t (*encap_hlen)(struct ip_tunnel_encap *e);
70 int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
84 struct ip_tunnel_encap *ipencap);
86 static inline int ip6_encap_hlen(struct ip_tunnel_encap *e) in ip6_encap_hlen()
Dip_tunnels.h88 struct ip_tunnel_encap { struct
132 struct ip_tunnel_encap encap;
311 size_t (*encap_hlen)(struct ip_tunnel_encap *e);
312 int (*build_header)(struct sk_buff *skb, struct ip_tunnel_encap *e,
327 struct ip_tunnel_encap *ipencap);
329 static inline int ip_encap_hlen(struct ip_tunnel_encap *e) in ip_encap_hlen()
349 static inline int ip_tunnel_encap(struct sk_buff *skb, struct ip_tunnel *t, in ip_tunnel_encap() function
/Linux-v4.19/net/ipv6/
Dfou6.c19 static void fou6_build_udp(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou6_build_udp()
38 static int fou6_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou6_build_header()
55 static int gue6_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in gue6_build_header()
Dsit.c983 if (ip_tunnel_encap(skb, tunnel, &protocol, &fl4) < 0) { in ipip6_tunnel_xmit()
1485 struct ip_tunnel_encap *ipencap) in ipip6_netlink_encap_parms()
1560 struct ip_tunnel_encap ipencap; in ipip6_newlink()
1605 struct ip_tunnel_encap ipencap; in ipip6_changelink()
Dip6_tunnel.c1761 struct ip_tunnel_encap *ipencap) in ip6_tnl_encap_setup()
1974 struct ip_tunnel_encap *ipencap) in ip6_tnl_netlink_encap_parms()
2012 struct ip_tunnel_encap ipencap; in ip6_tnl_newlink()
2050 struct ip_tunnel_encap ipencap; in ip6_tnl_changelink()
Dip6_gre.c1911 struct ip_tunnel_encap *ipencap) in ip6gre_netlink_encap_parms()
1948 struct ip_tunnel_encap ipencap; in ip6gre_newlink_common()
2016 struct ip_tunnel_encap ipencap; in ip6gre_changelink_common()
/Linux-v4.19/net/ipv4/
Dfou.c838 size_t fou_encap_hlen(struct ip_tunnel_encap *e) in fou_encap_hlen()
844 size_t gue_encap_hlen(struct ip_tunnel_encap *e) in gue_encap_hlen()
862 int __fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in __fou_build_header()
878 int __gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in __gue_build_header()
953 static void fou_build_udp(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou_build_udp()
972 static int fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in fou_build_header()
989 static int gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, in gue_build_header()
Dipip.c465 struct ip_tunnel_encap *ipencap) in ipip_netlink_encap_parms()
503 struct ip_tunnel_encap ipencap; in ipip_newlink()
523 struct ip_tunnel_encap ipencap; in ipip_changelink()
Dip_gre.c1253 struct ip_tunnel_encap *ipencap) in ipgre_netlink_encap_parms()
1356 struct ip_tunnel_encap ipencap; in ipgre_newlink()
1379 struct ip_tunnel_encap ipencap; in ipgre_changelink()
Dip_tunnel.c480 struct ip_tunnel_encap *ipencap) in ip_tunnel_encap_setup()
719 if (ip_tunnel_encap(skb, tunnel, &protocol, &fl4) < 0) in ip_tunnel_xmit()
/Linux-v4.19/net/mpls/
Daf_mpls.c45 static size_t ipgre_mpls_encap_hlen(struct ip_tunnel_encap *e) in ipgre_mpls_encap_hlen()