Home
last modified time | relevance | path

Searched refs:mac_header (Results 1 – 25 of 32) sorted by relevance

12

/linux/include/net/
H A Dgso.h104 skb->mac_header = mac_offset; in skb_gso_error_unwind()
105 skb->network_header = skb->mac_header + mac_len; in skb_gso_error_unwind()
/linux/include/trace/events/
H A Dnet.h201 __field( int, mac_header )
228 __entry->mac_header = skb_mac_header(skb) - skb->data;
235 TP_printk("dev=%s napi_id=%#x queue_mapping=%u skbaddr=%p vlan_tagged=%d vlan_proto=0x%04x vlan_tci=0x%04x protocol=0x%04x ip_summed=%d hash=0x%08x l4_hash=%d len=%u data_len=%u truesize=%u mac_header_valid=%d mac_header=%d nr_frags=%d gso_size=%d gso_type=%#x net_cookie=%llu",
241 __entry->mac_header_valid, __entry->mac_header,
/linux/net/xfrm/
H A Dxfrm_output.c72 skb->mac_header = skb->network_header + in xfrm4_transport_output()
238 skb->mac_header = skb->network_header + in xfrm4_beet_encap_add()
283 skb->mac_header = skb->network_header + in xfrm4_tunnel_encap_add()
328 skb->mac_header = skb->network_header + in xfrm6_tunnel_encap_add()
367 skb->mac_header = skb->network_header + in xfrm6_beet_encap_add()
H A Dxfrm_iptfs.c2376 skb->mac_header = skb->network_header + offsetof(struct iphdr, protocol); in iptfs_encap_add_ipv4()
2423 skb->mac_header = skb->network_header + offsetof(struct ipv6hdr, nexthdr); in iptfs_encap_add_ipv6()
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_rx.c18 skb->mac_header = HFI1_IPOIB_PSEUDO_LEN; in copy_ipoib_buf()
/linux/net/mpls/
H A Dmpls_gso.c24 u16 mac_offset = skb->mac_header; in mpls_gso_segment()
/linux/net/netfilter/
H A Dnfnetlink_queue.c
H A Dnfnetlink_log.c
H A Dnf_log_syslog.c819 skb->mac_header != skb->network_header) { in dump_mac_header()
/linux/include/linux/
H A Dskbuff.h874 * @mac_header: Link layer header
1083 __u16 mac_header;
2989 skb->inner_mac_header = skb->mac_header; in skb_reset_mac_len()
2996 return skb->mac_header != (typeof(skb->mac_header))~0U; in skb_inner_transport_header()
3005 skb->mac_len = skb->network_header - skb->mac_header;
3150 return skb->head + skb->mac_header; in skb_unset_mac_header()
3161 return skb->network_header - skb->mac_header; in skb_reset_mac_header()
3166 skb->mac_header = (typeof(skb->mac_header))~ in skb_set_mac_header()
[all...]
/linux/net/netrom/
H A Dnr_dev.c56 skb->mac_header = skb->network_header; in nr_rx_ip()
/linux/net/nsh/
H A Dnsh.c82 u16 mac_offset = skb->mac_header; in nsh_gso_segment()
/linux/net/ipv6/
H A Dip6_offload.c
H A Dreassembly.c296 skb->mac_header += sizeof(struct frag_hdr); in ip6_frag_reasm()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dscan.h242 * @mac_header: first (and common) part of the probe
248 struct iwl_scan_probe_segment mac_header; member
256 * @mac_header: first (and common) part of the probe
262 struct iwl_scan_probe_segment mac_header; member
/linux/net/ipv4/
H A Dgre_offload.c22 u16 mac_offset = skb->mac_header; in gre_gso_segment()
/linux/drivers/net/ipvlan/
H A Dipvlan_core.c558 skb->mac_header = (typeof(skb->mac_header))~0U; in ipvlan_process_outbound()
/linux/net/psp/
H A Dpsp_main.c235 skb->mac_header -= PSP_ENCAP_HLEN; in psp_dev_encapsulate()
/linux/net/ax25/
H A Dax25_in.c123 skb->mac_header = skb->network_header; in ax25_rx_iframe()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c99 static struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header) in get_if_handler() argument
103 struct ieee80211_hdr *h = (struct ieee80211_hdr *)mac_header; in get_if_handler()
/linux/drivers/net/arcnet/
H A Darcnet.c675 if (skb->network_header - skb->mac_header != 2) in arcnet_header()
677 skb->network_header - skb->mac_header); in arcnet_header()
/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c351 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dscan.c782 params->preq.mac_header.offset = 0; in iwl_mvm_build_scan_probe()
783 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_scan_probe()
932 p_req->mac_header = src_p_req->mac_header; in iwl_mvm_scan_set_legacy_probe_req()
/linux/net/core/
H A Dskbuff.c402 skb->mac_header = (typeof(skb->mac_header))~0U; in __finalize_skb_around()
1331 has_mac ? skb->mac_header : -1, in skb_dump()
1572 CHECK_SKB_FIELD(mac_header); in __copy_skb_header()
2127 skb->mac_header += off;
6283 skb->mac_header += VLAN_HLEN; in skb_scrub_packet()
6387 skb->mac_header += VLAN_HLEN; in skb_ensure_writable_head_tail()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dscan.c400 params->preq.mac_header.offset = 0; in iwl_mld_scan_build_probe_req()
401 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mld_scan_build_probe_req()

12