Home
last modified time | relevance | path

Searched refs:skb_mac_header (Results 1 – 25 of 115) sorted by relevance

12345

/Linux-v6.6/include/net/
Dmac802154.h242 skb_mac_header(skb)) < IEEE802154_FC_LEN)) in ieee802154_get_fc_from_skb()
245 memcpy(&fc, skb_mac_header(skb), IEEE802154_FC_LEN); in ieee802154_get_fc_from_skb()
265 dst_pan = skb_mac_header(skb) + in ieee802154_skb_dst_pan()
304 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()
309 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()
316 src_pan = skb_mac_header(skb) + in ieee802154_skb_src_pan()
/Linux-v6.6/net/hsr/
Dhsr_forward.c44 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()
Dhsr_main.h231 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_get_skb_sequence_nr()
264 ethhdr = (struct ethhdr *)skb_mac_header(skb); in prp_check_lsdu_size()
/Linux-v6.6/net/netfilter/
Dxt_mac.c32 if (skb_mac_header(skb) < skb->head) in mac_mt()
34 if (skb_mac_header(skb) + ETH_HLEN > skb->data) in mac_mt()
Dnf_tables_trace.c52 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()
Dnf_flow_table_inet.c20 veth = (struct vlan_ethhdr *)skb_mac_header(skb); in nf_flow_offload_inet_hook()
/Linux-v6.6/net/ipv6/netfilter/
Dip6t_eui64.c24 if (!(skb_mac_header(skb) >= skb->head && in eui64_mt6()
25 skb_mac_header(skb) + ETH_HLEN <= skb->data) && in eui64_mt6()
/Linux-v6.6/net/netfilter/ipset/
Dip_set_hash_ipmac.c92 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()
Dip_set_hash_mac.c80 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-v6.6/net/ipv6/
Dip6_offload.c94 nhoff = skb_network_header(skb) - skb_mac_header(skb); in ipv6_gso_segment()
122 skb->network_header = skb_mac_header(skb) + nhoff - skb->head; in ipv6_gso_segment()
131 ipv6h = (struct ipv6hdr *)(skb_mac_header(skb) + nhoff); in ipv6_gso_segment()
339 memmove(skb_mac_header(skb) - hoplen, skb_mac_header(skb), in ipv6_gro_complete()
Dmip6.c149 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-v6.6/net/core/
Dgso.c59 __skb_push(skb, skb->data - skb_mac_header(skb)); in skb_mac_gso_segment()
197 unsigned int hdr_len = skb_transport_header(skb) - skb_mac_header(skb); in skb_gso_mac_seglen()
Dptp_classifier.c112 u8 *ptr = skb_mac_header(skb); in ptp_parse_header()
Dgro.c346 diffs |= compare_ether_header(skb_mac_header(p), in gro_list_prepare()
347 skb_mac_header(skb)); in gro_list_prepare()
349 diffs = memcmp(skb_mac_header(p), in gro_list_prepare()
350 skb_mac_header(skb), in gro_list_prepare()
/Linux-v6.6/include/linux/
Dif_ether.h24 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
/Linux-v6.6/drivers/net/arcnet/
Dcapmode.c67 pkt = (struct archdr *)skb_mac_header(skb); in rx()
207 ackpkt = (struct archdr *)skb_mac_header(ackskb); in ack_tx()
/Linux-v6.6/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c337 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-v6.6/net/mac802154/
Dllsec.c623 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()
842 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_decrypt_unauth()
876 data = skb_mac_header(skb) + skb->mac_len; in llsec_do_decrypt_auth()
879 sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen); in llsec_do_decrypt_auth()
/Linux-v6.6/net/bridge/netfilter/
Debt_802_3.c19 return (struct ebt_802_3_hdr *)skb_mac_header(skb); in ebt_802_3_hdr()
/Linux-v6.6/net/dsa/
Dtag_ar9331.c57 hdr = le16_to_cpu(*(__le16 *)skb_mac_header(skb)); in ar9331_tag_rcv()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mei/
Dnet.c282 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-v6.6/arch/um/os-Linux/drivers/
Dtuntap_kern.c40 return net_read(fd, skb_mac_header(skb), in tuntap_read()
Dethertap_kern.c43 len = net_recvfrom(fd, skb_mac_header(skb), in etap_read()
/Linux-v6.6/arch/um/drivers/
Ddaemon_kern.c44 return net_recvfrom(fd, skb_mac_header(skb), in daemon_read()
Dslip_kern.c49 return slip_user_read(fd, skb_mac_header(skb), skb->dev->mtu, in slip_read()

12345