Home
last modified time | relevance | path

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

/Linux-v6.1/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.h399 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_dsfield()
412 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_ttl()
/Linux-v6.1/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.c83 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_dst()
107 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_proto_dst()
154 switch (skb_protocol(skb, true)) { in flow_get_nfct_src()
167 switch (skb_protocol(skb, true)) { in flow_get_nfct_dst()
Dsch_dsmark.c210 switch (skb_protocol(skb, true)) { in dsmark_enqueue()
303 switch (skb_protocol(skb, true)) { in dsmark_dequeue()
320 __func__, ntohs(skb_protocol(skb, true))); in dsmark_dequeue()
Dem_ipset.c62 switch (skb_protocol(skb, true)) { in em_ipset_match()
Dact_connmark.c45 switch (skb_protocol(skb, true)) { in tcf_connmark_act()
Dem_ipt.c215 switch (skb_protocol(skb, true)) { in em_ipt_match()
Dact_skbmod.c51 switch (skb_protocol(skb, true)) { in tcf_skbmod_act()
Dact_ctinfo.c98 switch (skb_protocol(skb, true)) { in tcf_ctinfo_act()
Dsch_teql.c244 err = dev_hard_header(skb, dev, ntohs(skb_protocol(skb, false)), in __teql_resolve()
Dact_mpls.c84 new_lse = tcf_mpls_get_lse(NULL, p, !eth_p_mpls(skb_protocol(skb, true))); in tcf_mpls_act()
Dact_skbedit.c57 switch (skb_protocol(skb, true)) { in tcf_skbedit_act()
Dact_csum.c587 protocol = skb_protocol(skb, false); in tcf_csum_act()
Dact_ct.c719 switch (skb_protocol(skb, true)) { in tcf_ct_skb_nf_family()
857 __be16 proto = skb_protocol(skb, true); in ct_nat_execute()
Dem_meta.c198 dst->value = skb_protocol(skb, false); in META_COLLECTOR()
Dsch_cake.c595 if (skb_protocol(skb, true) != htons(ETH_P_IP)) in cake_update_flowkeys()
1564 switch (skb_protocol(skb, true)) { in cake_handle_diffserv()
Dcls_api.c1560 __be16 protocol = skb_protocol(skb, false); in __tcf_classify()
Dcls_flower.c326 skb_key.basic.n_proto = skb_protocol(skb, false); in fl_classify()
/Linux-v6.1/include/linux/
Dif_vlan.h637 static inline __be16 skb_protocol(const struct sk_buff *skb, bool skip_vlan) in skb_protocol() function
/Linux-v6.1/net/ipv4/
Dip_tunnel.c656 payload_protocol = skb_protocol(skb, true); in ip_tunnel_xmit()
/Linux-v6.1/net/ipv6/
Dip6_tunnel.c1088 payload_protocol = skb_protocol(skb, true); in ip6_tnl_xmit()
Dip6_gre.c928 payload_protocol = skb_protocol(skb, true); in ip6gre_tunnel_xmit()
/Linux-v6.1/net/core/
Dfilter.c6955 switch (skb_protocol(skb, true)) { in BPF_CALL_1()