Home
last modified time | relevance | path

Searched refs:xsetsockopt (Results 1 - 9 of 9) sorted by relevance

/third_party/toybox/toys/net/
H A 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()
H A Dsntp.c98 xsetsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &group, sizeof(group)); in sntp_main()
/third_party/toybox/porting/liteos_a/toys/net/
H A Dping.c168 xsetsockopt(TT.sock, SOL_SOCKET, SO_MARK, &mark, sizeof(mark)); in ping_main()
175 xsetsockopt(TT.sock, IPPROTO_IP, IP_TTL, &len, 4); in ping_main()
176 else xsetsockopt(TT.sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &len, 4); in ping_main()
/third_party/toybox/lib/
H A 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()
H A Dlib.h361 void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len);
/third_party/toybox/toys/pending/
H A Dtftp.c71 xsetsockopt(sd, SOL_SOCKET, SO_RCVTIMEO, (void *)&to, sizeof(struct timeval)); in init_tftp()
72 xsetsockopt(sd, SOL_SOCKET, SO_REUSEADDR, (void *)&set, sizeof(set)); in init_tftp()
H A Dtelnetd.c113 xsetsockopt(s, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)); in listen_socket()
H A Ddhcp6.c573 xsetsockopt(TT.sock1, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in dhcp6_main()
/third_party/toybox/porting/liteos_a/lib/
H A Dlib.h352 void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len);

Completed in 6 milliseconds