/openbmc/linux/include/net/ |
H A D | gso.h | 104 skb->mac_header = mac_offset; in skb_gso_error_unwind() 105 skb->network_header = skb->mac_header + mac_len; in skb_gso_error_unwind()
|
/openbmc/linux/include/trace/events/ |
H A D | net.h | 187 __field( int, mac_header ) 213 __entry->mac_header = skb_mac_header(skb) - skb->data; 225 __entry->mac_header_valid, __entry->mac_header,
|
/openbmc/linux/net/ipv6/ |
H A D | udp_offload.c | 78 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 D | ip6_offload.c | 372 skb->transport_header - skb->mac_header); in ipv6_gro_complete() 375 skb->mac_header -= hoplen; in ipv6_gro_complete()
|
H A D | reassembly.c | 288 skb->mac_header += sizeof(struct frag_hdr); in ip6_frag_reasm()
|
/openbmc/linux/drivers/net/wireless/legacy/ |
H A D | ray_cs.h | 11 struct mac_header mac;
|
H A D | rayctl.h | 67 struct mac_header { struct 572 struct mac_header mac; 579 struct mac_header mac;
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_output.c | 73 skb->mac_header = skb->network_header + in xfrm4_transport_output() 239 skb->mac_header = skb->network_header + in xfrm4_beet_encap_add() 284 skb->mac_header = skb->network_header + in xfrm4_tunnel_encap_add() 329 skb->mac_header = skb->network_header + in xfrm6_tunnel_encap_add() 368 skb->mac_header = skb->network_header + in xfrm6_beet_encap_add()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_rx.c | 18 skb->mac_header = HFI1_IPOIB_PSEUDO_LEN; in copy_ipoib_buf()
|
/openbmc/linux/net/mpls/ |
H A D | mpls_gso.c | 24 u16 mac_offset = skb->mac_header; in mpls_gso_segment()
|
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink_queue.c | 350 if (entskb->network_header > entskb->mac_header) in nfqnl_get_bridge_size() 352 entskb->mac_header)); in nfqnl_get_bridge_size() 378 if (entskb->mac_header < entskb->network_header) { in nfqnl_put_bridge() 379 int len = (int)(entskb->network_header - entskb->mac_header); in nfqnl_put_bridge() 793 __skb_push(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_skb_data() 799 __skb_pull(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_segmented_data() 1233 entry->skb->mac_header; in nfqa_parse_bridge()
|
H A D | nfnetlink_log.c | 415 if (skb->network_header > skb->mac_header) in nfulnl_get_bridge_size() 416 size += nla_total_size(skb->network_header - skb->mac_header); in nfulnl_get_bridge_size() 440 if (skb->mac_header < skb->network_header) { in nfulnl_put_bridge() 441 int len = (int)(skb->network_header - skb->mac_header); in nfulnl_put_bridge()
|
/openbmc/linux/net/netrom/ |
H A D | nr_dev.c | 56 skb->mac_header = skb->network_header; in nr_rx_ip()
|
/openbmc/linux/net/nsh/ |
H A D | nsh.c | 82 u16 mac_offset = skb->mac_header; in nsh_gso_segment()
|
/openbmc/linux/include/linux/ |
H A D | skbuff.h | 1038 __u16 mac_header; 2790 skb->inner_mac_header = skb->mac_header; in skb_reset_inner_headers() 2797 skb->mac_len = skb->network_header - skb->mac_header; in skb_reset_mac_len() 2902 return skb->mac_header != (typeof(skb->mac_header))~0U; in skb_mac_header_was_set() 2908 return skb->head + skb->mac_header; in skb_mac_header() 2919 return skb->network_header - skb->mac_header; in skb_mac_header_len() 2924 skb->mac_header = (typeof(skb->mac_header))~0U; in skb_unset_mac_header() 2929 skb->mac_header = skb->data - skb->head; in skb_reset_mac_header() 2935 skb->mac_header += offset; in skb_set_mac_header() 2940 skb->mac_header = skb->network_header; in skb_pop_mac_header()
|
H A D | if_vlan.h | 363 skb->mac_header -= VLAN_HLEN; in __vlan_insert_inner_tag()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | scan.h | 242 struct iwl_scan_probe_segment mac_header; member 256 struct iwl_scan_probe_segment mac_header; member
|
/openbmc/linux/net/ipv4/ |
H A D | gre_offload.c | 22 u16 mac_offset = skb->mac_header; in gre_gso_segment()
|
/openbmc/linux/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 547 skb->mac_header = (typeof(skb->mac_header))~0U; in ipvlan_process_outbound()
|
/openbmc/linux/net/ax25/ |
H A D | ax25_in.c | 123 skb->mac_header = skb->network_header; in ax25_rx_iframe()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | netdev.c | 93 static struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header) in get_if_handler() argument 97 struct ieee80211_hdr *h = (struct ieee80211_hdr *)mac_header; in get_if_handler()
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | arcnet.c | 673 if (skb->network_header - skb->mac_header != 2) in arcnet_header() 675 skb->network_header - skb->mac_header); in arcnet_header()
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | nf_conntrack_reasm.c | 349 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
|
/openbmc/linux/net/core/ |
H A D | skbuff.c | 358 skb->mac_header = (typeof(skb->mac_header))~0U; in __finalize_skb_around() 1190 has_mac ? skb->mac_header : -1, in skb_dump() 1396 CHECK_SKB_FIELD(mac_header); in __copy_skb_header() 1931 skb->mac_header += off; in skb_headers_offset_update() 5902 skb->mac_header += VLAN_HLEN; in skb_reorder_vlan_header() 5981 skb->mac_header += VLAN_HLEN; in __skb_vlan_pop()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | scan.c | 774 params->preq.mac_header.offset = 0; in iwl_mvm_build_scan_probe() 775 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_scan_probe() 922 p_req->mac_header = src_p_req->mac_header; in iwl_mvm_scan_set_legacy_probe_req()
|