Searched refs:skb_mac_header_len (Results 1 – 22 of 22) sorted by relevance
| /linux/net/ipv6/netfilter/ |
| H A D | ip6t_eui64.c | 28 if (!skb_mac_header_was_set(skb) || skb_mac_header_len(skb) < ETH_HLEN) { in eui64_mt6()
|
| /linux/net/nsh/ |
| H A D | nsh.c | 88 outer_hlen = skb_mac_header_len(skb); in nsh_gso_segment()
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_queue.c | 635 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 D | nf_log_syslog.c | 84 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 D | nfnetlink_log.c | 420 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 D | nft_payload.c | 173 if (!skb_mac_header_was_set(skb) || skb_mac_header_len(skb) == 0) in nft_payload_eval()
|
| /linux/net/ipv6/ |
| H A D | tcpv6_offload.c | 161 skb = skb_segment_list(skb, features, skb_mac_header_len(skb)); in __tcp6_gso_segment_list()
|
| /linux/net/xfrm/ |
| H A D | xfrm_input.c | 403 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 D | psp_main.c | 252 u32 ethr_len = skb_mac_header_len(skb); in psp_dev_encapsulate()
|
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_bitmap_ipmac.c | 225 !skb_mac_header_was_set(skb) || skb_mac_header_len(skb) < ETH_HLEN) in bitmap_ipmac_kadt()
|
| /linux/net/ipv4/ |
| H A D | tcp_offload.c | 91 skb = skb_segment_list(skb, features, skb_mac_header_len(skb)); in __tcp4_gso_segment_list()
|
| H A D | udp_offload.c | 469 skb = skb_segment_list(skb, features, skb_mac_header_len(skb)); in __udp_gso_segment_list()
|
| H A D | tcp_input.c | 7574 mac_hdrlen = skb_mac_header_len(skb); in tcp_reqsk_record_syn()
|
| /linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| H A D | chcr_ktls.c | 1006 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 D | pppoe.c | 392 if (skb_mac_header_len(skb) < ETH_HLEN) in pppoe_rcv()
|
| /linux/net/devlink/ |
| H A D | health.c | 1310 has_mac ? skb_mac_header_len(skb) : -1); in devlink_fmsg_dump_skb()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 271 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 D | filter.c | 3420 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 D | skbuff.c | 1341 has_mac ? skb_mac_header_len(skb) : -1, in skb_dump()
|
| /linux/include/linux/ |
| H A D | skbuff.h | 3188 static inline u32 skb_mac_header_len(const struct sk_buff *skb) in skb_mac_header_len() function
|
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 5280 combined = skb_header_pointer(skb, skb_mac_header_len(skb), in bond_should_broadcast_neighbor()
|
| /linux/drivers/net/ethernet/ibm/ |
| H A D | ibmvnic.c | 2174 hdr_len[0] = skb_mac_header_len(skb); in get_hdr_lens()
|