Home
last modified time | relevance | path

Searched refs:addr4_recv (Results 1 – 4 of 4) sorted by relevance

/net-tools-2.7.6/
Decho-server.c378 struct sockaddr_in addr4_recv = { 0 }, maddr4 = { 0 }; in main() local
419 addr4_recv.sin_family = AF_INET; in main()
420 addr4_recv.sin_port = htons(port); in main()
426 get_address(interface, AF_INET, &addr4_recv.sin_addr); in main()
428 inet_ntop(AF_INET, &addr4_recv.sin_addr, in main()
474 bind_device(fd4, interface, &addr4_recv, sizeof(addr4_recv), AF_INET); in main()
491 bind_device(tcp4, interface, &addr4_recv, sizeof(addr4_recv), AF_INET); in main()
512 int addr4len = sizeof(addr4_recv); in main()
551 accepted4 = accept(tcp4, (struct sockaddr *)&addr4_recv, in main()
Dthroughput-client.c345 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; in main() local
401 if (IN_MULTICAST(addr4_recv.sin_addr.s_addr)) in main()
405 addr_recv = (struct sockaddr *)&addr4_recv; in main()
407 addr4_recv.sin_family = AF_INET; in main()
408 addr4_recv.sin_addr.s_addr = INADDR_ANY; in main()
409 addr4_recv.sin_port = htons(CLIENT_PORT); in main()
412 address = &addr4_recv.sin_addr; in main()
Decho-client.c398 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; in main() local
470 if (IN_MULTICAST(addr4_recv.sin_addr.s_addr)) in main()
474 addr_recv = (struct sockaddr *)&addr4_recv; in main()
476 addr4_recv.sin_family = AF_INET; in main()
477 addr4_recv.sin_addr.s_addr = INADDR_ANY; in main()
479 addr4_recv.sin_port = htons(CLIENT_PORT); in main()
482 address = &addr4_recv.sin_addr; in main()
Dcoap-client.c1569 struct sockaddr_in addr4_send = { 0 }, addr4_recv = { 0 }; local
1640 addr_recv = (struct sockaddr *)&addr4_recv;
1645 addr4_recv.sin_family = AF_INET;
1646 addr4_recv.sin_addr.s_addr = INADDR_ANY;
1647 addr4_recv.sin_port = htons(CLIENT_PORT);
1650 address = &addr4_recv.sin_addr;