Home
last modified time | relevance | path

Searched refs:ehdr (Results 1 – 6 of 6) sorted by relevance

/net/mac80211/
Drx.c2449 struct ethhdr *ehdr; in __ieee80211_data_to_8023() local
2474 ehdr = (struct ethhdr *) rx->skb->data; in __ieee80211_data_to_8023()
2475 if (ehdr->h_proto == rx->sdata->control_port_protocol) in __ieee80211_data_to_8023()
2490 struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; in ieee80211_frame_allowed() local
2497 if (unlikely(ehdr->h_proto == rx->sdata->control_port_protocol)) in ieee80211_frame_allowed()
2498 return ether_addr_equal(ehdr->h_dest, rx->sdata->vif.addr) || in ieee80211_frame_allowed()
2499 ether_addr_equal(ehdr->h_dest, pae_group_addr); in ieee80211_frame_allowed()
2523 struct ethhdr *ehdr = (void *)skb_mac_header(skb); in ieee80211_deliver_skb_to_local_stack() local
2542 !ether_addr_equal(ehdr->h_dest, sdata->vif.addr))) in ieee80211_deliver_skb_to_local_stack()
2543 ether_addr_copy(ehdr->h_dest, sdata->vif.addr); in ieee80211_deliver_skb_to_local_stack()
[all …]
Dtx.c5116 struct ethhdr *ehdr; in ieee80211_tx_control_port() local
5145 ehdr = skb_push(skb, sizeof(struct ethhdr)); in ieee80211_tx_control_port()
5146 memcpy(ehdr->h_dest, dest, ETH_ALEN); in ieee80211_tx_control_port()
5147 memcpy(ehdr->h_source, sdata->vif.addr, ETH_ALEN); in ieee80211_tx_control_port()
5148 ehdr->h_proto = proto; in ieee80211_tx_control_port()
/net/wireless/
Dutil.c500 int ieee80211_data_to_8023_exthdr_bool(struct sk_buff *skb, struct ethhdr *ehdr, in ieee80211_data_to_8023_exthdr_bool() argument
602 if (!ehdr) in ieee80211_data_to_8023_exthdr_bool()
603 ehdr = skb_push(skb, sizeof(struct ethhdr)); in ieee80211_data_to_8023_exthdr_bool()
604 memcpy(ehdr, &tmp, sizeof(tmp)); in ieee80211_data_to_8023_exthdr_bool()
610 int ieee80211_data_to_8023_exthdr(struct sk_buff *skb, struct ethhdr *ehdr, in ieee80211_data_to_8023_exthdr() argument
614 return ieee80211_data_to_8023_exthdr_bool(skb, ehdr, addr, iftype, in ieee80211_data_to_8023_exthdr()
Dnl80211.c16268 struct ethhdr *ehdr = eth_hdr(skb); in __nl80211_rx_control_port() local
16269 const u8 *addr = ehdr->h_source; in __nl80211_rx_control_port()
/net/key/
Daf_key.c519 const struct sadb_ext *ehdr = (const struct sadb_ext *) p; in parse_exthdrs() local
523 if (len < sizeof(*ehdr)) in parse_exthdrs()
526 ext_len = ehdr->sadb_ext_len; in parse_exthdrs()
528 ext_type = ehdr->sadb_ext_type; in parse_exthdrs()
/net/xfrm/
Dxfrm_policy.c3329 __be32 *ehdr; in decode_session4() local
3332 ehdr = (__be32 *)xprth; in decode_session4()
3334 fl4->fl4_ipsec_spi = ehdr[0]; in decode_session4()