Home
last modified time | relevance | path

Searched refs:skb_mac_header_len (Results 1 – 22 of 22) 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.c635 mac_len = skb_mac_header_len(entskb); in nfqnl_get_bridge_size()
664 mac_len = skb_mac_header_len(entskb); in nfqnl_put_bridge()
904 skb_mac_header_len(entskb) != 0) { in nfqnl_build_packet_message()
1070 __skb_push(skb, skb_mac_header_len(skb)); in nf_bridge_adjust_skb_data()
1076 __skb_pull(skb, skb_mac_header_len(skb)); in nf_bridge_adjust_segmented_data()
1772 u32 mac_header_len = skb_mac_header_len(entry->skb); in nfqa_parse_bridge()
H A Dnf_log_syslog.c84 skb_mac_header_len(skb) >= ETH_HLEN) { in dump_arp_packet()
803 if (!skb_mac_header_was_set(skb) || skb_mac_header_len(skb) < ETH_HLEN) in dump_mac_header()
819 skb_mac_header_len(skb) != 0) { in dump_mac_header()
H A Dnfnetlink_log.c420 mac_len = skb_mac_header_len(skb); in nfulnl_get_bridge_size()
448 mac_len = skb_mac_header_len(skb); in nfulnl_put_bridge()
592 skb_mac_header_len(skb) != 0) { in __build_packet_message()
H A Dnft_payload.c173 if (!skb_mac_header_was_set(skb) || skb_mac_header_len(skb) == 0) in nft_payload_eval()
/linux/net/ipv6/
H A Dtcpv6_offload.c161 skb = skb_segment_list(skb, features, skb_mac_header_len(skb)); in __tcp6_gso_segment_list()
/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.c252 u32 ethr_len = skb_mac_header_len(skb); in psp_dev_encapsulate()
/linux/net/netfilter/ipset/
H A Dip_set_bitmap_ipmac.c225 !skb_mac_header_was_set(skb) || skb_mac_header_len(skb) < ETH_HLEN) in bitmap_ipmac_kadt()
/linux/net/ipv4/
H A Dtcp_offload.c91 skb = skb_segment_list(skb, features, skb_mac_header_len(skb)); in __tcp4_gso_segment_list()
H A Dudp_offload.c469 skb = skb_segment_list(skb, features, skb_mac_header_len(skb)); in __udp_gso_segment_list()
H A Dtcp_input.c7574 mac_hdrlen = skb_mac_header_len(skb); in tcp_reqsk_record_syn()
/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/drivers/net/ppp/
H A Dpppoe.c392 if (skb_mac_header_len(skb) < ETH_HLEN) in pppoe_rcv()
/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.c271 l2len = skb_mac_header_len(skb); in fbnic_tx_offloads()
549 l2len = skb_mac_header_len(skb); in fbnic_features_check()
/linux/net/core/
H A Dfilter.c3420 u32 off = skb_mac_header_len(skb); in bpf_skb_proto_4_to_6()
3451 u32 off = skb_mac_header_len(skb); in bpf_skb_proto_6_to_4()
3866 off = skb_mac_header_len(skb); in BPF_CALL_4()
6088 ret = skb_mac_header_len(syn_skb) + in bpf_sock_ops_get_syn()
H A Dskbuff.c1341 has_mac ? skb_mac_header_len(skb) : -1, in skb_dump()
/linux/include/linux/
H A Dskbuff.h3188 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.c5280 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()