Searched refs:rth (Results 1 - 9 of 9) sorted by relevance
/freebsd-11-stable/tools/tools/net80211/w00t/libw00t/ |
H A D | w00t.c | 190 struct ieee80211_radiotap_header* rth; local 205 rth = (struct ieee80211_radiotap_header*) 209 present = le32toh(rth->it_present); 212 rflags = ((const uint8_t *)rth)[8]; 214 rflags = ((const uint8_t *)rth)[0]; 217 *len -= rth->it_len; 223 ptr = (char*)rth + rth->it_len;
|
/freebsd-11-stable/lib/libc/net/ |
H A D | rthdr.c | 290 struct ip6_rthdr *rth = (struct ip6_rthdr *)bp; local 303 rth0 = (struct ip6_rthdr0 *)rth; 319 struct ip6_rthdr *rth = (struct ip6_rthdr *)bp; local 323 switch (rth->ip6r_type) { 325 rth0 = (struct ip6_rthdr0 *)rth;
|
/freebsd-11-stable/tools/tools/net80211/wlaninject/ |
H A D | wlaninject.c | 472 struct ieee80211_radiotap_header *rth; local 484 rth = (struct ieee80211_radiotap_header*) 486 glen -= rth->it_len; 488 wh = (struct ieee80211_frame*) ((char*)rth + rth->it_len); 491 present = le32toh(rth->it_present); 494 rflags = ((const uint8_t *)rth)[8]; 496 rflags = ((const uint8_t *)rth)[0];
|
/freebsd-11-stable/tools/tools/net80211/stumbler/ |
H A D | stumbler.c | 743 struct ieee80211_radiotap_header* rth; local 756 rth = (struct ieee80211_radiotap_header*) data; 760 ((char*)rth + rth->it_len); 761 rd -= rth->it_len; 773 body = (char*) rth + sizeof(*rth); 777 if (!(rth->it_present & (1 << i)))
|
/freebsd-11-stable/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 333 struct ip6_rthdr *rth; variable in typeref:struct:ip6_rthdr 437 if (rth == NULL) { 442 if ((rth = inet6_rth_init((void *)rtbuf, 450 if (inet6_rth_add((void *)rth, 765 if (rth) {/* XXX: there is no library to finalize the header... */ 766 rth->ip6r_len = rth->ip6r_segleft * 2; 768 (void *)rth, (rth->ip6r_len + 1) << 3)) {
|
/freebsd-11-stable/sys/netinet6/ |
H A D | icmp6.c | 917 struct ip6_rthdr *rth; local 957 IP6_EXTHDR_CHECK(m, 0, eoff + sizeof(*rth), -1); 958 rth = (struct ip6_rthdr *) 961 IP6_EXTHDR_GET(rth, struct ip6_rthdr *, m, 962 eoff, sizeof(*rth)); 963 if (rth == NULL) { 968 rthlen = (rth->ip6r_len + 1) << 3; 977 if (rth->ip6r_segleft && 978 rth->ip6r_type == IPV6_RTHDR_TYPE_0) { 1000 nxt = rth [all...] |
H A D | ip6_output.c | 2940 struct ip6_rthdr *rth; local 2951 rth = (struct ip6_rthdr *)buf; 2952 rthlen = (rth->ip6r_len + 1) << 3; 2956 switch (rth->ip6r_type) { 2958 if (rth->ip6r_len == 0) /* must contain one addr */ 2960 if (rth->ip6r_len % 2) /* length must be even */ 2962 if (rth->ip6r_len / 2 != rth->ip6r_segleft) 2974 bcopy(rth, opt->ip6po_rthdr, rthlen);
|
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | commands.c | 2860 struct ip6_rthdr *rth; 2903 if ((rth = inet6_rth_init((void *)*cpp, sizeof(buf), 2981 if (inet6_rth_add((void *)rth, &sin6->sin6_addr) == -1) 3003 rth->ip6r_len = rth->ip6r_segleft * 2; 3004 *lenp = (rth->ip6r_len + 1) << 3; 2851 struct ip6_rthdr *rth; local
|
/freebsd-11-stable/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 2299 struct ieee80211_radiotap_header *rth; local 2327 rth = (struct ieee80211_radiotap_header*) 2331 present = le32toh(rth->it_present); 2334 rflags = ((const uint8_t *)rth)[8]; 2336 rflags = ((const uint8_t *)rth)[0]; 2339 *plen -= rth->it_len; 2348 ptr = (char*)rth + rth->it_len;
|
Completed in 268 milliseconds