Searched refs:l2_proto (Results 1 - 3 of 3) sorted by relevance
/linux-master/include/uapi/linux/ |
H A D | atmsap.h | 105 unsigned char l2_proto; /* layer 2 protocol */ member in struct:atm_blli 160 return blli.l2_proto || blli.l3_proto;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 95 __u16 l2_proto, __u16 ext_proto) 160 switch (l2_proto) { 180 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); 202 switch (l2_proto) { 257 __u16 l2_proto) 259 return __encap_ipv4(skb, encap_proto, l2_proto, 0); 263 __u16 l2_proto, __u16 ext_proto) 291 switch (l2_proto) { 311 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); 332 switch (l2_proto) { 94 __encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, __u16 l2_proto, __u16 ext_proto) argument 256 encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, __u16 l2_proto) argument 262 __encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, __u16 l2_proto, __u16 ext_proto) argument 428 encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, __u16 l2_proto) argument [all...] |
/linux-master/drivers/net/bonding/ |
H A D | bond_main.c | 4055 int hlen, __be16 l2_proto, int *nhoff, int *ip_proto, bool l34) 4060 if (l2_proto == htons(ETH_P_IP)) { 4070 } else if (l2_proto == htons(ETH_P_IPV6)) { 4115 __be16 l2_proto, int nhoff, int hlen, struct flow_keys *fk) 4125 fk, data, l2_proto, nhoff, hlen, 0); 4132 if (!bond_flow_ip(skb, fk, data, hlen, l2_proto, &nhoff, &ip_proto, l34)) 4153 return bond_flow_ip(skb, fk, data, hlen, l2_proto, &nhoff, &ip_proto, l34); 4179 __be16 l2_proto, int mhoff, int nhoff, int hlen) 4188 !bond_flow_dissect(bond, skb, data, l2_proto, nhoff, hlen, &flow)) 4054 bond_flow_ip(struct sk_buff *skb, struct flow_keys *fk, const void *data, int hlen, __be16 l2_proto, int *nhoff, int *ip_proto, bool l34) argument 4114 bond_flow_dissect(struct bonding *bond, struct sk_buff *skb, const void *data, __be16 l2_proto, int nhoff, int hlen, struct flow_keys *fk) argument 4178 __bond_xmit_hash(struct bonding *bond, struct sk_buff *skb, const void *data, __be16 l2_proto, int mhoff, int nhoff, int hlen) argument
|
Completed in 123 milliseconds