Searched refs:p_fd (Results 1 – 4 of 4) sorted by relevance
/third_party/toybox/toys/pending/ |
D | arping.c | 236 int p_fd = xsocket(AF_INET, SOCK_DGRAM, 0); in arping_main() local 238 if (setsockopt(p_fd, SOL_SOCKET, SO_BINDTODEVICE, TT.iface, in arping_main() 245 xbind(p_fd, (struct sockaddr*)&saddr, sizeof(saddr)); in arping_main() 251 xconnect(p_fd, (struct sockaddr *) &saddr, sizeof(saddr)); in arping_main() 255 xclose(p_fd); in arping_main()
|
D | traceroute.c | 612 int p_fd = xsocket(AF_INET6, SOCK_DGRAM, 0); in traceroute_main() local 613 if (toys.optflags & FLAG_i) bind_to_interface(p_fd); in traceroute_main() 616 xconnect(p_fd, (struct sockaddr *)&dest, sizeof(struct sockaddr_in6)); in traceroute_main() 617 if(getsockname(p_fd, (struct sockaddr *)&prb, &len)) in traceroute_main() 619 close(p_fd); in traceroute_main()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
D | mod.rs | 411 pub p_fd: u64,
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
D | mod.rs | 499 pub p_fd: u64,
|