Lines Matching refs:ip6po_nexthop
1037 dst = (struct sockaddr_in6 *)(void *)opt->ip6po_nexthop;
2616 if (opt->ip6po_pktinfo || opt->ip6po_nexthop ||
2742 if (pktopt && pktopt->ip6po_nexthop) {
2743 optdata = (void *)pktopt->ip6po_nexthop;
2744 optdatalen = pktopt->ip6po_nexthop->sa_len;
2801 if (pktopt->ip6po_nexthop)
2802 FREE(pktopt->ip6po_nexthop, M_IP6OPT);
2803 pktopt->ip6po_nexthop = NULL;
2861 if (src->ip6po_nexthop) {
2862 dst->ip6po_nexthop = _MALLOC(src->ip6po_nexthop->sa_len,
2864 if (dst->ip6po_nexthop == NULL && canwait == M_NOWAIT)
2866 bcopy(src->ip6po_nexthop, dst->ip6po_nexthop,
2867 src->ip6po_nexthop->sa_len);
3309 opt->ip6po_nexthop = _MALLOC(*buf, M_IP6OPT, M_NOWAIT);
3310 if (opt->ip6po_nexthop == NULL)
3312 bcopy(buf, opt->ip6po_nexthop, *buf);