Searched refs:oneopt (Results 1 – 1 of 1) sorted by relevance
/external/dnsmasq/src/ |
D | dhcp.c | 33 int oneopt = 1; in dhcp_init() local 45 setsockopt(fd, SOL_IP, IP_PKTINFO, &oneopt, sizeof(oneopt)) == -1 || in dhcp_init() 47 setsockopt(fd, IPPROTO_IP, IP_RECVIF, &oneopt, sizeof(oneopt)) == -1 || in dhcp_init() 49 setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &oneopt, sizeof(oneopt)) == -1) in dhcp_init() 57 int rc = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &oneopt, sizeof(oneopt)); in dhcp_init() 59 int rc = setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &oneopt, sizeof(oneopt)); in dhcp_init()
|