Lines Matching defs:na
38 lwaddr_netaddr_fromlwresaddr(isc_netaddr_t *na, lwres_addr_t *la) {
45 isc_netaddr_fromin(na, &ina);
49 isc_netaddr_fromin6(na, &ina6);
58 isc_netaddr_t na;
61 result = lwaddr_netaddr_fromlwresaddr(&na, la);
64 isc_sockaddr_fromnetaddr(sa, &na, port);
73 lwaddr_lwresaddr_fromnetaddr(lwres_addr_t *la, isc_netaddr_t *na) {
74 if (na->family != AF_INET && na->family != AF_INET6)
77 if (na->family == AF_INET) {
80 memmove(la->address, &na->type.in, 4);
84 memmove(la->address, &na->type.in6, 16);
91 isc_netaddr_t na;
92 isc_netaddr_fromsockaddr(&na, sa);
93 return (lwaddr_lwresaddr_fromnetaddr(la, &na));