Home
last modified time | relevance | path

Searched refs:dstres (Results 1 – 3 of 3) sorted by relevance

/freebsd/sbin/ifconfig/
H A Daf_inet.c492 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 Daf_inet6.c671 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 Difconfig.c1262 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()