Searched refs:rth (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | icmp6.c | 986 struct ip6_rthdr *rth; local 1028 IP6_EXTHDR_CHECK(m, 0, eoff + sizeof(*rth), 1030 rth = (struct ip6_rthdr *)(mtod(m, caddr_t) 1033 IP6_EXTHDR_GET(rth, struct ip6_rthdr *, m, 1034 eoff, sizeof(*rth)); 1035 if (rth == NULL) { 1040 rthlen = (rth->ip6r_len + 1) << 3; 1049 if (rth->ip6r_segleft && 1050 rth->ip6r_type == IPV6_RTHDR_TYPE_0) { 1072 nxt = rth [all...] |
H A D | ip6_output.c | 3421 struct ip6_rthdr *rth; local 3432 rth = (struct ip6_rthdr *)(void *)buf; 3433 rthlen = (rth->ip6r_len + 1) << 3; 3437 switch (rth->ip6r_type) { 3439 if (rth->ip6r_len == 0) /* must contain one addr */ 3441 if (rth->ip6r_len % 2) /* length must be even */ 3443 if (rth->ip6r_len / 2 != rth->ip6r_segleft) 3455 bcopy(rth, opt->ip6po_rthdr, rthlen);
|
Completed in 28 milliseconds