Searched refs:skb_mac_header (Results 1 - 25 of 112) sorted by relevance
12345
/linux-master/include/linux/ |
H A D | if_ether.h | 24 return (struct ethhdr *)skb_mac_header(skb);
|
/linux-master/include/net/ |
H A D | mac802154.h | 239 /* check if we can fc at skb_mac_header of sk buffer */ 242 skb_mac_header(skb)) < IEEE802154_FC_LEN)) 245 memcpy(&fc, skb_mac_header(skb), IEEE802154_FC_LEN); 265 dst_pan = skb_mac_header(skb) + 304 src_pan = skb_mac_header(skb) + 309 src_pan = skb_mac_header(skb) + 316 src_pan = skb_mac_header(skb) +
|
H A D | gso.h | 10 * For non-tunnel skb it points to skb_mac_header() and for 28 return (skb_mac_header(inner_skb) - inner_skb->head) -
|
/linux-master/net/ipv6/netfilter/ |
H A D | ip6t_eui64.c | 24 if (!(skb_mac_header(skb) >= skb->head && 25 skb_mac_header(skb) + ETH_HLEN <= skb->data) &&
|
/linux-master/net/netfilter/ |
H A D | xt_mac.c | 32 if (skb_mac_header(skb) < skb->head) 34 if (skb_mac_header(skb) + ETH_HLEN > skb->data)
|
H A D | nf_flow_table_inet.c | 20 veth = (struct vlan_ethhdr *)skb_mac_header(skb);
|
/linux-master/net/hsr/ |
H A D | hsr_forward.c | 44 eth_hdr = (struct ethhdr *)skb_mac_header(skb); 62 hsr_V1_hdr = (struct hsrv1_ethhdr_sp *)skb_mac_header(skb); 73 &((struct hsrv0_ethhdr_sp *)skb_mac_header(skb))->hsr_sup; 141 src = skb_mac_header(skb_in); 142 dst = skb_mac_header(skb); 264 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); 289 (struct hsr_ethhdr *)skb_mac_header(frame->skb_hsr); 312 src = skb_mac_header(skb); 583 ethhdr = (struct ethhdr *)skb_mac_header(skb);
|
H A D | hsr_main.h | 231 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb); 264 ethhdr = (struct ethhdr *)skb_mac_header(skb);
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_mac.c | 80 if (skb_mac_header(skb) < skb->head || 81 (skb_mac_header(skb) + ETH_HLEN) > skb->data)
|
H A D | ip_set_hash_ipmac.c | 92 if (skb_mac_header(skb) < skb->head || 93 (skb_mac_header(skb) + ETH_HLEN) > skb->data) 208 if (skb_mac_header(skb) < skb->head || 209 (skb_mac_header(skb) + ETH_HLEN) > skb->data)
|
/linux-master/net/core/ |
H A D | gso.c | 59 __skb_push(skb, skb->data - skb_mac_header(skb)); 197 unsigned int hdr_len = skb_transport_header(skb) - skb_mac_header(skb);
|
H A D | gso_test.c | 12 memcpy(skb_mac_header(skb), hdr, sizeof(hdr)); 242 KUNIT_ASSERT_PTR_EQ(test, skb_mac_header(cur), cur->data); 246 KUNIT_ASSERT_EQ(test, memcmp(skb_mac_header(cur), hdr, sizeof(hdr)), 0);
|
H A D | ptp_classifier.c | 112 u8 *ptr = skb_mac_header(skb);
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_802_3.c | 19 return (struct ebt_802_3_hdr *)skb_mac_header(skb);
|
/linux-master/arch/um/os-Linux/drivers/ |
H A D | ethertap_kern.c | 43 len = net_recvfrom(fd, skb_mac_header(skb),
|
H A D | tuntap_kern.c | 40 return net_read(fd, skb_mac_header(skb),
|
/linux-master/arch/um/drivers/ |
H A D | slip_kern.c | 49 return slip_user_read(fd, skb_mac_header(skb), skb->dev->mtu,
|
H A D | daemon_kern.c | 44 return net_recvfrom(fd, skb_mac_header(skb),
|
H A D | vde_kern.c | 44 return vde_user_read(pri->conn, skb_mac_header(skb),
|
H A D | pcap_kern.c | 36 return pcap_user_read(fd, skb_mac_header(skb),
|
H A D | slirp_kern.c | 54 return slirp_user_read(fd, skb_mac_header(skb), skb->dev->mtu,
|
/linux-master/net/dsa/ |
H A D | tag_ar9331.c | 57 hdr = le16_to_cpu(*(__le16 *)skb_mac_header(skb));
|
/linux-master/net/ipv6/ |
H A D | ip6_offload.c | 126 nhoff = skb_network_header(skb) - skb_mac_header(skb); 154 skb->network_header = skb_mac_header(skb) + nhoff - skb->head; 163 ipv6h = (struct ipv6hdr *)(skb_mac_header(skb) + nhoff); 368 memmove(skb_mac_header(skb) - hoplen, skb_mac_header(skb),
|
H A D | mip6.c | 149 nexthdr = *skb_mac_header(skb); 150 *skb_mac_header(skb) = IPPROTO_DSTOPTS; 315 nexthdr = *skb_mac_header(skb); 316 *skb_mac_header(skb) = IPPROTO_ROUTING;
|
/linux-master/drivers/net/arcnet/ |
H A D | capmode.c | 67 pkt = (struct archdr *)skb_mac_header(skb); 207 ackpkt = (struct archdr *)skb_mac_header(ackskb);
|
Completed in 381 milliseconds
12345