HomeSort by relevance Sort by last modified time
    Searched refs:netlink_fd (Results 1 - 8 of 8) sorted by null

  /device/google/marlin/dataservices/rmnetctl/inc/
librmnetctl_hndl.h 52 * @var netlink_fd netlink file descriptor to be used
60 int netlink_fd; member in struct:rmnetctl_hndl_s
  /device/huawei/angler/dataservices/rmnetctl/inc/
librmnetctl_hndl.h 52 * @var netlink_fd netlink file descriptor to be used
60 int netlink_fd; member in struct:rmnetctl_hndl_s
  /device/lge/bullhead/dataservices/rmnetctl/inc/
librmnetctl_hndl.h 52 * @var netlink_fd netlink file descriptor to be used
60 int netlink_fd; member in struct:rmnetctl_hndl_s
  /device/google/marlin/dataservices/rmnetctl/src/
librmnetctl.c 161 if (sendto(hndl->netlink_fd,
174 bytes_read = recvfrom(hndl->netlink_fd,
316 int netlink_fd = -1, return_code = RMNETCTL_LIB_ERR; local
339 netlink_fd = socket(PF_NETLINK, SOCK_RAW, RMNET_NETLINK_PROTO);
340 if (netlink_fd < MIN_VALID_SOCKET_FD) {
346 (*hndl)->netlink_fd = netlink_fd;
354 if (bind((*hndl)->netlink_fd,
357 close((*hndl)->netlink_fd);
378 close(hndl->netlink_fd);
    [all...]
  /device/huawei/angler/dataservices/rmnetctl/src/
librmnetctl.c 158 if (sendto(hndl->netlink_fd,
171 bytes_read = recvfrom(hndl->netlink_fd,
313 int netlink_fd = -1, return_code = RMNETCTL_LIB_ERR; local
336 netlink_fd = socket(PF_NETLINK, SOCK_RAW, RMNET_NETLINK_PROTO);
337 if (netlink_fd < MIN_VALID_SOCKET_FD) {
343 (*hndl)->netlink_fd = netlink_fd;
351 if (bind((*hndl)->netlink_fd,
354 close((*hndl)->netlink_fd);
375 close(hndl->netlink_fd);
    [all...]
  /device/lge/bullhead/dataservices/rmnetctl/src/
librmnetctl.c 159 if (sendto(hndl->netlink_fd,
172 bytes_read = recvfrom(hndl->netlink_fd,
314 int netlink_fd = -1, return_code = RMNETCTL_LIB_ERR; local
337 netlink_fd = socket(PF_NETLINK, SOCK_RAW, RMNET_NETLINK_PROTO);
338 if (netlink_fd < MIN_VALID_SOCKET_FD) {
344 (*hndl)->netlink_fd = netlink_fd;
352 if (bind((*hndl)->netlink_fd,
355 close((*hndl)->netlink_fd);
376 close(hndl->netlink_fd);
    [all...]
  /system/connectivity/wificond/net/
netlink_manager.cpp 377 bool NetlinkManager::SetupSocket(unique_fd* netlink_fd) {
383 netlink_fd->reset(
385 if (netlink_fd->get() < 0) {
391 if (setsockopt(netlink_fd->get(),
399 if (bind(netlink_fd->get(),
408 bool NetlinkManager::WatchSocket(unique_fd* netlink_fd) {
411 netlink_fd->get(),
415 LOG(ERROR) << "Failed to watch fd: " << netlink_fd->get();
netlink_manager.h 231 bool SetupSocket(android::base::unique_fd* netlink_fd);
232 bool WatchSocket(android::base::unique_fd* netlink_fd);

Completed in 126 milliseconds