Home
last modified time | relevance | path

Searched refs:ipv6_addr (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind04.c31 static struct sockaddr_in6 ipv6_addr; variable
60 {SOCK_STREAM, 0, (struct sockaddr *)&ipv6_addr, sizeof(ipv6_addr),
62 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv6_addr,
63 sizeof(ipv6_addr), "IPv6 loop TCP variant 2"},
64 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv6_addr,
65 sizeof(ipv6_addr), "IPv6 loop SCTP"},
80 tst_init_sockaddr_inet6_bin(&ipv6_addr, &in6addr_loopback, 0); in setup()
Dbind05.c35 static struct sockaddr_in6 ipv6_addr; variable
60 {SOCK_DGRAM, 0, (struct sockaddr *)&ipv6_addr, sizeof(ipv6_addr),
62 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv6_addr,
63 sizeof(ipv6_addr), "IPv6 loop UDP variant 2"},
64 {SOCK_DGRAM, IPPROTO_UDPLITE, (struct sockaddr *)&ipv6_addr,
65 sizeof(ipv6_addr), "IPv6 loop UDP-Lite"},
80 tst_init_sockaddr_inet6_bin(&ipv6_addr, &in6addr_loopback, 0); in setup()
/third_party/toybox/toys/net/
Difconfig.c200 char ipv6_addr[40]; in display_ifconfig() local
203 ipv6_addr, &plen, &iscope, iface_name); in display_ifconfig()
209 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in display_ifconfig()
214 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in display_ifconfig()
217 if (inet_pton(AF_INET6, ipv6_addr, (void *)&s6.sin6_addr) > 0) { in display_ifconfig()
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c199 char ipv6_addr[40]; in display_ifconfig() local
202 ipv6_addr, &plen, &iscope, iface_name); in display_ifconfig()
208 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in display_ifconfig()
213 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in display_ifconfig()
216 if (inet_pton(AF_INET6, ipv6_addr, (void *)&s6.sin6_addr) > 0) { in display_ifconfig()
/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_crypto.c306 p = ngtcp2_cpymem(p, params->preferred_address.ipv6_addr, in ngtcp2_encode_transport_params_versioned()
307 sizeof(params->preferred_address.ipv6_addr)); in ngtcp2_encode_transport_params_versioned()
311 sizeof(params->preferred_address.ipv6_addr)); in ngtcp2_encode_transport_params_versioned()
695 memcpy(params->preferred_address.ipv6_addr, p, in ngtcp2_decode_transport_params_versioned()
696 sizeof(params->preferred_address.ipv6_addr)); in ngtcp2_decode_transport_params_versioned()
697 p += sizeof(params->preferred_address.ipv6_addr); in ngtcp2_decode_transport_params_versioned()
702 memcmp(empty_address, params->preferred_address.ipv6_addr, in ngtcp2_decode_transport_params_versioned()
703 sizeof(params->preferred_address.ipv6_addr)) != 0) { in ngtcp2_decode_transport_params_versioned()
Dngtcp2_qlog.c1009 p = write_pair_hex(p, "ip_v6", paddr->ipv6_addr, sizeof(paddr->ipv6_addr)); in ngtcp2_qlog_parameters_set_transport_params()
Dngtcp2_log.c630 addr, params->preferred_address.ipv6_addr)); in ngtcp2_log_remote_tp()
/third_party/node/src/quic/
Dtransportparams.cc161 memcpy(params_.preferred_address.ipv6_addr, in SetPreferredAddress()
163 sizeof(params_.preferred_address.ipv6_addr)); in SetPreferredAddress()
/third_party/selinux/checkpolicy/
Dpolicy_parse.y726 ibpkey_context_def : IBPKEYCON ipv6_addr number security_context_def
728 | IBPKEYCON ipv6_addr number '-' number security_context_def
757 | NODECON ipv6_addr ipv6_addr security_context_def
914 ipv6_addr : IPV6_ADDR
/third_party/toybox/toys/pending/
Ddhcpd.c226 uint8_t ipv6_addr[16]; member
366 char ipv6_addr[40] = {0,}; in get_interface() local
385 if (sscanf(toybuf, "%32s \n", ipv6_addr) == 1) in get_interface()
391 char *ptr = ipv6_addr+sizeof(ipv6_addr)-1; in get_interface()
396 if ((*(ptr--) = ipv6_addr[i])) if (!(i&3)) *(ptr--) = ':'; in get_interface()
398 dbg("ipv6 %s\n", ipv6_addr); in get_interface()
399 if(inet_pton(AF_INET6, ipv6_addr, &ip6.sin6_addr) <= 0) in get_interface()
1784 memcpy(&(*ia_addr_p).ipv6_addr, in dhcpd_main()
1791 if(memcmp((*ia_addr_p).ipv6_addr, (uint8_t[16]){0}, sizeof(uint32_t)*4)) { in dhcpd_main()
1910 if(verifyip6_in_lease((*ia_addr_p).ipv6_addr, client_duid, in dhcpd_main()
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/
Dngtcp2.h1334 uint8_t ipv6_addr[16]; member
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h86053 struct in6_addr ipv6_addr; member