Searched refs:rtnl_fd (Results 1 – 3 of 3) sorted by relevance
/external/libnfnetlink/src/ |
D | rtnl.c | 130 return sendto(rtnl_handle->rtnl_fd, &req, sizeof(req), 0, in rtnl_dump_type() 150 status = recvmsg(rtnl_handle->rtnl_fd, &msg, 0); in rtnl_receive() 218 h->rtnl_fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in rtnl_open() 219 if (h->rtnl_fd < 0) { in rtnl_open() 227 if (bind(h->rtnl_fd, (struct sockaddr *) &h->rtnl_local, addrlen) < 0) { in rtnl_open() 232 if (getsockname(h->rtnl_fd, in rtnl_open() 254 close(h->rtnl_fd); in rtnl_open() 263 close(rtnl_handle->rtnl_fd); in rtnl_close()
|
D | rtnl.h | 16 int rtnl_fd; member
|
D | iftable.c | 332 return h->rtnl_handle->rtnl_fd; in nlif_fd()
|