Home
last modified time | relevance | path

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

/net-tools-3.7.0/
Dthroughput-client.c345 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; in main() local
397 if (inet_pton(AF_INET, target, &addr4_send.sin_addr) != 1) { in main()
404 addr_send = (struct sockaddr *)&addr4_send; in main()
406 addr4_send.sin_port = htons(port); in main()
411 addr_len = sizeof(addr4_send); in main()
Decho-client.c398 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; in main() local
466 if (inet_pton(AF_INET, target, &addr4_send.sin_addr) != 1) { in main()
473 addr_send = (struct sockaddr *)&addr4_send; in main()
475 addr4_send.sin_port = htons(port); in main()
481 addr_len = sizeof(addr4_send); in main()
Dcoap-client.c1569 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; local
1635 if (inet_pton(AF_INET, target, &addr4_send.sin_addr) != 1) {
1639 addr_send = (struct sockaddr *)&addr4_send;
1642 addr4_send.sin_port = port = htons(SERVER_PORT);
1644 addr4_send.sin_port = port = htons(SERVER_SECURE_PORT);
1649 addr_len = sizeof(addr4_send);