Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A Dinet_ecn.h176 switch (skb_protocol(skb, true)) { in INET_ECN_set_ce()
195 switch (skb_protocol(skb, true)) { in INET_ECN_set_ect1()
276 switch (skb_protocol(skb, true)) { in IP_ECN_decapsulate()
295 switch (skb_protocol(skb, true)) { in IP6_ECN_decapsulate()
/OK3568_Linux_fs/kernel/net/sched/
H A 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()
H A Dsch_dsmark.c213 switch (skb_protocol(skb, true)) { in dsmark_enqueue()
306 switch (skb_protocol(skb, true)) { in dsmark_dequeue()
323 __func__, ntohs(skb_protocol(skb, true))); in dsmark_dequeue()
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.c46 switch (skb_protocol(skb, true)) { in tcf_connmark_act()
H A Dact_skbedit.c44 switch (skb_protocol(skb, true)) { in tcf_skbedit_act()
H A Dact_ctinfo.c99 switch (skb_protocol(skb, true)) { in tcf_ctinfo_act()
H A Dact_mpls.c85 new_lse = tcf_mpls_get_lse(NULL, p, !eth_p_mpls(skb_protocol(skb, true))); in tcf_mpls_act()
H A Dsch_teql.c244 err = dev_hard_header(skb, dev, ntohs(skb_protocol(skb, false)), in __teql_resolve()
H A Dact_ct.c633 switch (skb_protocol(skb, true)) { in tcf_ct_skb_nf_family()
770 __be16 proto = skb_protocol(skb, true); in ct_nat_execute()
H A Dact_csum.c587 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_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()
H A Dcls_flower.c322 skb_key.basic.n_proto = skb_protocol(skb, false); in fl_classify()
H A Dcls_api.c1543 __be16 protocol = skb_protocol(skb, false); in __tcf_classify()
/OK3568_Linux_fs/kernel/include/linux/
H A Dif_vlan.h632 static inline __be16 skb_protocol(const struct sk_buff *skb, bool skip_vlan) in skb_protocol() function
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c6412 switch (skb_protocol(skb, true)) { in BPF_CALL_1()