Searched defs:sock (Results 1 - 2 of 2) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dwifi_hal.cpp67 struct nl_sock *sock);
98 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) argument
103 sock->s_flags &= ~NL_OWN_PORT;
105 sock->s_flags |= NL_OWN_PORT;
108 sock->s_local.nl_pid = pid + (port << 22);
114 struct nl_sock *sock = nl_socket_alloc(); local
115 if (sock == NULL) {
120 wifi_socket_set_local_port(sock, port);
122 struct sockaddr_nl *addr_nl = &(sock->s_local);
132 if (nl_connect(sock, protoco
676 internal_pollin_handler(wifi_handle handle, struct nl_sock *sock) argument
687 internal_event_handler(wifi_handle handle, int events, struct nl_sock *sock) argument
[all...]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dwifi_hal.cpp90 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) argument
93 nl_socket_set_local_port(sock, pid + (port << 22));
99 struct nl_sock *sock = nl_socket_alloc(); local
100 if (sock == NULL) {
105 wifi_socket_set_local_port(sock, port);
111 if (nl_connect(sock, NETLINK_GENERIC)) {
113 nl_socket_free(sock);
119 if (nl_socket_set_nonblocking(sock)) {
121 nl_socket_free(sock);
126 return sock;
[all...]

Completed in 5 milliseconds