Searched refs:netlink_fd (Results 1 – 2 of 2) sorted by relevance
161 if (sendto(hndl->netlink_fd, in rmnetctl_transact()174 bytes_read = recvfrom(hndl->netlink_fd, in rmnetctl_transact()316 int netlink_fd = -1, return_code = RMNETCTL_LIB_ERR; in rmnetctl_init() local339 netlink_fd = socket(PF_NETLINK, SOCK_RAW, RMNET_NETLINK_PROTO); in rmnetctl_init()340 if (netlink_fd < MIN_VALID_SOCKET_FD) { in rmnetctl_init()346 (*hndl)->netlink_fd = netlink_fd; in rmnetctl_init()354 if (bind((*hndl)->netlink_fd, in rmnetctl_init()357 close((*hndl)->netlink_fd); in rmnetctl_init()378 close(hndl->netlink_fd); in rmnetctl_cleanup()
60 int netlink_fd; member