Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/nsh/
Dnsh.c86 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/
Dpbuf.h43 void *mac_header; member
/kernel/linux/linux-5.10/include/trace/events/
Dnet.h186 __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/
Dudp_offload.c76 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/
Dray_cs.h11 struct mac_header mac;
Drayctl.h67 struct mac_header { struct
572 struct mac_header mac;
579 struct mac_header mac;
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_output.c72 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/
Dipoib_rx.c21 skb->mac_header = HFI1_IPOIB_PSEUDO_LEN; in copy_ipoib_buf()
/kernel/linux/linux-5.10/net/mpls/
Dmpls_gso.c23 u16 mac_offset = skb->mac_header; in mpls_gso_segment()
/kernel/linux/linux-5.10/net/netfilter/
Dnfnetlink_queue.c333 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()
Dnfnetlink_log.c400 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/
Dnr_dev.c56 skb->mac_header = skb->network_header; in nr_rx_ip()
/kernel/linux/linux-5.10/include/linux/
Dskbuff.h908 __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()
Dif_vlan.h349 skb->mac_header -= VLAN_HLEN; in __vlan_insert_inner_tag()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h279 struct iwl_scan_probe_segment mac_header; member
292 struct iwl_scan_probe_segment mac_header; member
/kernel/linux/linux-5.10/net/ipv4/
Dgre_offload.c20 u16 mac_offset = skb->mac_header; in gre_gso_segment()
/kernel/linux/linux-5.10/drivers/net/ipvlan/
Dipvlan_core.c525 skb->mac_header = (typeof(skb->mac_header))~0U; in ipvlan_process_outbound()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_log_ipv6.c313 skb->mac_header != skb->network_header) { in dump_ipv6_mac_header()
Dnf_conntrack_reasm.c346 skb->mac_header += sizeof(struct frag_hdr); in nf_ct_frag6_reasm()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_log_ipv4.c300 skb->mac_header != skb->network_header) { in dump_ipv4_mac_header()
/kernel/linux/linux-5.10/net/ax25/
Dax25_in.c123 skb->mac_header = skb->network_header; in ax25_rx_iframe()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c96 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/
Dtls_rxtx.c88 skb->mac_header -= sizeof(struct mlx5e_tls_metadata); in mlx5e_tls_add_metadata()
/kernel/linux/linux-5.10/net/core/
Dskbuff.c234 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/
Darcnet.c678 if (skb->network_header - skb->mac_header != 2) in arcnet_header()
680 skb->network_header - skb->mac_header); in arcnet_header()

12