| /netbsd-src/external/mit/libuv/dist/test/ |
| H A D | test-ip-name.c | 30 struct sockaddr_in addr4; member 39 struct sockaddr_in* addr4 = &test_addr.addr4; in TEST_IMPL() local 43 ASSERT_EQ(0, uv_ip4_addr("192.168.0.1", TEST_PORT, addr4)); in TEST_IMPL() 44 ASSERT_EQ(0, uv_ip4_name(addr4, dst, INET_ADDRSTRLEN)); in TEST_IMPL()
|
| H A D | test-getnameinfo.c | 33 static struct sockaddr_in addr4; variable 56 r = uv_ip4_addr(address_ip4, port, &addr4); in TEST_IMPL() 62 (const struct sockaddr*)&addr4, in TEST_IMPL() 79 ASSERT(0 == uv_ip4_addr(address_ip4, port, &addr4)); in TEST_IMPL() 84 (const struct sockaddr*)&addr4, in TEST_IMPL()
|
| H A D | test-connect-unspecified.c | 36 struct sockaddr_in addr4; in TEST_IMPL() local 45 ASSERT(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr4) == 0); in TEST_IMPL() 48 (const struct sockaddr*) &addr4, in TEST_IMPL()
|
| H A D | test-threadpool-cancel.c | 199 struct sockaddr_in addr4; in TEST_IMPL() local 204 r = uv_ip4_addr("127.0.0.1", 80, &addr4); in TEST_IMPL() 211 r = uv_getnameinfo(loop, reqs + 0, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL() 214 r = uv_getnameinfo(loop, reqs + 1, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL() 217 r = uv_getnameinfo(loop, reqs + 2, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL() 220 r = uv_getnameinfo(loop, reqs + 3, getnameinfo_cb, (const struct sockaddr*)&addr4, 0); in TEST_IMPL()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | prsa_tok.l | 51 addr4 {octet}\.{octet}\.{octet}\.{octet} 55 addr6 (::({word6}|{addr4})?|({word6}:)+:?({word6}|{addr4})?) 84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; }
|
| H A D | prsa_par.y | 160 %type <naddr> addr4 addr6 addr 240 addr4 248 addr4:
|
| H A D | isakmp_unity.c | 296 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40); 384 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40); 404 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
|
| H A D | racoonctl.c | 1309 struct in_addr addr4; local 1311 memset(&addr4, 0, sizeof(addr4)); 1339 if (ntohs(attr->lorv) < sizeof(addr4)) { 1343 memcpy(&addr4, attr + 1, sizeof(addr4)); 1368 printf("Bound to address %s\n", inet_ntoa(addr4));
|
| H A D | isakmp_cfg.c | 392 isakmp_cfg_getaddr4(attr, &iph1->mode_cfg->addr4); 820 && (iph1->mode_cfg->addr4.s_addr != htonl(-2))) 839 iph1->mode_cfg->addr4.s_addr = 854 attr, &iph1->mode_cfg->addr4.s_addr); 908 &isakmp_cfg_config.splitnet_list->network.addr4.s_addr, 1555 RAD_FRAMED_IP_ADDRESS, iph1->mode_cfg->addr4) != 0) { 1563 RAD_LOGIN_IP_HOST, iph1->mode_cfg->addr4) != 0) { 1847 if((uint32_t)tmp.addr4.s_addr == 0) 1850 inet_ntop(AF_INET, &tmp.addr4, dest + p, IP_MAX); 1895 inet_ntop(AF_INET, &iph1->mode_cfg->addr4,
|
| H A D | isakmp_unity.h | 59 struct in_addr addr4; member
|
| H A D | isakmp_cfg.h | 150 struct in_addr addr4; /* IPv4 address */ member
|
| H A D | isakmp_xauth.c | 607 iph1->mode_cfg->addr4 = rad_cvt_addr(data); 1092 iph1->mode_cfg->addr4.s_addr = inet_addr(tmpaddr);
|
| /netbsd-src/external/bsd/unbound/dist/testdata/root_hints.tdir/ |
| H A D | root_hints.test | 22 addr4=`dig +short $rs A` 26 if test -z "$addr4" ; then 30 if grep $rs curlist | grep "$addr4" >/dev/null; then 31 echo "$rs is OK: A $addr4" 33 echo "$rs A now $addr4, it has changed!"
|
| /netbsd-src/external/mit/libuv/dist/src/win/ |
| H A D | udp.c | 811 struct sockaddr_in addr4; in uv_udp_set_membership() local 814 if (uv_ip4_addr(multicast_addr, 0, &addr4) == 0) in uv_udp_set_membership() 815 return uv__udp_set_membership4(handle, &addr4, interface_addr, membership); in uv_udp_set_membership() 869 struct sockaddr_in* addr4; in uv_udp_set_multicast_interface() local 872 addr4 = (struct sockaddr_in*) &addr_st; in uv_udp_set_multicast_interface() 882 addr4->sin_addr.s_addr = htonl(INADDR_ANY); in uv_udp_set_multicast_interface() 884 } else if (uv_ip4_addr(interface_addr, 0, addr4) == 0) { in uv_udp_set_multicast_interface() 899 (char*) &addr4->sin_addr, in uv_udp_set_multicast_interface() 900 sizeof(addr4->sin_addr)) == SOCKET_ERROR) { in uv_udp_set_multicast_interface()
|
| /netbsd-src/usr.bin/rusers/ |
| H A D | rusers.c | 82 #define addr4 addr._addr4 macro 101 if (!memcmp(&hp->addr4, in search_host() 130 memcpy(&hp->addr4, &((struct sockaddr_in *)sa)->sin_addr, in remember_host()
|
| /netbsd-src/usr.bin/rup/ |
| H A D | rup.c | 73 #define addr4 addr._addr4 macro 95 if (!memcmp(&hp->addr4, in search_host() 125 (void)memcpy(&hp->addr4, in remember_host()
|
| /netbsd-src/external/gpl3/binutils/dist/ld/emultempl/ |
| H A D | spu_ovl.S | 49 #define addr4 reserved2 macro 389 a addr4, tab4, off4 # 0,2 51 395 rotqby oldovl, map, addr4 # 1,4 55 406 stqd newmap, 0(addr4) # 1,6 60
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/emultempl/ |
| H A D | spu_ovl.S | 49 #define addr4 reserved2 macro 389 a addr4, tab4, off4 # 0,2 51 395 rotqby oldovl, map, addr4 # 1,4 55 406 stqd newmap, 0(addr4) # 1,6 60
|
| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | udp.c | 1105 struct sockaddr_in addr4; in uv_udp_set_membership() local 1108 if (uv_ip4_addr(multicast_addr, 0, &addr4) == 0) { in uv_udp_set_membership() 1112 return uv__udp_set_membership4(handle, &addr4, interface_addr, membership); in uv_udp_set_membership() 1313 struct sockaddr_in* addr4; in uv_udp_set_multicast_interface() local 1316 addr4 = (struct sockaddr_in*) &addr_st; in uv_udp_set_multicast_interface() 1326 addr4->sin_addr.s_addr = htonl(INADDR_ANY); in uv_udp_set_multicast_interface() 1328 } else if (uv_ip4_addr(interface_addr, 0, addr4) == 0) { in uv_udp_set_multicast_interface() 1340 (void*) &addr4->sin_addr, in uv_udp_set_multicast_interface() 1341 sizeof(addr4->sin_addr)) == -1) { in uv_udp_set_multicast_interface()
|
| /netbsd-src/external/bsd/unbound/dist/util/ |
| H A D | proxy_protocol.h | 111 } addr4; member
|
| /netbsd-src/external/bsd/nsd/dist/util/ |
| H A D | proxy_protocol.h | 111 } addr4; member
|
| /netbsd-src/sys/netinet/ |
| H A D | if_arp.c | 1077 sockaddr_in_init(&sin, &la->r_l3addr.addr4, 0); in in_arpinput() 1086 sockaddr_in_init(&sin, &la->r_l3addr.addr4, 0); in in_arpinput() 1341 src->addr4 = ip->ip_src; in arp_llinfo_output() 1353 struct in_addr tip = taddr->addr4, sip = zeroin_addr; in arp_llinfo_output() 1360 ia = in_get_ia_on_iface_psref(hsrc->addr4, ifp, &psref); in arp_llinfo_output() 1362 sip = hsrc->addr4; in arp_llinfo_output() 1418 sockaddr_in_init(&tsin, &taddr->addr4, 0); in arp_free() 1436 sockaddr_in_init(&sin, &ln->r_l3addr.addr4, 0); in arp_nud_hint()
|
| H A D | in.c | 2027 in_lltable_new(struct in_addr addr4, u_int flags) 2035 lle->r_l3addr.addr4 = addr4; in in_lltable_new() 2055 lle_addr.s_addr = ntohl(lle->r_l3addr.addr4.s_addr); in in_lltable_match_prefix() 2156 return (in_lltable_hash_dst(lle->r_l3addr.addr4, hsize)); in in_lltable_hash() 2168 sin->sin_addr = lle->r_l3addr.addr4; in in_lltable_fill_sa_entry() 2183 if (lle->r_l3addr.addr4.s_addr == dst.s_addr) in in_lltable_find_dst() 2313 sockaddr_in_init(&sin, &lle->r_l3addr.addr4, 0); in in_lltable_dump_entry() 2028 in_lltable_new(struct in_addr addr4,u_int flags) in_lltable_new() argument
|
| /netbsd-src/sys/dev/ic/ |
| H A D | wi_ieee.h | 101 u_int8_t addr4[6]; member
|
| /netbsd-src/sys/net/ |
| H A D | if_llatbl.h | 68 struct in_addr addr4; member
|