Home
last modified time | relevance | path

Searched refs:ipv4_addr (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind04.c29 static struct sockaddr_in ipv4_addr; variable
46 {SOCK_STREAM, 0, (struct sockaddr *)&ipv4_addr, sizeof(ipv4_addr),
48 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv4_addr,
49 sizeof(ipv4_addr), "IPv4 loop TCP variant 2"},
50 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv4_addr,
51 sizeof(ipv4_addr), "IPv4 loop SCTP"},
78 tst_init_sockaddr_inet(&ipv4_addr, IPV4_ADDRESS, 0); in setup()
Dbind05.c33 static struct sockaddr_in ipv4_addr; variable
46 {SOCK_DGRAM, 0, (struct sockaddr *)&ipv4_addr, sizeof(ipv4_addr),
48 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv4_addr,
49 sizeof(ipv4_addr), "IPv4 loop UDP variant 2"},
50 {SOCK_DGRAM, IPPROTO_UDPLITE, (struct sockaddr *)&ipv4_addr,
51 sizeof(ipv4_addr), "IPv4 loop UDP-Lite"},
78 tst_init_sockaddr_inet(&ipv4_addr, IPV4_ADDRESS, 0); in setup()
/third_party/glib/gio/tests/
Dnetwork-address.c808 GInetAddress *ipv4_addr = g_inet_address_new_from_string (ipv4_address_strings[i]); in happy_eyeballs_setup() local
810 fixture->input_ipv4_results = g_list_append (fixture->input_ipv4_results, ipv4_addr); in happy_eyeballs_setup()
812 fixture->input_all_results = g_list_append (fixture->input_all_results, ipv4_addr); in happy_eyeballs_setup()