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.c1055 struct addrinfo *srcres, *dstres; local
1064 if ((ecode = getaddrinfo(src, NULL, NULL, &srcres)) != 0)
1072 if (srcres->ai_addr->sa_family != dstres->ai_addr->sa_family)
1076 afp->af_settunnel(s, srcres, dstres);
1078 freeaddrinfo(srcres);

Completed in 91 milliseconds