/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_post.c | 550 anodecon->addr->ip.v6.s6_addr[0] = '5'; in test_cil_post_nodecon_compare_aipv6_greaterthan_bipv6() 551 anodecon->mask->ip.v6.s6_addr[0] = '9'; in test_cil_post_nodecon_compare_aipv6_greaterthan_bipv6() 554 bnodecon->addr->ip.v6.s6_addr[0] = '3'; in test_cil_post_nodecon_compare_aipv6_greaterthan_bipv6() 555 bnodecon->mask->ip.v6.s6_addr[0] = '9'; in test_cil_post_nodecon_compare_aipv6_greaterthan_bipv6() 573 anodecon->addr->ip.v6.s6_addr[0] = '3'; in test_cil_post_nodecon_compare_aipv6_lessthan_bipv6() 574 anodecon->mask->ip.v6.s6_addr[0] = '1'; in test_cil_post_nodecon_compare_aipv6_lessthan_bipv6() 577 bnodecon->addr->ip.v6.s6_addr[0] = '5'; in test_cil_post_nodecon_compare_aipv6_lessthan_bipv6() 578 bnodecon->mask->ip.v6.s6_addr[0] = '1'; in test_cil_post_nodecon_compare_aipv6_lessthan_bipv6() 596 anodecon->addr->ip.v6.s6_addr[0] = '1'; in test_cil_post_nodecon_compare_amaskipv6_greaterthan_bmaskipv6() 597 anodecon->mask->ip.v6.s6_addr[0] = '4'; in test_cil_post_nodecon_compare_amaskipv6_greaterthan_bmaskipv6() [all …]
|
/external/libpcap/tests/ |
D | findalldevstest.c | 92 ((struct sockaddr_in6 *)(a->addr))->sin6_addr.s6_addr, in ifprint() 97 ((struct sockaddr_in6 *)(a->netmask))->sin6_addr.s6_addr, in ifprint() 102 ((struct sockaddr_in6 *)(a->broadaddr))->sin6_addr.s6_addr, in ifprint() 107 ((struct sockaddr_in6 *)(a->dstaddr))->sin6_addr.s6_addr, in ifprint()
|
/external/dhcpcd/ |
D | ipv6rs.c | 117 if (inet_pton(AF_INET6, ALLROUTERS, &allrouters.sin6_addr.s6_addr) != 1) in ipv6rs_open() 355 if (memcmp(rap->from.s6_addr, from.sin6_addr.s6_addr, in ipv6rs_handledata() 356 sizeof(rap->from.s6_addr)) == 0) in ipv6rs_handledata() 379 memcpy(rap->from.s6_addr, from.sin6_addr.s6_addr, in ipv6rs_handledata() 380 sizeof(rap->from.s6_addr)); in ipv6rs_handledata() 440 pi->nd_opt_pi_prefix.s6_addr, in ipv6rs_handledata() 467 memcpy(&addr.s6_addr, op, sizeof(addr.s6_addr)); in ipv6rs_handledata() 486 op += sizeof(addr.s6_addr); in ipv6rs_handledata()
|
/external/android-clat/ |
D | config.c | 198 arc4random_buf(&myaddr->s6_addr[8], 8); in gen_random_iid() 206 uint16_t middlebytes = (myaddr->s6_addr[11] << 8) + myaddr->s6_addr[12]; in gen_random_iid() 213 myaddr->s6_addr[11] = delta >> 8; in gen_random_iid() 214 myaddr->s6_addr[12] = delta & 0xff; in gen_random_iid()
|
D | clatd_test.cpp | 592 subnet2.s6_addr[6] = 0xff; in TEST_F() 651 uint64_t iid = * (uint64_t*) (&myaddr.s6_addr[8]); in TEST_F()
|
/external/iputils/ninfod/ |
D | ninfod_name.c | 280 nigroup->s6_addr[ 0] = 0xff; in nodeinfo_group() 281 nigroup->s6_addr[ 1] = 0x02; in nodeinfo_group() 282 nigroup->s6_addr[11] = 0x02; in nodeinfo_group() 284 memcpy(&nigroup->s6_addr[12], digest, 4); in nodeinfo_group()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 388 ntohs(*(u_int16_t *)&sin6->sin6_addr.s6_addr[2]); in grab_myaddrs() 389 sin6->sin6_addr.s6_addr[2] = 0; in grab_myaddrs() 390 sin6->sin6_addr.s6_addr[3] = 0; in grab_myaddrs() 515 ntohs(*(u_int16_t *)&sin6->sin6_addr.s6_addr[2]); in grab_myaddrs() 516 sin6->sin6_addr.s6_addr[2] = 0; in grab_myaddrs() 517 sin6->sin6_addr.s6_addr[3] = 0; in grab_myaddrs()
|
D | oakley.c | 2027 a = (caddr_t)&((struct sockaddr_in6 *)res->ai_addr)->sin6_addr.s6_addr;
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_server.c | 421 if ((addr6->s6_addr[i] & in radius_server_get_client() 422 client->mask6.s6_addr[i]) != in radius_server_get_client() 423 (client->addr6.s6_addr[i] & in radius_server_get_client() 424 client->mask6.s6_addr[i])) { in radius_server_get_client() 1609 os_memset(addr6.s6_addr, 0, 10); in radius_server_read_clients() 1610 addr6.s6_addr[10] = 0xff; in radius_server_read_clients() 1611 addr6.s6_addr[11] = 0xff; in radius_server_read_clients() 1612 os_memcpy(addr6.s6_addr + 12, (char *) &addr.s_addr, in radius_server_read_clients() 1649 os_memcpy(entry->addr6.s6_addr, addr6.s6_addr, 16); in radius_server_read_clients() 1650 os_memset(entry->mask6.s6_addr, 0xff, offset); in radius_server_read_clients() [all …]
|
/external/dnsmasq/src/ |
D | bpf.c | 109 addr->s6_addr[2] = 0; in iface_enumerate() 110 addr->s6_addr[3] = 0; in iface_enumerate()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.h | 70 u_int8_t s6_addr[16]; member
|
/external/kernel-headers/original/uapi/linux/ |
D | in6.h | 40 #define s6_addr in6_u.u6_addr8 macro
|
/external/libpcap/Win32/Include/ |
D | ip6_misc.h | 50 #define s6_addr in6_u.u6_addr8 macro
|
/external/selinux/libsepol/src/ |
D | node_record.c | 74 memcpy(addr_bytes, in_addr.s6_addr, 16); in node_parse_addr() 166 memcpy(&addr.s6_addr[0], addr_bytes, 16); in node_expand_addr()
|
/external/toybox/toys/pending/ |
D | route.c | 363 memcpy(&rt->rtmsg_gateway, sock_in6->sin6_addr.s6_addr, sizeof(struct in6_addr)); in get_next_params_inet6() 407 memcpy(&rt.rtmsg_dst, sock_in6.sin6_addr.s6_addr, sizeof(struct in6_addr)); in setroute_inet6()
|
/external/tcpdump/missing/ |
D | getnameinfo.c | 184 switch (sin6->sin6_addr.s6_addr[0]) {
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 429 sinptr6->sin6_addr.s6_addr[2] = sinptr6->sin6_addr.s6_addr[3] = 0; in get_ifi_info()
|
/external/openssh/ |
D | loginrec.c | 708 memcpy(ut->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); in construct_utmp() 790 memcpy(utx->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); in construct_utmpx()
|
/external/tcpdump/ |
D | print-bgp.c | 1069 addr.s6_addr[plenbytes - 1] &= in decode_prefix6() 1107 addr.s6_addr[plenbytes - 1] &= in decode_labeled_prefix6() 1147 addr.s6_addr[(plen + 7) / 8 - 1] &= in decode_labeled_vpn_prefix6()
|
D | print-domain.c | 517 memcpy(&a.s6_addr[pbyte], cp + 1, sizeof(a) - pbyte); in ns_rprint()
|
/external/mdnsresponder/mDNSShared/ |
D | DebugServices.c | 2878 sa6.sin6_addr.s6_addr[ 0 ] = 0xFE; in DebugServicesTest() 2879 sa6.sin6_addr.s6_addr[ 1 ] = 0x80; in DebugServicesTest() 2880 sa6.sin6_addr.s6_addr[ 15 ] = 0x01; in DebugServicesTest()
|
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 800 pfx = ((struct in6_addr *)pton)->s6_addr[0];
|
/external/ppp/pppd/ |
D | sys-linux.c | 161 memset(&sin6.s6_addr, 0, sizeof(struct in6_addr)); \
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2809 memcpy(new_ocon->u.node6.addr, &cil_nodecon->addr->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb() 2810 memcpy(new_ocon->u.node6.mask, &cil_nodecon->mask->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 5083 memcpy(&newc->u.node6.addr[0], &addr.s6_addr[0], 16); in define_ipv6_node_context() 5084 memcpy(&newc->u.node6.mask[0], &mask.s6_addr[0], 16); in define_ipv6_node_context()
|