Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Dinet_ecn.h174 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()
Dip_tunnels.h409 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_dsfield()
422 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_ttl()
/linux-6.6.21/net/sched/
Dsch_frag.c94 if (skb_protocol(skb, true) == htons(ETH_P_IP)) { in sch_fragment()
109 } else if (skb_protocol(skb, true) == htons(ETH_P_IPV6)) { in sch_fragment()
129 ntohs(skb_protocol(skb, true)), mru, in sch_fragment()
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()
Dem_ipset.c62 switch (skb_protocol(skb, true)) { in em_ipset_match()
Dact_connmark.c49 switch (skb_protocol(skb, true)) { in tcf_connmark_act()
Dem_ipt.c215 switch (skb_protocol(skb, true)) { in em_ipt_match()
Dact_skbmod.c53 switch (skb_protocol(skb, true)) { in tcf_skbmod_act()
Dact_ctinfo.c100 switch (skb_protocol(skb, true)) { in tcf_ctinfo_act()
Dact_ipt.c269 if (skb_protocol(skb, false) != htons(ETH_P_IP)) in tcf_ipt_act()
Dsch_teql.c244 err = dev_hard_header(skb, dev, ntohs(skb_protocol(skb, false)), in __teql_resolve()
Dact_mpls.c86 new_lse = tcf_mpls_get_lse(NULL, p, !eth_p_mpls(skb_protocol(skb, true))); in tcf_mpls_act()
Dact_skbedit.c59 switch (skb_protocol(skb, true)) { in tcf_skbedit_act()
Dact_csum.c588 protocol = skb_protocol(skb, false); in tcf_csum_act()
Dem_meta.c198 dst->value = skb_protocol(skb, false); in META_COLLECTOR()
Dsch_cake.c596 if (skb_protocol(skb, true) != htons(ETH_P_IP)) in cake_update_flowkeys()
1565 switch (skb_protocol(skb, true)) { in cake_handle_diffserv()
Dact_ct.c784 switch (skb_protocol(skb, true)) { in tcf_ct_skb_nf_family()
Dcls_api.c1675 __be16 protocol = skb_protocol(skb, false); in __tcf_classify()
Dcls_flower.c332 skb_key.basic.n_proto = skb_protocol(skb, false); in fl_classify()
/linux-6.6.21/net/netfilter/
Dnf_nat_ovs.c15 __be16 proto = skb_protocol(skb, true); in nf_ct_nat_execute()
/linux-6.6.21/include/linux/
Dif_vlan.h660 static inline __be16 skb_protocol(const struct sk_buff *skb, bool skip_vlan) in skb_protocol() function
/linux-6.6.21/net/ipv4/
Dip_tunnel.c688 payload_protocol = skb_protocol(skb, true); in ip_tunnel_xmit()
/linux-6.6.21/net/ipv6/
Dip6_tunnel.c1102 payload_protocol = skb_protocol(skb, true); in ip6_tnl_xmit()
Dip6_gre.c907 payload_protocol = skb_protocol(skb, true); in ip6gre_tunnel_xmit()
/linux-6.6.21/net/core/
Dfilter.c7197 switch (skb_protocol(skb, true)) { in BPF_CALL_1()