Searched refs:xsetsockopt (Results 1 – 8 of 8) sorted by relevance
/external/toybox/toys/net/ |
D | sntp.c | 102 xsetsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &group, sizeof(group)); in sntp_main() 103 xsetsockopt(fd, IPPROTO_IP, IP_MULTICAST_LOOP, &t, 4); in sntp_main() 105 xsetsockopt(fd, IPPROTO_IP, IP_MULTICAST_TTL, &t, 4); in sntp_main()
|
D | ping.c | 185 xsetsockopt(TT.sock, SOL_IP, IP_RECVTTL, &len, sizeof(len)); in ping_main() 189 xsetsockopt(TT.sock, SOL_SOCKET, SO_MARK, &len, sizeof(len)); in ping_main() 195 xsetsockopt(TT.sock, IPPROTO_IP, IP_TTL, &len, 4); in ping_main() 196 else xsetsockopt(TT.sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &len, sizeof(len)); in ping_main()
|
/external/toybox/lib/ |
D | net.c | 13 void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len) in xsetsockopt() function 49 xsetsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); in xconnbind()
|
D | lib.h | 358 void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len);
|
/external/toybox/toys/pending/ |
D | tftp.c | 71 xsetsockopt(sd, SOL_SOCKET, SO_RCVTIMEO, (void *)&to, sizeof(struct timeval)); 72 xsetsockopt(sd, SOL_SOCKET, SO_REUSEADDR, (void *)&set, sizeof(set));
|
D | telnet.c | 245 xsetsockopt(TT.sock, SOL_SOCKET, SO_KEEPALIVE, &n, sizeof(n)); in telnet_main()
|
D | telnetd.c | 113 xsetsockopt(s, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)); in listen_socket()
|
D | dhcp6.c | 573 xsetsockopt(TT.sock1, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in dhcp6_main()
|