Home
last modified time | relevance | path

Searched refs:mac_header (Results 1 – 25 of 27) 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/net/ipv6/
H A Dudp_offload.c78 if (skb->mac_header < (tnl_hlen + frag_hdr_sz)) { in udp6_ufo_fragment()
98 skb->mac_header -= frag_hdr_sz; in udp6_ufo_fragment()
H A Dsit.c695 skb->mac_header = skb->network_header; in ipip6_rcv()
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_rx.c18 skb->mac_header = HFI1_IPOIB_PSEUDO_LEN; in copy_ipoib_buf()
/linux/net/xfrm/
H A Dxfrm_output.c74 skb->mac_header = skb->network_header + in xfrm4_transport_output()
242 skb->mac_header = skb->network_header + in xfrm4_beet_encap_add()
289 skb->mac_header = skb->network_header + in xfrm4_tunnel_encap_add()
336 skb->mac_header = skb->network_header + in xfrm6_tunnel_encap_add()
375 skb->mac_header = skb->network_header + in xfrm6_beet_encap_add()
H A Dxfrm_iptfs.c2381 skb->mac_header = skb->network_header + offsetof(struct iphdr, protocol); in iptfs_encap_add_ipv4()
2428 skb->mac_header = skb->network_header + offsetof(struct ipv6hdr, nexthdr); in iptfs_encap_add_ipv6()
/linux/net/mpls/
H A Dmpls_gso.c24 u16 mac_offset = skb->mac_header; in mpls_gso_segment()
/linux/net/nsh/
H A Dnsh.c82 u16 mac_offset = skb->mac_header; in nsh_gso_segment()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dscan.h248 struct iwl_scan_probe_segment mac_header; member
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()
H A Dudp_offload.c181 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment()
/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/net/psp/
H A Dpsp_main.c263 skb->mac_header -= PSP_ENCAP_HLEN; in psp_dev_encapsulate()
/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c352 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
/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/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.c404 skb->mac_header = (typeof(skb->mac_header))~0U; in __finalize_skb_around()
1340 has_mac ? skb->mac_header : -1, in skb_dump()
1581 CHECK_SKB_FIELD(mac_header); in __copy_skb_header()
2136 skb->mac_header += off; in skb_headers_offset_update()
6324 skb->mac_header += VLAN_HLEN; in skb_reorder_vlan_header()
6428 skb->mac_header += VLAN_HLEN; in __skb_vlan_pop()
H A Dfilter.c2197 if (unlikely(skb->mac_header >= skb->network_header || skb->len == 0)) { in __bpf_redirect_common()
2437 if (unlikely(skb->mac_header >= skb->network_header)) in __bpf_redirect_neigh()
3390 skb->mac_header -= len; in bpf_skb_net_hdr_push()
3407 skb->mac_header += len; in bpf_skb_net_hdr_pop()
3639 mac_len = skb->network_header - skb->mac_header; in bpf_skb_net_grow()
/linux/drivers/net/ethernet/hisilicon/hibmcge/
H A Dhbg_txrx.c113 u32 ip_offset = buffer->skb->network_header - buffer->skb->mac_header; in hbg_init_tx_desc()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dscan.c406 params->preq.mac_header.offset = 0; in iwl_mld_scan_build_probe_req()
407 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mld_scan_build_probe_req()
/linux/drivers/net/bonding/
H A Dbond_3ad.c958 skb->network_header = skb->mac_header + ETH_HLEN; in ad_lacpdu_send()
1012 skb->network_header = skb->mac_header + ETH_HLEN; in ad_marker_send()
H A Dbond_alb.c938 skb->network_header = skb->mac_header + ETH_HLEN; in alb_send_lp_vid()
/linux/net/devlink/
H A Dhealth.c1308 devlink_fmsg_put(fmsg, "MAC", has_mac ? skb->mac_header : -1); in devlink_fmsg_dump_skb()
/linux/net/netfilter/
H A Dnf_flow_table_ip.c530 skb->mac_header -= VLAN_HLEN; in nf_flow_vlan_push()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c1746 u16 csum_start = (skb->csum_start - skb->mac_header) / 2; in ice_tx_csum()

12