Home
last modified time | relevance | path

Searched refs:xsetsockopt (Results 1 – 8 of 8) sorted by relevance

/external/toybox/toys/net/
Dsntp.c102 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()
Dping.c185 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/
Dnet.c13 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()
Dlib.h358 void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len);
/external/toybox/toys/pending/
Dtftp.c71 xsetsockopt(sd, SOL_SOCKET, SO_RCVTIMEO, (void *)&to, sizeof(struct timeval));
72 xsetsockopt(sd, SOL_SOCKET, SO_REUSEADDR, (void *)&set, sizeof(set));
Dtelnet.c245 xsetsockopt(TT.sock, SOL_SOCKET, SO_KEEPALIVE, &n, sizeof(n)); in telnet_main()
Dtelnetd.c113 xsetsockopt(s, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)); in listen_socket()
Ddhcp6.c573 xsetsockopt(TT.sock1, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in dhcp6_main()