Searched refs:srcres (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 498 memcpy(&addreq.ifra_addr, srcres->ai_addr, srcres->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 676 memcpy(&in6_req.ifra_addr, srcres->ai_addr, srcres->ai_addr->sa_len); in in6_set_tunnel()
|
H A D | ifconfig.c | 1262 struct addrinfo *srcres, *dstres; in settunnel() local 1271 if ((ecode = getaddrinfo(src, NULL, NULL, &srcres)) != 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() 1285 freeaddrinfo(srcres); in settunnel()
|