OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:netlinkfd
(Results
1 - 3
of
3
) sorted by null
/external/dnsmasq/src/
netlink.c
54
if ((daemon->
netlinkfd
= socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1)
56
if (bind(daemon->
netlinkfd
, (struct sockaddr *)&addr, sizeof(addr)) == -1)
59
if (errno != EPERM || bind(daemon->
netlinkfd
, (struct sockaddr *)&addr, sizeof(addr)) == -1)
60
daemon->
netlinkfd
= -1;
64
if (daemon->
netlinkfd
== -1 ||
65
getsockname(daemon->
netlinkfd
, (struct sockaddr *)&addr, &slen) == 1)
91
while ((rc = recvmsg(daemon->
netlinkfd
, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR);
108
while ((rc = recvmsg(daemon->
netlinkfd
, &msg, 0)) == -1 && errno == EINTR);
152
while((len = sendto(daemon->
netlinkfd
, (void *)&req, sizeof(req), 0,
243
if ((flags = fcntl(daemon->
netlinkfd
, F_GETFL)) == -1 |
[
all
...]
dnsmasq.c
546
FD_SET(daemon->
netlinkfd
, &rset);
547
bump_maxfd(daemon->
netlinkfd
, &maxfd);
598
if (FD_ISSET(daemon->
netlinkfd
, &rset))
dnsmasq.h
640
int
netlinkfd
;
member in struct:daemon
Completed in 585 milliseconds