/kernel/linux/linux-5.10/net/nsh/ |
D | nsh.c | 86 nhoff = skb->network_header - skb->mac_header; in nsh_gso_segment() 120 skb->network_header = skb->mac_header + mac_len; in nsh_gso_segment()
|
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/ |
D | pbuf.h | 43 void *mac_header; member
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | net.h | 186 __field( int, mac_header ) 212 __entry->mac_header = skb_mac_header(skb) - skb->data; 224 __entry->mac_header_valid, __entry->mac_header,
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | udp_offload.c | 76 if (skb->mac_header < (tnl_hlen + frag_hdr_sz)) { in udp6_ufo_fragment() 96 skb->mac_header -= frag_hdr_sz; in udp6_ufo_fragment()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | ray_cs.h | 11 struct mac_header mac;
|
D | rayctl.h | 67 struct mac_header { struct 572 struct mac_header mac; 579 struct mac_header mac;
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_output.c | 72 skb->mac_header = skb->network_header + in xfrm4_transport_output() 163 skb->mac_header = skb->network_header + in xfrm4_beet_encap_add() 207 skb->mac_header = skb->network_header + in xfrm4_tunnel_encap_add() 252 skb->mac_header = skb->network_header + in xfrm6_tunnel_encap_add() 291 skb->mac_header = skb->network_header + in xfrm6_beet_encap_add()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ipoib_rx.c | 21 skb->mac_header = HFI1_IPOIB_PSEUDO_LEN; in copy_ipoib_buf()
|
/kernel/linux/linux-5.10/net/mpls/ |
D | mpls_gso.c | 23 u16 mac_offset = skb->mac_header; in mpls_gso_segment()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink_queue.c | 333 if (entskb->network_header > entskb->mac_header) in nfqnl_get_bridge_size() 335 entskb->mac_header)); in nfqnl_get_bridge_size() 361 if (entskb->mac_header < entskb->network_header) { in nfqnl_put_bridge() 362 int len = (int)(entskb->network_header - entskb->mac_header); in nfqnl_put_bridge() 730 __skb_push(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_skb_data() 736 __skb_pull(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_segmented_data() 1154 entry->skb->mac_header; in nfqa_parse_bridge()
|
D | nfnetlink_log.c | 400 if (skb->network_header > skb->mac_header) in nfulnl_get_bridge_size() 401 size += nla_total_size(skb->network_header - skb->mac_header); in nfulnl_get_bridge_size() 425 if (skb->mac_header < skb->network_header) { in nfulnl_put_bridge() 426 int len = (int)(skb->network_header - skb->mac_header); in nfulnl_put_bridge()
|
/kernel/linux/linux-5.10/net/netrom/ |
D | nr_dev.c | 56 skb->mac_header = skb->network_header; in nr_rx_ip()
|
/kernel/linux/linux-5.10/include/linux/ |
D | skbuff.h | 908 __u16 mac_header; member 2442 skb->inner_mac_header = skb->mac_header; in skb_reset_inner_headers() 2449 skb->mac_len = skb->network_header - skb->mac_header; in skb_reset_mac_len() 2548 return skb->head + skb->mac_header; in skb_mac_header() 2558 return skb->network_header - skb->mac_header; in skb_mac_header_len() 2563 return skb->mac_header != (typeof(skb->mac_header))~0U; in skb_mac_header_was_set() 2568 skb->mac_header = (typeof(skb->mac_header))~0U; in skb_unset_mac_header() 2573 skb->mac_header = skb->data - skb->head; in skb_reset_mac_header() 2579 skb->mac_header += offset; in skb_set_mac_header() 2584 skb->mac_header = skb->network_header; in skb_pop_mac_header()
|
D | if_vlan.h | 349 skb->mac_header -= VLAN_HLEN; in __vlan_insert_inner_tag()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | scan.h | 279 struct iwl_scan_probe_segment mac_header; member 292 struct iwl_scan_probe_segment mac_header; member
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | gre_offload.c | 20 u16 mac_offset = skb->mac_header; in gre_gso_segment()
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
D | ipvlan_core.c | 525 skb->mac_header = (typeof(skb->mac_header))~0U; in ipvlan_process_outbound()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | nf_log_ipv6.c | 313 skb->mac_header != skb->network_header) { in dump_ipv6_mac_header()
|
D | nf_conntrack_reasm.c | 346 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 300 skb->mac_header != skb->network_header) { in dump_ipv4_mac_header()
|
/kernel/linux/linux-5.10/net/ax25/ |
D | ax25_in.c | 123 skb->mac_header = skb->network_header; in ax25_rx_iframe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | netdev.c | 96 static struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header) in get_if_handler() argument 100 struct ieee80211_hdr *h = (struct ieee80211_hdr *)mac_header; in get_if_handler()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | tls_rxtx.c | 88 skb->mac_header -= sizeof(struct mlx5e_tls_metadata); in mlx5e_tls_add_metadata()
|
/kernel/linux/linux-5.10/net/core/ |
D | skbuff.c | 234 skb->mac_header = (typeof(skb->mac_header))~0U; in __alloc_skb() 280 skb->mac_header = (typeof(skb->mac_header))~0U; in __build_skb_around() 759 has_mac ? skb->mac_header : -1, in skb_dump() 965 CHECK_SKB_FIELD(mac_header); in __copy_skb_header() 1477 skb->mac_header += off; in skb_headers_offset_update() 5459 skb->mac_header += VLAN_HLEN; in skb_reorder_vlan_header() 5543 skb->mac_header += VLAN_HLEN; in __skb_vlan_pop()
|
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
D | arcnet.c | 678 if (skb->network_header - skb->mac_header != 2) in arcnet_header() 680 skb->network_header - skb->mac_header); in arcnet_header()
|