Searched refs:probe_fd (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/networking/ |
D | arping.c | 357 int probe_fd = xsocket(AF_INET, SOCK_DGRAM, 0); in arping_main() local 359 setsockopt_bindtodevice(probe_fd, device); in arping_main() 366 xbind(probe_fd, (struct sockaddr *) &G.probe_saddr, sizeof(G.probe_saddr)); in arping_main() 372 if (setsockopt_SOL_SOCKET_1(probe_fd, SO_DONTROUTE) != 0) in arping_main() 374 xconnect(probe_fd, (struct sockaddr *) &G.probe_saddr, sizeof(G.probe_saddr)); in arping_main() 375 bb_getsockname(probe_fd, (struct sockaddr *) &G.probe_saddr, sizeof(G.probe_saddr)); in arping_main() 380 close(probe_fd); in arping_main()
|