Searched refs:srcres (Results 1 - 4 of 4) sorted by relevance

/freebsd-head/sbin/ifconfig/
H A Daf_inet.c207 in_set_tunnel(int s, struct addrinfo *srcres, struct addrinfo *dstres) argument
213 memcpy(&addreq.ifra_addr, srcres->ai_addr, srcres->ai_addr->sa_len);
H A Difconfig.h118 void (*af_settunnel)(int s, struct addrinfo *srcres,
H A Daf_inet6.c464 in6_set_tunnel(int s, struct addrinfo *srcres, struct addrinfo *dstres) argument
470 memcpy(&in6_addreq.ifra_addr, srcres->ai_addr, srcres->ai_addr->sa_len);
H A Difconfig.c969 struct addrinfo *srcres, *dstres; local
978 if ((ecode = getaddrinfo(src, NULL, NULL, &srcres)) != 0)
986 if (srcres->ai_addr->sa_family != dstres->ai_addr->sa_family)
990 afp->af_settunnel(s, srcres, dstres);
992 freeaddrinfo(srcres);

Completed in 208 milliseconds