HomeSort by relevance Sort by last modified time
    Searched full:linux_netlink_socket (Results 1 - 1 of 1) sorted by null

  /external/chromium_org/third_party/libusb/src/libusb/os/
linux_netlink.c 58 static int linux_netlink_socket = -1; variable
71 flags = fcntl (linux_netlink_socket, F_GETFD);
77 fcntl (linux_netlink_socket, F_SETFD, flags | FD_CLOEXEC);
81 flags = fcntl (linux_netlink_socket, F_GETFL);
87 fcntl (linux_netlink_socket, F_SETFL, flags | O_NONBLOCK);
107 linux_netlink_socket = socket(PF_NETLINK, socktype, NETLINK_KOBJECT_UEVENT);
108 if (-1 == linux_netlink_socket && EINVAL == errno) {
109 linux_netlink_socket = socket(PF_NETLINK, SOCK_RAW, NETLINK_KOBJECT_UEVENT);
112 if (-1 == linux_netlink_socket) {
116 ret = set_fd_cloexec_nb (linux_netlink_socket);
    [all...]

Completed in 48 milliseconds