Searched refs:dstres (Results 1 – 3 of 3) sorted by relevance
/freebsd/sbin/ifconfig/ |
H A D | af_inet.c | 492 in_set_tunnel(if_ctx *ctx, struct addrinfo *srcres, struct addrinfo *dstres) in in_set_tunnel() argument 499 memcpy(&addreq.ifra_dstaddr, dstres->ai_addr, dstres->ai_addr->sa_len); in in_set_tunnel()
|
H A D | af_inet6.c | 671 in6_set_tunnel(if_ctx *ctx, struct addrinfo *srcres, struct addrinfo *dstres) in in6_set_tunnel() argument 677 memcpy(&in6_req.ifra_dstaddr, dstres->ai_addr, in in6_set_tunnel() 678 dstres->ai_addr->sa_len); in in6_set_tunnel()
|
H A D | ifconfig.c | 1262 struct addrinfo *srcres, *dstres; in settunnel() local 1275 if ((ecode = getaddrinfo(dst, NULL, NULL, &dstres)) != 0) in settunnel() 1279 if (srcres->ai_addr->sa_family != dstres->ai_addr->sa_family) in settunnel() 1283 afp->af_settunnel(ctx, srcres, dstres); in settunnel() 1286 freeaddrinfo(dstres); in settunnel()
|