Home
last modified time | relevance | path

Searched refs:ipv4_any_addr (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind05.c34 static struct sockaddr_in ipv4_any_addr; variable
52 {SOCK_DGRAM, 0, (struct sockaddr *)&ipv4_any_addr,
53 sizeof(ipv4_any_addr), "IPv4 any UDP variant 1"},
54 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv4_any_addr,
55 sizeof(ipv4_any_addr), "IPv4 any UDP variant 2"},
56 {SOCK_DGRAM, IPPROTO_UDPLITE, (struct sockaddr *)&ipv4_any_addr,
57 sizeof(ipv4_any_addr), "IPv4 any UDP-Lite"},
79 tst_init_sockaddr_inet_bin(&ipv4_any_addr, INADDR_ANY, 0); in setup()
Dbind04.c30 static struct sockaddr_in ipv4_any_addr; variable
52 {SOCK_STREAM, 0, (struct sockaddr *)&ipv4_any_addr,
53 sizeof(ipv4_any_addr), "IPv4 any TCP variant 1"},
54 {SOCK_STREAM, IPPROTO_TCP, (struct sockaddr *)&ipv4_any_addr,
55 sizeof(ipv4_any_addr), "IPv4 any TCP variant 2"},
56 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv4_any_addr,
57 sizeof(ipv4_any_addr), "IPv4 any SCTP"},
79 tst_init_sockaddr_inet_bin(&ipv4_any_addr, INADDR_ANY, 0); in setup()