Home
last modified time | relevance | path

Searched refs:dstopts (Results 1 – 1 of 1) sorted by relevance

/dflybsd-src/sys/netinet6/
H A Ddest6.c64 struct ip6_dest *dstopts; in dest6_input() local
69 IP6_EXTHDR_CHECK(m, off, sizeof(*dstopts), IPPROTO_DONE); in dest6_input()
70 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off); in dest6_input()
72 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, sizeof(*dstopts)); in dest6_input()
73 if (dstopts == NULL) in dest6_input()
76 dstoptlen = (dstopts->ip6d_len + 1) << 3; in dest6_input()
80 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off); in dest6_input()
82 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen); in dest6_input()
83 if (dstopts == NULL) in dest6_input()
88 opt = (u_int8_t *)dstopts + sizeof(struct ip6_dest); in dest6_input()
[all …]