Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c94 static __always_inline int __encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv4() argument
114 if (encap_proto == IPPROTO_IPV6) { in __encap_ipv4()
176 switch (encap_proto) { in __encap_ipv4()
233 h_outer.ip.protocol = encap_proto; in __encap_ipv4()
243 if (encap_proto == IPPROTO_IPV6) { in __encap_ipv4()
256 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4() argument
259 return __encap_ipv4(skb, encap_proto, l2_proto, 0); in encap_ipv4()
262 static __always_inline int __encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in __encap_ipv6() argument
307 switch (encap_proto) { in __encap_ipv6()
363 h_outer.ip.nexthdr = encap_proto; in __encap_ipv6()
[all …]
/linux/include/linux/
H A Dif_hsr.h27 __be16 encap_proto; member
/linux/net/hsr/
H A Dhsr_forward.c63 if (hsr_V1_hdr->hsr.encap_proto != htons(ETH_P_PRP)) in is_supervision_frame()
298 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c177 req->encap_proto = 0; in write_pkt_desc()
552 req->encap_proto = 0; in fun_xdp_tx()
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_hci.h1119 __be16 encap_proto; member
1174 __be16 encap_proto; member
/linux/net/core/
H A Dflow_dissector.c1489 proto = hdr->encap_proto; in __skb_flow_dissect()