Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/include/net/
H A Dmac802154.h246 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()
/OK3568_Linux_fs/kernel/net/hsr/
H A Dhsr_forward.c42 eth_hdr = (struct ethhdr *)skb_mac_header(skb); in is_supervision_frame()
56 hsr_V1_hdr = (struct hsrv1_ethhdr_sp *)skb_mac_header(skb); in is_supervision_frame()
63 &((struct hsrv0_ethhdr_sp *)skb_mac_header(skb))->hsr_sup; in is_supervision_frame()
99 src = skb_mac_header(skb_in); in create_stripped_skb_hsr()
100 dst = skb_mac_header(skb); in create_stripped_skb_hsr()
221 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_fill_tag()
245 (struct hsr_ethhdr *)skb_mac_header(frame->skb_hsr); in hsr_create_tagged_frame()
266 src = skb_mac_header(skb); in hsr_create_tagged_frame()
518 ethhdr = (struct ethhdr *)skb_mac_header(skb); in fill_frame_info()
H A Dhsr_main.h237 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); in hsr_get_skb_sequence_nr()
275 ethhdr = (struct ethhdr *)skb_mac_header(skb); in prp_check_lsdu_size()
/OK3568_Linux_fs/kernel/net/dsa/
H A Dtag_ksz.c59 addr = skb_mac_header(skb); in ksz8795_xmit()
121 addr = skb_mac_header(skb); in ksz9477_xmit()
172 addr = skb_mac_header(skb); in ksz9893_xmit()
H A Dtag_ar9331.c56 hdr = le16_to_cpu(*(__le16 *)skb_mac_header(skb)); in ar9331_tag_rcv()
/OK3568_Linux_fs/kernel/net/netfilter/
H A 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()
H A Dnf_tables_trace.c68 off = skb_mac_header(skb) - skb->data; in nf_trace_fill_ll_header()
136 off = skb_mac_header(skb) - skb->data; in nf_trace_fill_pkt_info()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A 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()
H A Dnf_log_ipv6.c314 const unsigned char *p = skb_mac_header(skb); in dump_ipv6_mac_header()
334 (struct iphdr *)skb_mac_header(skb); in dump_ipv6_mac_header()
/OK3568_Linux_fs/kernel/net/netfilter/ipset/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dmip6.c149 nexthdr = *skb_mac_header(skb); in mip6_destopt_output()
150 *skb_mac_header(skb) = IPPROTO_DSTOPTS; in mip6_destopt_output()
366 nexthdr = *skb_mac_header(skb); in mip6_rthdr_output()
367 *skb_mac_header(skb) = IPPROTO_ROUTING; in mip6_rthdr_output()
H A Dip6_offload.c89 nhoff = skb_network_header(skb) - skb_mac_header(skb); in ipv6_gso_segment()
117 skb->network_header = skb_mac_header(skb) + nhoff - skb->head; in ipv6_gso_segment()
126 ipv6h = (struct ipv6hdr *)(skb_mac_header(skb) + nhoff); in ipv6_gso_segment()
/OK3568_Linux_fs/kernel/include/linux/
H A Dif_ether.h24 return (struct ethhdr *)skb_mac_header(skb); in eth_hdr()
/OK3568_Linux_fs/kernel/drivers/net/arcnet/
H A Dcapmode.c67 pkt = (struct archdr *)skb_mac_header(skb); in rx()
207 ackpkt = (struct archdr *)skb_mac_header(ackskb); in ack_tx()
/OK3568_Linux_fs/kernel/net/mac802154/
H A 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()
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()
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/opa_vnic/
H A 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()
/OK3568_Linux_fs/kernel/net/core/
H A Dptp_classifier.c112 u8 *ptr = skb_mac_header(skb); in ptp_parse_header()
/OK3568_Linux_fs/kernel/net/ieee802154/
H A Dheader_ops.c266 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek_addrs()
286 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek()
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debt_802_3.c19 return (struct ebt_802_3_hdr *)skb_mac_header(skb); in ebt_802_3_hdr()
/OK3568_Linux_fs/kernel/drivers/scsi/qedf/
H A Dqedf_fip.c137 eth_hdr = (struct ethhdr *)skb_mac_header(skb); in qedf_fip_send()
186 eth_hdr = (struct ethhdr *)skb_mac_header(skb); in qedf_fip_recv()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_ipcomp.c189 ipch->nexthdr = *skb_mac_header(skb); in ipcomp_output()
192 *skb_mac_header(skb) = IPPROTO_COMP; in ipcomp_output()
/OK3568_Linux_fs/kernel/arch/um/os-Linux/drivers/
H A Dtuntap_kern.c40 return net_read(fd, skb_mac_header(skb), in tuntap_read()
H A Dethertap_kern.c43 len = net_recvfrom(fd, skb_mac_header(skb), in etap_read()
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Ddaemon_kern.c44 return net_recvfrom(fd, skb_mac_header(skb), in daemon_read()

12345