Lines Matching defs:dst

273  * header (with pri, len, nxt, hlim, src, dst).
299 struct sockaddr_in6 *dst, src_sa, dst_sa;
495 dst = (struct sockaddr_in6 *)&ro->ro_dst;
551 * dst may not have been updated.
553 *dst = dst_sa; /* XXX */
641 dst = (struct sockaddr_in6 *)opt->ip6po_nexthop;
644 dst = (struct sockaddr_in6 *)rt->rt_gateway;
670 ip6_mloopback(ifp, m, dst);
841 dst = (struct sockaddr_in6 *)&ro->ro_dst;
932 error = nd6_output(ifp, origifp, m, dst, ro->ro_rt);
1044 error = nd6_output(ifp, origifp, m, dst, ro->ro_rt);
1227 struct ifnet *ifp, struct in6_addr *dst, u_long *mtup,
1240 !IN6_ARE_ADDR_EQUAL(&sa6_dst->sin6_addr, dst))) {
1248 sa6_dst->sin6_addr = *dst;
1259 inc.inc6_faddr = *dst;
1396 * receiving ANY hbh/dst options in order to avoid
2295 dst->type = malloc(hlen, M_IP6OPT, canwait);\
2296 if (dst->type == NULL && canwait == M_NOWAIT)\
2298 bcopy(src->type, dst->type, hlen);\
2303 copypktopts(struct ip6_pktopts *dst, struct ip6_pktopts *src, int canwait)
2305 if (dst == NULL || src == NULL) {
2310 dst->ip6po_hlim = src->ip6po_hlim;
2311 dst->ip6po_tclass = src->ip6po_tclass;
2312 dst->ip6po_flags = src->ip6po_flags;
2313 dst->ip6po_minmtu = src->ip6po_minmtu;
2314 dst->ip6po_prefer_tempaddr = src->ip6po_prefer_tempaddr;
2316 dst->ip6po_pktinfo = malloc(sizeof(*dst->ip6po_pktinfo),
2318 if (dst->ip6po_pktinfo == NULL)
2320 *dst->ip6po_pktinfo = *src->ip6po_pktinfo;
2323 dst->ip6po_nexthop = malloc(src->ip6po_nexthop->sa_len,
2325 if (dst->ip6po_nexthop == NULL)
2327 bcopy(src->ip6po_nexthop, dst->ip6po_nexthop,
2337 ip6_clearpktopts(dst, -1);
2346 struct ip6_pktopts *dst;
2348 dst = malloc(sizeof(*dst), M_IP6OPT, canwait);
2349 if (dst == NULL)
2351 ip6_initpktopts(dst);
2353 if ((error = copypktopts(dst, src, canwait)) != 0) {
2354 free(dst, M_IP6OPT);
2358 return (dst);
2837 ip6_mloopback(struct ifnet *ifp, struct mbuf *m, struct sockaddr_in6 *dst)
2869 (void)if_simloop(ifp, copym, dst->sin6_family, 0);