Lines Matching defs:addr
200 static int str2ipaddr(char *s, uint32_t *addr, uint32_t type);
325 uint_t addr[4];
437 if (str2ipaddr(*argv, addr, type))
2833 uint32_t *addr;
2855 addr = &tidp->at_addr[0];
2856 phe = getipnodebyaddr((const void *)addr, 16, AF_INET6, &err);
2860 (void) inet_ntop(AF_INET6, (void *)addr, buf, sizeof (buf));
2878 str2ipaddr(char *s, uint32_t *addr, uint32_t type)
2884 bzero(addr, 16);
2887 if (inet_pton(AF_INET, s, addr)) {
2892 if (inet_pton(AF_INET6, s, addr))
2899 (void) sscanf(s, "%x", &addr[0]);
2907 addr[j] = v;
2912 addr[j] = v;