Home
last modified time | relevance | path

Searched refs:encap_proto (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c87 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()
[all …]
/linux-6.1.9/include/linux/
Dif_hsr.h27 __be16 encap_proto; member
/linux-6.1.9/net/hsr/
Dhsr_forward.c63 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()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c177 req->encap_proto = 0; in write_pkt_desc()
553 req->encap_proto = 0; in fun_xdp_tx()
/linux-6.1.9/drivers/net/ethernet/fungible/funcore/
Dfun_hci.h1119 __be16 encap_proto; member
1174 __be16 encap_proto; member
/linux-6.1.9/net/core/
Dflow_dissector.c1385 proto = hdr->encap_proto; in __skb_flow_dissect()