Home
last modified time | relevance | path

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

12

/linux-6.12.1/include/net/
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-6.12.1/include/trace/events/
Dnet.h187 __field( int, mac_header )
213 __entry->mac_header = skb_mac_header(skb) - skb->data;
225 __entry->mac_header_valid, __entry->mac_header,
/linux-6.12.1/net/ipv6/
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()
Dip6_offload.c357 skb->transport_header - skb->mac_header); in ipv6_gro_complete()
360 skb->mac_header -= hoplen; in ipv6_gro_complete()
Dreassembly.c288 skb->mac_header += sizeof(struct frag_hdr); in ip6_frag_reasm()
/linux-6.12.1/net/xfrm/
Dxfrm_output.c73 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()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dipoib_rx.c18 skb->mac_header = HFI1_IPOIB_PSEUDO_LEN; in copy_ipoib_buf()
/linux-6.12.1/net/mpls/
Dmpls_gso.c24 u16 mac_offset = skb->mac_header; in mpls_gso_segment()
/linux-6.12.1/net/netfilter/
Dnfnetlink_queue.c502 if (entskb->network_header > entskb->mac_header) in nfqnl_get_bridge_size()
504 entskb->mac_header)); in nfqnl_get_bridge_size()
530 if (entskb->mac_header < entskb->network_header) { in nfqnl_put_bridge()
531 int len = (int)(entskb->network_header - entskb->mac_header); in nfqnl_put_bridge()
953 __skb_push(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_skb_data()
959 __skb_pull(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_segmented_data()
1393 entry->skb->mac_header; in nfqa_parse_bridge()
Dnfnetlink_log.c415 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()
Dnf_log_syslog.c803 skb->mac_header != skb->network_header) { in dump_mac_header()
/linux-6.12.1/net/netrom/
Dnr_dev.c56 skb->mac_header = skb->network_header; in nr_rx_ip()
/linux-6.12.1/net/nsh/
Dnsh.c82 u16 mac_offset = skb->mac_header; in nsh_gso_segment()
/linux-6.12.1/include/linux/
Dskbuff.h1064 __u16 mac_header;
2907 skb->inner_mac_header = skb->mac_header; in skb_reset_inner_headers()
2914 skb->mac_len = skb->network_header - skb->mac_header; in skb_reset_mac_len()
3019 return skb->mac_header != (typeof(skb->mac_header))~0U; in skb_mac_header_was_set()
3025 return skb->head + skb->mac_header; in skb_mac_header()
3036 return skb->network_header - skb->mac_header; in skb_mac_header_len()
3041 skb->mac_header = (typeof(skb->mac_header))~0U; in skb_unset_mac_header()
3046 skb->mac_header = skb->data - skb->head; in skb_reset_mac_header()
3052 skb->mac_header += offset; in skb_set_mac_header()
3057 skb->mac_header = skb->network_header; in skb_pop_mac_header()
Dif_vlan.h363 skb->mac_header -= VLAN_HLEN; in __vlan_insert_inner_tag()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h248 struct iwl_scan_probe_segment mac_header; member
262 struct iwl_scan_probe_segment mac_header; member
/linux-6.12.1/net/ipv4/
Dgre_offload.c22 u16 mac_offset = skb->mac_header; in gre_gso_segment()
Dudp_offload.c26 u16 mac_offset = skb->mac_header; in __skb_udp_tunnel_segment()
/linux-6.12.1/drivers/net/ipvlan/
Dipvlan_core.c535 skb->mac_header = (typeof(skb->mac_header))~0U; in ipvlan_process_outbound()
/linux-6.12.1/net/ax25/
Dax25_in.c123 skb->mac_header = skb->network_header; in ax25_rx_iframe()
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c93 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()
/linux-6.12.1/drivers/net/arcnet/
Darcnet.c675 if (skb->network_header - skb->mac_header != 2) in arcnet_header()
677 skb->network_header - skb->mac_header); in arcnet_header()
/linux-6.12.1/net/ipv6/netfilter/
Dnf_conntrack_reasm.c348 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
/linux-6.12.1/net/core/
Dskbuff.c384 skb->mac_header = (typeof(skb->mac_header))~0U; in __finalize_skb_around()
1331 has_mac ? skb->mac_header : -1, in skb_dump()
1553 CHECK_SKB_FIELD(mac_header); in __copy_skb_header()
2104 skb->mac_header += off; in skb_headers_offset_update()
6158 skb->mac_header += VLAN_HLEN; in skb_reorder_vlan_header()
6265 skb->mac_header += VLAN_HLEN; in __skb_vlan_pop()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c781 params->preq.mac_header.offset = 0; in iwl_mvm_build_scan_probe()
782 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_scan_probe()
931 p_req->mac_header = src_p_req->mac_header; in iwl_mvm_scan_set_legacy_probe_req()

12