Searched refs:rthdr (Results 1 – 6 of 6) sorted by relevance
236 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr) in ipv6_rearrange_rthdr() argument242 segments_left = rthdr->segments_left; in ipv6_rearrange_rthdr()245 rthdr->segments_left = 0; in ipv6_rearrange_rthdr()254 segments = rthdr->hdrlen >> 1; in ipv6_rearrange_rthdr()256 addrs = ((struct rt0_hdr *)rthdr)->addr; in ipv6_rearrange_rthdr()
345 struct ipv6_rt_hdr *rthdr = opt->srcrt; in ipv6_set_opt_hdr() local346 switch (rthdr->type) { in ipv6_set_opt_hdr()349 if (rthdr->hdrlen != 2 || rthdr->segments_left != 1) in ipv6_set_opt_hdr()
654 struct rt0_hdr *rthdr; in ipv6_rthdr_rcv() local771 rthdr = (struct rt0_hdr *) hdr; in ipv6_rthdr_rcv()772 addr = rthdr->addr; in ipv6_rthdr_rcv()
319 struct ieee80211_radiotap_header *rthdr; in ieee80211_add_rx_radiotap_header() local364 rthdr = skb_push(skb, rtap_len - tlvs_len); in ieee80211_add_rx_radiotap_header()365 memset(rthdr, 0, rtap_len - tlvs_len); in ieee80211_add_rx_radiotap_header()366 it_present = &rthdr->it_present; in ieee80211_add_rx_radiotap_header()369 rthdr->it_len = cpu_to_le16(rtap_len); in ieee80211_add_rx_radiotap_header()397 pos = (void *)&rthdr->it_optional[it_present + 1 - rthdr->it_optional]; in ieee80211_add_rx_radiotap_header()404 while ((pos - (u8 *)rthdr) & 7) in ieee80211_add_rx_radiotap_header()410 rthdr->it_present |= cpu_to_le32(BIT(IEEE80211_RADIOTAP_TSFT)); in ieee80211_add_rx_radiotap_header()434 rthdr->it_present |= cpu_to_le32(BIT(IEEE80211_RADIOTAP_RATE)); in ieee80211_add_rx_radiotap_header()470 rthdr->it_present |= in ieee80211_add_rx_radiotap_header()[all …]
2070 struct ieee80211_radiotap_header *rthdr = in ieee80211_validate_radiotap_len() local2078 if (unlikely(rthdr->it_version)) in ieee80211_validate_radiotap_len()2093 struct ieee80211_radiotap_header *rthdr = in ieee80211_parse_tx_radiotap() local2096 int ret = ieee80211_radiotap_iterator_init(&iterator, rthdr, skb->len, in ieee80211_parse_tx_radiotap()
309 struct ieee80211_radiotap_header_fixed rthdr; in wil_rx_add_radiotap_header() member335 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()