Lines Matching refs:netlink_fd
144 if (sendto(hndl->netlink_fd,
156 bytes_read = recvfrom(hndl->netlink_fd,
294 int pid = -1, netlink_fd = -1, return_code = RMNETCTL_LIB_ERR;
316 netlink_fd = socket(PF_NETLINK, SOCK_RAW, RMNET_NETLINK_PROTO);
317 if (netlink_fd < MIN_VALID_SOCKET_FD) {
323 (*hndl)->netlink_fd = netlink_fd;
330 if (bind((*hndl)->netlink_fd,
333 close((*hndl)->netlink_fd);
354 close(hndl->netlink_fd);