Lines Matching defs:nd_opt_rh
2646 struct nd_opt_rd_hdr *nd_opt_rh;
2655 if (len < sizeof(*nd_opt_rh)) {
2670 if (len - sizeof(*nd_opt_rh) < m0->m_pkthdr.len) {
2672 m_adj(m0, (len - sizeof(*nd_opt_rh)) -
2686 len = m0->m_pkthdr.len + sizeof(*nd_opt_rh);
2689 nd_opt_rh = (struct nd_opt_rd_hdr *)p;
2690 memset(nd_opt_rh, 0, sizeof(*nd_opt_rh));
2691 nd_opt_rh->nd_opt_rh_type = ND_OPT_REDIRECTED_HEADER;
2692 nd_opt_rh->nd_opt_rh_len = len >> 3;
2693 p += sizeof(*nd_opt_rh);