/linux/include/net/ |
H A D | inet_ecn.h | 174 switch (skb_protocol(skb, true)) { in INET_ECN_set_ce() 193 switch (skb_protocol(skb, true)) { in skb_get_dsfield() 210 switch (skb_protocol(skb, true)) { in INET_ECN_set_ect1() 291 switch (skb_protocol(skb, true)) { in IP_ECN_decapsulate() 310 switch (skb_protocol(skb, true)) { in IP6_ECN_decapsulate()
|
H A D | ip_tunnels.h | 478 /* Essentially this is skb_protocol(skb, true) in skb_vlan_inet_prepare() 552 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_dsfield() 565 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_flowlabel() 576 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_ttl()
|
/linux/net/sched/ |
H A D | sch_frag.c | 98 if (skb_protocol(skb, true) == htons(ETH_P_IP)) { in sch_fragment() 115 } else if (skb_protocol(skb, true) == htons(ETH_P_IPV6)) { in sch_fragment() 137 ntohs(skb_protocol(skb, true)), mru, in sch_fragment()
|
H A D | cls_flow.c | 84 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_dst() 108 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_proto_dst() 155 switch (skb_protocol(skb, true)) { in flow_get_nfct_src() 168 switch (skb_protocol(skb, true)) { in flow_get_nfct_dst()
|
H A D | em_ipset.c | 62 switch (skb_protocol(skb, true)) { in em_ipset_match()
|
H A D | act_connmark.c | 49 switch (skb_protocol(skb, true)) { in tcf_connmark_act()
|
H A D | em_ipt.c | 215 switch (skb_protocol(skb, true)) { in em_ipt_match()
|
H A D | act_ctinfo.c | 98 switch (skb_protocol(skb, true)) { in tcf_ctinfo_act()
|
H A D | sch_teql.c | 244 err = dev_hard_header(skb, dev, ntohs(skb_protocol(skb, false)), in __teql_resolve()
|
H A D | act_skbedit.c | 57 switch (skb_protocol(skb, true)) { in tcf_skbedit_act()
|
H A D | act_csum.c | 589 protocol = skb_protocol(skb, false); in tcf_csum_act()
|
H A D | sch_dualpi2.c | 312 switch (skb_protocol(skb, true)) { in dualpi2_read_ect()
|
H A D | sch_cake.c | 582 if (skb_protocol(skb, true) != htons(ETH_P_IP)) in cake_update_flowkeys() 1613 switch (skb_protocol(skb, true)) { in cake_handle_diffserv()
|
H A D | act_ct.c | 789 switch (skb_protocol(skb, true)) { in tcf_ct_skb_nf_family()
|
H A D | cls_api.c | 1729 __be16 protocol = skb_protocol(skb, false); in __tcf_classify()
|
/linux/net/netfilter/ |
H A D | nf_nat_ovs.c | 15 __be16 proto = skb_protocol(skb, true); in nf_ct_nat_execute()
|
/linux/include/linux/ |
H A D | if_vlan.h | 682 static inline __be16 skb_protocol(const struct sk_buff *skb, bool skip_vlan) in skb_protocol() function
|
/linux/net/ipv4/ |
H A D | ip_tunnel.c | 702 payload_protocol = skb_protocol(skb, true); in ip_tunnel_xmit()
|
/linux/net/ipv6/ |
H A D | ip6_gre.c | 888 payload_protocol = skb_protocol(skb, true); in ip6gre_tunnel_xmit()
|
/linux/net/core/ |
H A D | filter.c | 7383 switch (skb_protocol(skb, true)) { in BPF_CALL_1()
|