Searched refs:addr4_send (Results 1 – 3 of 3) sorted by relevance
345 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; in main() local397 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()
398 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; in main() local466 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()
1569 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; local1635 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);