/linux-6.1.9/include/net/ |
D | mac802154.h | 246 skb_mac_header(skb)) < IEEE802154_FC_LEN)) in ieee802154_get_fc_from_skb() 249 memcpy(&fc, skb_mac_header(skb), IEEE802154_FC_LEN); in ieee802154_get_fc_from_skb() 269 dst_pan = skb_mac_header(skb) + in ieee802154_skb_dst_pan() 308 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan() 313 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan() 320 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()
|
/linux-6.1.9/net/hsr/ |
D | hsr_forward.c | 44 eth_hdr = (struct ethhdr *)skb_mac_header(skb); in is_supervision_frame() 62 hsr_V1_hdr = (struct hsrv1_ethhdr_sp *)skb_mac_header(skb); in is_supervision_frame() 73 &((struct hsrv0_ethhdr_sp *)skb_mac_header(skb))->hsr_sup; in is_supervision_frame() 141 src = skb_mac_header(skb_in); in create_stripped_skb_hsr() 142 dst = skb_mac_header(skb); in create_stripped_skb_hsr() 264 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_fill_tag() 289 (struct hsr_ethhdr *)skb_mac_header(frame->skb_hsr); in hsr_create_tagged_frame() 312 src = skb_mac_header(skb); in hsr_create_tagged_frame() 585 ethhdr = (struct ethhdr *)skb_mac_header(skb); in fill_frame_info()
|
D | hsr_main.h | 224 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_get_skb_sequence_nr() 257 ethhdr = (struct ethhdr *)skb_mac_header(skb); in prp_check_lsdu_size()
|
/linux-6.1.9/net/netfilter/ |
D | xt_mac.c | 32 if (skb_mac_header(skb) < skb->head) in mac_mt() 34 if (skb_mac_header(skb) + ETH_HLEN > skb->data) in mac_mt()
|
D | nf_tables_trace.c | 52 off = skb_mac_header(skb) - skb->data; in nf_trace_fill_ll_header() 120 off = skb_mac_header(skb) - skb->data; in nf_trace_fill_pkt_info()
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | ip6t_eui64.c | 24 if (!(skb_mac_header(skb) >= skb->head && in eui64_mt6() 25 skb_mac_header(skb) + ETH_HLEN <= skb->data) && in eui64_mt6()
|
/linux-6.1.9/net/ipv6/ |
D | ip6_offload.c | 102 memmove(skb_mac_header(skb) + hophdr_len, in ipv6_gso_segment() 103 skb_mac_header(skb), in ipv6_gso_segment() 112 nhoff = skb_network_header(skb) - skb_mac_header(skb); in ipv6_gso_segment() 140 skb->network_header = skb_mac_header(skb) + nhoff - skb->head; in ipv6_gso_segment() 149 ipv6h = (struct ipv6hdr *)(skb_mac_header(skb) + nhoff); in ipv6_gso_segment() 357 memmove(skb_mac_header(skb) - hoplen, skb_mac_header(skb), in ipv6_gro_complete()
|
D | mip6.c | 149 nexthdr = *skb_mac_header(skb); in mip6_destopt_output() 150 *skb_mac_header(skb) = IPPROTO_DSTOPTS; in mip6_destopt_output() 315 nexthdr = *skb_mac_header(skb); in mip6_rthdr_output() 316 *skb_mac_header(skb) = IPPROTO_ROUTING; in mip6_rthdr_output()
|
/linux-6.1.9/net/dsa/ |
D | tag_ksz.c | 61 addr = skb_mac_header(skb); in ksz8795_xmit() 124 addr = skb_mac_header(skb); in ksz9477_xmit() 176 addr = skb_mac_header(skb); in ksz9893_xmit()
|
D | tag_ar9331.c | 55 hdr = le16_to_cpu(*(__le16 *)skb_mac_header(skb)); in ar9331_tag_rcv()
|
/linux-6.1.9/net/netfilter/ipset/ |
D | ip_set_hash_ipmac.c | 92 if (skb_mac_header(skb) < skb->head || in hash_ipmac4_kadt() 93 (skb_mac_header(skb) + ETH_HLEN) > skb->data) in hash_ipmac4_kadt() 208 if (skb_mac_header(skb) < skb->head || in hash_ipmac6_kadt() 209 (skb_mac_header(skb) + ETH_HLEN) > skb->data) in hash_ipmac6_kadt()
|
D | ip_set_hash_mac.c | 80 if (skb_mac_header(skb) < skb->head || in hash_mac4_kadt() 81 (skb_mac_header(skb) + ETH_HLEN) > skb->data) in hash_mac4_kadt()
|
/linux-6.1.9/include/linux/ |
D | if_ether.h | 24 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
|
/linux-6.1.9/drivers/net/arcnet/ |
D | capmode.c | 67 pkt = (struct archdr *)skb_mac_header(skb); in rx() 207 ackpkt = (struct archdr *)skb_mac_header(ackskb); in ack_tx()
|
/linux-6.1.9/net/core/ |
D | gro.c | 147 __skb_push(skb, skb->data - skb_mac_header(skb)); in skb_mac_gso_segment() 378 diffs |= compare_ether_header(skb_mac_header(p), in gro_list_prepare() 379 skb_mac_header(skb)); in gro_list_prepare() 381 diffs = memcmp(skb_mac_header(p), in gro_list_prepare() 382 skb_mac_header(skb), in gro_list_prepare()
|
D | ptp_classifier.c | 112 u8 *ptr = skb_mac_header(skb); in ptp_parse_header()
|
/linux-6.1.9/net/bridge/netfilter/ |
D | ebt_802_3.c | 19 return (struct ebt_802_3_hdr *)skb_mac_header(skb); in ebt_802_3_hdr()
|
/linux-6.1.9/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_encap.c | 337 struct ethhdr *mac_hdr = (struct ethhdr *)skb_mac_header(skb); in opa_vnic_get_dlid() 366 struct ethhdr *mac_hdr = (struct ethhdr *)skb_mac_header(skb); in opa_vnic_get_sc() 389 struct ethhdr *mac_hdr = (struct ethhdr *)skb_mac_header(skb); in opa_vnic_get_vl()
|
/linux-6.1.9/net/mac802154/ |
D | llsec.c | 623 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_encrypt_unauth() 667 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_encrypt_auth() 672 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen + authlen); in llsec_do_encrypt_auth() 839 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_decrypt_unauth() 873 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_decrypt_auth() 876 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen); in llsec_do_decrypt_auth()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mei/ |
D | net.c | 282 const struct ethhdr *ethhdr = (void *)skb_mac_header(skb); in iwl_mei_rx_pass_to_csme() 350 skb_push(skb, skb->data - skb_mac_header(skb)); in iwl_mei_rx_filter()
|
/linux-6.1.9/net/ieee802154/ |
D | header_ops.c | 266 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek_addrs() 286 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek()
|
/linux-6.1.9/arch/um/os-Linux/drivers/ |
D | tuntap_kern.c | 40 return net_read(fd, skb_mac_header(skb), in tuntap_read()
|
D | ethertap_kern.c | 43 len = net_recvfrom(fd, skb_mac_header(skb), in etap_read()
|
/linux-6.1.9/arch/um/drivers/ |
D | daemon_kern.c | 44 return net_recvfrom(fd, skb_mac_header(skb), in daemon_read()
|
D | slip_kern.c | 49 return slip_user_read(fd, skb_mac_header(skb), skb->dev->mtu, in slip_read()
|