Home
last modified time | relevance | path

Searched refs:skb_mac_header_len (Results 1 – 16 of 16) sorted by relevance

/linux/net/ipv6/netfilter/
H A Dip6t_eui64.c28 if (!skb_mac_header_was_set(skb) || skb_mac_header_len(skb) < ETH_HLEN) { in eui64_mt6()
/linux/net/nsh/
H A Dnsh.c88 outer_hlen = skb_mac_header_len(skb); in nsh_gso_segment()
/linux/net/netfilter/
H A Dnfnetlink_queue.c591 mac_len = skb_mac_header_len(entskb); in nfqnl_get_bridge_size()
620 mac_len = skb_mac_header_len(entskb); in nfqnl_put_bridge()
841 skb_mac_header_len(entskb) != 0) { in nfqnl_build_packet_message()
1007 __skb_push(skb, skb_mac_header_len(skb)); in nf_bridge_adjust_skb_data()
1013 __skb_pull(skb, skb_mac_header_len(skb)); in nf_bridge_adjust_segmented_data()
1472 u32 mac_header_len = skb_mac_header_len(entry->skb); in nfqa_parse_bridge()
H A Dnfnetlink_log.c415 mac_len = skb_mac_header_len(skb); in nfulnl_get_bridge_size()
443 mac_len = skb_mac_header_len(skb); in nfulnl_put_bridge()
572 skb_mac_header_len(skb) != 0) { in __build_packet_message()
/linux/net/sched/
H A Dact_skbmod.c41 max_edit_len = skb_mac_header_len(skb); in tcf_skbmod_act()
/linux/net/xfrm/
H A Dxfrm_input.c403 skb_mac_header_was_set(skb) ? skb_mac_header_len(skb) : 0; in xfrm4_transport_input()
422 skb_mac_header_was_set(skb) ? skb_mac_header_len(skb) : 0; in xfrm6_transport_input()
/linux/net/psp/
H A Dpsp_main.c228 u32 ethr_len = skb_mac_header_len(skb); in psp_dev_encapsulate()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c1006 maclen = skb_mac_header_len(skb); in chcr_ktls_write_tcp_options()
1610 maclen = skb_mac_header_len(skb); in chcr_ktls_tunnel_pkt()
/linux/net/devlink/
H A Dhealth.c1310 has_mac ? skb_mac_header_len(skb) : -1); in devlink_fmsg_dump_skb()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.c270 l2len = skb_mac_header_len(skb); in fbnic_tx_offloads()
525 l2len = skb_mac_header_len(skb); in fbnic_features_check()
/linux/net/core/
H A Dfilter.c3340 u32 off = skb_mac_header_len(skb); in bpf_skb_proto_4_to_6()
3371 u32 off = skb_mac_header_len(skb); in bpf_skb_proto_6_to_4()
3735 off = skb_mac_header_len(skb); in BPF_CALL_4()
5909 ret = skb_mac_header_len(syn_skb) + in bpf_sock_ops_get_syn()
H A Dskbuff.c1332 has_mac ? skb_mac_header_len(skb) : -1, in skb_dump()
/linux/include/linux/
H A Dskbuff.h3158 static inline u32 skb_mac_header_len(const struct sk_buff *skb) in skb_mac_header_len() function
/linux/drivers/net/bonding/
H A Dbond_main.c5272 combined = skb_header_pointer(skb, skb_mac_header_len(skb), in bond_should_broadcast_neighbor()
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c2174 hdr_len[0] = skb_mac_header_len(skb); in get_hdr_lens()
/linux/net/ipv4/
H A Dtcp_input.c7540 mac_hdrlen = skb_mac_header_len(skb); in tcp_reqsk_record_syn()