Searched refs:encap_proto (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 91 static __always_inline int __encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv4() argument 111 if (encap_proto == IPPROTO_IPV6) { in __encap_ipv4() 173 switch (encap_proto) { in __encap_ipv4() 230 h_outer.ip.protocol = encap_proto; in __encap_ipv4() 240 if (encap_proto == IPPROTO_IPV6) { in __encap_ipv4() 253 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4() argument 256 return __encap_ipv4(skb, encap_proto, l2_proto, 0); in encap_ipv4() 259 static __always_inline int __encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv6() argument 304 switch (encap_proto) { in __encap_ipv6() 360 h_outer.ip.nexthdr = encap_proto; in __encap_ipv6() 425 encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, __u16 l2_proto) encap_ipv6() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 72 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4() argument 91 if (encap_proto == IPPROTO_IPV6) { in encap_ipv4() 149 switch (encap_proto) { in encap_ipv4() 194 h_outer.ip.protocol = encap_proto; in encap_ipv4() 204 if (encap_proto == IPPROTO_IPV6) { in encap_ipv4() 217 static __always_inline int encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv6() argument 257 switch (encap_proto) { in encap_ipv6() 302 h_outer.ip.nexthdr = encap_proto; in encap_ipv6()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | if_hsr.h | 27 __be16 encap_proto; member
|
/kernel/linux/linux-5.10/net/hsr/ |
H A D | hsr_forward.c | 57 if (hsr_V1_hdr->hsr.encap_proto != htons(ETH_P_PRP)) in is_supervision_frame() 227 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
|
H A D | hsr_main.h | 56 __be16 encap_proto; member
|
/kernel/linux/linux-6.6/net/hsr/ |
H A D | hsr_forward.c | 63 if (hsr_V1_hdr->hsr.encap_proto != htons(ETH_P_PRP)) in is_supervision_frame() 269 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_tx.c | 177 req->encap_proto = 0; in write_pkt_desc() 552 req->encap_proto = 0; in fun_xdp_tx()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_hci.h | 1119 __be16 encap_proto; member 1174 __be16 encap_proto; member
|
/kernel/linux/linux-6.6/net/core/ |
H A D | flow_dissector.c | 1465 proto = hdr->encap_proto; in __skb_flow_dissect()
|
Completed in 11 milliseconds