Searched refs:constone (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/pending/ |
D | dhcp6.c | 242 int constone = 1; in mode_raw() local 256 if (setsockopt(TT.sock, SOL_PACKET, PACKET_HOST,&constone, sizeof(int)) < 0) { in mode_raw() 541 int constone = 1; in dhcp6_main() local 576 xsetsockopt(TT.sock1, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in dhcp6_main()
|
D | dhcpd.c | 328 static int constone = 1; variable 783 setsockopt(gstate.listensock, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in open_listensock6() 784 setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_CHECKSUM, &constone, sizeof(constone)); in open_listensock6() 786 if (setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_RECVPKTINFO, &constone, in open_listensock6() 787 sizeof(constone)) == -1) { in open_listensock6() 831 setsockopt(gstate.listensock, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in open_listensock() 832 if (setsockopt(gstate.listensock, SOL_SOCKET, SO_BROADCAST, &constone, sizeof(constone)) == -1) { in open_listensock()
|