Lines Matching refs:ip6po_nexthop
2049 if (opt->ip6po_pktinfo || opt->ip6po_nexthop ||
2188 if (pktopt && pktopt->ip6po_nexthop) {
2189 optdata = (void *)pktopt->ip6po_nexthop;
2190 optdatalen = pktopt->ip6po_nexthop->sa_len;
2241 if (pktopt->ip6po_nexthop)
2242 free(pktopt->ip6po_nexthop, M_IP6OPT);
2243 pktopt->ip6po_nexthop = NULL;
2294 if (src->ip6po_nexthop) {
2295 dst->ip6po_nexthop = malloc(src->ip6po_nexthop->sa_len,
2297 if (dst->ip6po_nexthop == NULL)
2299 memcpy(dst->ip6po_nexthop, src->ip6po_nexthop,
2300 src->ip6po_nexthop->sa_len);
2310 if (dst->ip6po_nexthop) free(dst->ip6po_nexthop, M_IP6OPT);
3025 opt->ip6po_nexthop = malloc(*buf, M_IP6OPT, M_NOWAIT);
3026 if (opt->ip6po_nexthop == NULL)
3028 memcpy(opt->ip6po_nexthop, buf, *buf);