Home
last modified time | relevance | path

Searched refs:skb_protocol (Results 1 – 25 of 25) sorted by relevance

/linux/include/net/
H A Dinet_ecn.h188 switch (skb_protocol(skb, true)) { in INET_ECN_set_ce()
207 switch (skb_protocol(skb, true)) { in skb_get_dsfield()
224 switch (skb_protocol(skb, true)) { in INET_ECN_set_ect1()
305 switch (skb_protocol(skb, true)) { in IP_ECN_decapsulate()
324 switch (skb_protocol(skb, true)) { in IP6_ECN_decapsulate()
H A Dip_tunnels.h572 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_dsfield()
585 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_flowlabel()
596 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_ttl()
/linux/net/sched/
H A Dsch_frag.c98 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 Dcls_flow.c84 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 Dem_ipset.c62 switch (skb_protocol(skb, true)) { in em_ipset_match()
H A Dem_ipt.c215 switch (skb_protocol(skb, true)) { in em_ipt_match()
H A Dact_connmark.c49 switch (skb_protocol(skb, true)) { in tcf_connmark_act()
H A Dact_skbmod.c52 switch (skb_protocol(skb, true)) { in tcf_skbmod_act()
H A Dact_ctinfo.c99 switch (skb_protocol(skb, true)) { in tcf_ctinfo_act()
H A Dact_skbedit.c57 switch (skb_protocol(skb, true)) { in tcf_skbedit_act()
H A Dact_mpls.c84 new_lse = tcf_mpls_get_lse(NULL, p, !eth_p_mpls(skb_protocol(skb, true))); in tcf_mpls_act()
H A Dsch_teql.c246 err = dev_hard_header(skb, dev, ntohs(skb_protocol(skb, false)), in __teql_resolve()
H A Dact_csum.c589 protocol = skb_protocol(skb, false); in tcf_csum_act()
H A Dem_meta.c198 dst->value = skb_protocol(skb, false); in META_COLLECTOR()
H A Dsch_dualpi2.c312 switch (skb_protocol(skb, true)) { in dualpi2_read_ect()
H A Dsch_cake.c595 if (skb_protocol(skb, true) != htons(ETH_P_IP)) in cake_update_flowkeys()
1621 switch (skb_protocol(skb, true)) { in cake_handle_diffserv()
H A Dact_ct.c791 switch (skb_protocol(skb, true)) { in tcf_ct_skb_nf_family()
H A Dcls_api.c1729 __be16 protocol = skb_protocol(skb, false); in __tcf_classify()
H A Dcls_flower.c343 skb_key.basic.n_proto = skb_protocol(skb, false); in fl_classify()
/linux/net/netfilter/
H A Dnf_nat_ovs.c18 __be16 proto = skb_protocol(skb, true); in nf_ct_nat_execute()
/linux/include/linux/
H A Dif_vlan.h676 static inline __be16 skb_protocol(const struct sk_buff *skb, bool skip_vlan) in skb_protocol() function
/linux/net/ipv4/
H A Dip_tunnel.c688 payload_protocol = skb_protocol(skb, true); in ip_tunnel_xmit()
/linux/net/ipv6/
H A Dip6_tunnel.c1109 payload_protocol = skb_protocol(skb, true); in ip6_tnl_xmit()
H A Dip6_gre.c890 payload_protocol = skb_protocol(skb, true); in ip6gre_tunnel_xmit()
/linux/net/core/
H A Dfilter.c7489 switch (skb_protocol(skb, true)) { in BPF_CALL_1()