Searched refs:rthdr (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/net/mac80211/ |
D | status.c | 309 struct ieee80211_radiotap_header *rthdr; in ieee80211_add_tx_radiotap_header() local 314 rthdr = skb_push(skb, rtap_len); in ieee80211_add_tx_radiotap_header() 316 memset(rthdr, 0, rtap_len); in ieee80211_add_tx_radiotap_header() 317 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_tx_radiotap_header() 318 rthdr->it_present = in ieee80211_add_tx_radiotap_header() 321 pos = (unsigned char *)(rthdr + 1); in ieee80211_add_tx_radiotap_header() 345 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_RATE); in ieee80211_add_tx_radiotap_header() 372 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_MCS); in ieee80211_add_tx_radiotap_header() 388 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_VHT); in ieee80211_add_tx_radiotap_header() 391 pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2); in ieee80211_add_tx_radiotap_header() [all …]
|
D | rx.c | 296 struct ieee80211_radiotap_header *rthdr; in ieee80211_add_rx_radiotap_header() local 335 rthdr = skb_push(skb, rtap_len); in ieee80211_add_rx_radiotap_header() 336 memset(rthdr, 0, rtap_len - rtap.len - rtap.pad); in ieee80211_add_rx_radiotap_header() 337 it_present = &rthdr->it_present; in ieee80211_add_rx_radiotap_header() 340 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_rx_radiotap_header() 375 while ((pos - (u8 *)rthdr) & 7) in ieee80211_add_rx_radiotap_header() 381 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_TSFT); in ieee80211_add_rx_radiotap_header() 405 rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_RATE); in ieee80211_add_rx_radiotap_header() 439 rthdr->it_present |= in ieee80211_add_rx_radiotap_header() 456 if ((pos - (u8 *)rthdr) & 1) in ieee80211_add_rx_radiotap_header() [all …]
|
D | tx.c | 2023 struct ieee80211_radiotap_header *rthdr = in ieee80211_parse_tx_radiotap() local 2028 int ret = ieee80211_radiotap_iterator_init(&iterator, rthdr, skb->len, in ieee80211_parse_tx_radiotap()
|
/Linux-v5.4/net/ipv6/ |
D | datagram.c | 693 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); in ip6_datagram_recv_specific_ctl() local 694 put_cmsg(msg, SOL_IPV6, IPV6_2292RTHDR, (rthdr->hdrlen+1) << 3, rthdr); in ip6_datagram_recv_specific_ctl() 743 struct ipv6_rt_hdr *rthdr; in ip6_datagram_send_ctl() local 919 rthdr = (struct ipv6_rt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 921 switch (rthdr->type) { in ip6_datagram_send_ctl() 924 if (rthdr->hdrlen != 2 || in ip6_datagram_send_ctl() 925 rthdr->segments_left != 1) { in ip6_datagram_send_ctl() 936 len = ((rthdr->hdrlen + 1) << 3); in ip6_datagram_send_ctl() 944 if ((rthdr->hdrlen >> 1) != rthdr->segments_left) { in ip6_datagram_send_ctl() 950 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 | 440 struct ipv6_rt_hdr *rthdr = opt->srcrt; in do_ipv6_setsockopt() local 441 switch (rthdr->type) { in do_ipv6_setsockopt() 444 if (rthdr->hdrlen != 2 || in do_ipv6_setsockopt() 445 rthdr->segments_left != 1) in do_ipv6_setsockopt()
|
D | exthdrs.c | 484 struct rt0_hdr *rthdr; in ipv6_rthdr_rcv() local 592 rthdr = (struct rt0_hdr *) hdr; in ipv6_rthdr_rcv() 593 addr = rthdr->addr; in ipv6_rthdr_rcv()
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 321 struct ieee80211_radiotap_header rthdr; in wil_rx_add_radiotap_header() member 347 rtap->rthdr.it_version = PKTHDR_RADIOTAP_VERSION; in wil_rx_add_radiotap_header() 348 rtap->rthdr.it_len = cpu_to_le16(rtap_len); in wil_rx_add_radiotap_header() 349 rtap->rthdr.it_present = cpu_to_le32((1 << IEEE80211_RADIOTAP_FLAGS) | in wil_rx_add_radiotap_header()
|