Searched refs:rthdr (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/mac80211/ |
D | status.c | 298 struct ieee80211_radiotap_header *rthdr; in ieee80211_add_tx_radiotap_header() local 303 rthdr = skb_push(skb, rtap_len); in ieee80211_add_tx_radiotap_header() 305 memset(rthdr, 0, rtap_len); in ieee80211_add_tx_radiotap_header() 306 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_tx_radiotap_header() 307 rthdr->it_present = in ieee80211_add_tx_radiotap_header() 310 pos = (unsigned char *)(rthdr + 1); in ieee80211_add_tx_radiotap_header() 334 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_RATE); in ieee80211_add_tx_radiotap_header() 361 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_MCS); in ieee80211_add_tx_radiotap_header() 377 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_VHT); in ieee80211_add_tx_radiotap_header() 380 pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2); in ieee80211_add_tx_radiotap_header() [all …]
|
D | rx.c | 282 struct ieee80211_radiotap_header *rthdr; in ieee80211_add_rx_radiotap_header() local 321 rthdr = skb_push(skb, rtap_len); in ieee80211_add_rx_radiotap_header() 322 memset(rthdr, 0, rtap_len - rtap.len - rtap.pad); in ieee80211_add_rx_radiotap_header() 323 it_present = &rthdr->it_present; in ieee80211_add_rx_radiotap_header() 326 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_rx_radiotap_header() 361 while ((pos - (u8 *)rthdr) & 7) in ieee80211_add_rx_radiotap_header() 367 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_TSFT); in ieee80211_add_rx_radiotap_header() 391 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_RATE); in ieee80211_add_rx_radiotap_header() 427 rthdr->it_present |= in ieee80211_add_rx_radiotap_header() 444 if ((pos - (u8 *)rthdr) & 1) in ieee80211_add_rx_radiotap_header() [all …]
|
D | tx.c | 2035 struct ieee80211_radiotap_header *rthdr = in ieee80211_validate_radiotap_len() local 2043 if (unlikely(rthdr->it_version)) in ieee80211_validate_radiotap_len() 2058 struct ieee80211_radiotap_header *rthdr = in ieee80211_parse_tx_radiotap() local 2061 int ret = ieee80211_radiotap_iterator_init(&iterator, rthdr, skb->len, in ieee80211_parse_tx_radiotap()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | datagram.c | 709 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); in ip6_datagram_recv_specific_ctl() local 710 put_cmsg(msg, SOL_IPV6, IPV6_2292RTHDR, (rthdr->hdrlen+1) << 3, rthdr); in ip6_datagram_recv_specific_ctl() 759 struct ipv6_rt_hdr *rthdr; in ip6_datagram_send_ctl() local 935 rthdr = (struct ipv6_rt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 937 switch (rthdr->type) { in ip6_datagram_send_ctl() 940 if (rthdr->hdrlen != 2 || in ip6_datagram_send_ctl() 941 rthdr->segments_left != 1) { in ip6_datagram_send_ctl() 952 len = ((rthdr->hdrlen + 1) << 3); in ip6_datagram_send_ctl() 960 if ((rthdr->hdrlen >> 1) != rthdr->segments_left) { in ip6_datagram_send_ctl() 966 opt->srcrt = rthdr; in ip6_datagram_send_ctl()
|
D | ah6.c | 214 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr) in ipv6_rearrange_rthdr() argument 220 segments_left = rthdr->segments_left; in ipv6_rearrange_rthdr() 223 rthdr->segments_left = 0; in ipv6_rearrange_rthdr() 232 segments = rthdr->hdrlen >> 1; in ipv6_rearrange_rthdr() 234 addrs = ((struct rt0_hdr *)rthdr)->addr; in ipv6_rearrange_rthdr()
|
D | ipv6_sockglue.c | 360 struct ipv6_rt_hdr *rthdr = opt->srcrt; in ipv6_set_opt_hdr() local 361 switch (rthdr->type) { in ipv6_set_opt_hdr() 364 if (rthdr->hdrlen != 2 || rthdr->segments_left != 1) in ipv6_set_opt_hdr()
|
D | exthdrs.c | 673 struct rt0_hdr *rthdr; in ipv6_rthdr_rcv() local 788 rthdr = (struct rt0_hdr *) hdr; in ipv6_rthdr_rcv() 789 addr = rthdr->addr; in ipv6_rthdr_rcv()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 309 struct ieee80211_radiotap_header rthdr; in wil_rx_add_radiotap_header() member 335 rtap->rthdr.it_version = PKTHDR_RADIOTAP_VERSION; in wil_rx_add_radiotap_header() 336 rtap->rthdr.it_len = cpu_to_le16(rtap_len); in wil_rx_add_radiotap_header() 337 rtap->rthdr.it_present = cpu_to_le32((1 << IEEE80211_RADIOTAP_FLAGS) | in wil_rx_add_radiotap_header()
|