Lines Matching refs:encap_proto
87 static __always_inline int __encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv4() argument
107 if (encap_proto == IPPROTO_IPV6) { in __encap_ipv4()
169 switch (encap_proto) { in __encap_ipv4()
226 h_outer.ip.protocol = encap_proto; in __encap_ipv4()
236 if (encap_proto == IPPROTO_IPV6) { in __encap_ipv4()
249 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4() argument
252 return __encap_ipv4(skb, encap_proto, l2_proto, 0); in encap_ipv4()
255 static __always_inline int __encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv6() argument
300 switch (encap_proto) { in __encap_ipv6()
356 h_outer.ip.nexthdr = encap_proto; in __encap_ipv6()
366 static __always_inline int encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv6() argument
369 return __encap_ipv6(skb, encap_proto, l2_proto, 0); in encap_ipv6()