Searched refs:sock (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/wlan/cld80211-lib/ |
D | cld80211_lib.c | 56 struct nl_sock *sock; in create_nl_socket() local 58 sock = nl_socket_alloc(); in create_nl_socket() 59 if (sock == NULL) { in create_nl_socket() 65 if (nl_connect(sock, protocol)) { in create_nl_socket() 68 nl_socket_free(sock); in create_nl_socket() 72 return sock; in create_nl_socket() 165 int cld80211_recv_msg(struct nl_sock *sock, struct nl_cb *cb) in cld80211_recv_msg() argument 167 if (!sock || !cb) { in cld80211_recv_msg() 168 ALOGE("%s: %s is NULL", getprogname(), sock?"cb":"sock"); in cld80211_recv_msg() 172 int res = nl_recvmsgs(sock, cb); in cld80211_recv_msg() [all …]
|
D | cld80211_lib.h | 44 struct nl_sock *sock; member 117 int cld80211_recv_msg(struct nl_sock *sock, struct nl_cb *cb);
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifi_hal.cpp | 70 struct nl_sock *sock); 101 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) in wifi_socket_set_local_port() argument 106 nl_socket_set_local_port(sock, ((uint32_t)getpid() & 0x3FFFFFU) | (port << 22)); in wifi_socket_set_local_port() 112 struct nl_sock *sock = nl_socket_alloc(); in wifi_create_nl_socket() local 113 if (sock == NULL) { in wifi_create_nl_socket() 118 wifi_socket_set_local_port(sock, port); in wifi_create_nl_socket() 120 if (nl_connect(sock, protocol)) { in wifi_create_nl_socket() 122 nl_socket_free(sock); in wifi_create_nl_socket() 126 return sock; in wifi_create_nl_socket() 303 struct nl_cb *cb = nl_socket_get_cb(info->cldctx->sock); in wifi_init_cld80211_sock_cb() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_hal.cpp | 90 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) in wifi_socket_set_local_port() argument 93 nl_socket_set_local_port(sock, pid + (port << 22)); in wifi_socket_set_local_port() 99 struct nl_sock *sock = nl_socket_alloc(); in wifi_create_nl_socket() local 100 if (sock == NULL) { in wifi_create_nl_socket() 105 wifi_socket_set_local_port(sock, port); in wifi_create_nl_socket() 111 if (nl_connect(sock, NETLINK_GENERIC)) { in wifi_create_nl_socket() 113 nl_socket_free(sock); in wifi_create_nl_socket() 126 return sock; in wifi_create_nl_socket()
|
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/ |
D | VtsHalTetheroffloadControlV1_0TargetTest.cpp | 251 int sock = socket(AF_INET6, SOCK_DGRAM, 0); in interfaceIsUp() local 252 if (sock == -1) return false; in interfaceIsUp() 253 int ret = ioctl(sock, SIOCGIFFLAGS, &ifr, sizeof(ifr)); in interfaceIsUp() 254 close(sock); in interfaceIsUp()
|