Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 25) sorted by relevance

/hardware/interfaces/wifi/netlinkinterceptor/libnlinterceptor/
Dlibnlinterceptor.cpp36 ::aidl::android::hardware::net::nlinterceptor::InterceptedSocket sock) in InterceptedSocket()
42 std::ostream& operator<<(std::ostream& os, const InterceptedSocket& sock) { in operator <<()
122 void closeSocket(const InterceptedSocket& sock) { in closeSocket()
129 bool subscribe(const InterceptedSocket& sock, uint32_t group) { in subscribe()
134 bool unsubscribe(const InterceptedSocket& sock, uint32_t group) { in unsubscribe()
153 extern "C" void android_nlinterceptor_closeSocket(android_nlinterceptor_InterceptedSocket sock) { in android_nlinterceptor_closeSocket()
157 extern "C" bool android_nlinterceptor_subscribe(android_nlinterceptor_InterceptedSocket sock, in android_nlinterceptor_subscribe()
162 extern "C" bool android_nlinterceptor_unsubscribe(android_nlinterceptor_InterceptedSocket sock, in android_nlinterceptor_unsubscribe()
/hardware/interfaces/wifi/netlinkinterceptor/aidl/default/
DNetlinkInterceptor.cpp71 InterceptedSocket sock(interceptedSocket); in closeSocket() local
85 InterceptedSocket sock(interceptedSocket); in subscribeGroup() local
105 InterceptedSocket sock(interceptedSocket); in unsubscribeGroup() local
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/
Dcan.cpp45 base::unique_fd sock(::socket(PF_CAN, SOCK_RAW, CAN_RAW)); in socket() local
92 nl::Socket sock(NETLINK_ROUTE); in setBitrate() local
Dvlan.cpp51 nl::Socket sock(NETLINK_ROUTE); in add() local
Dlibnetdevice.cpp68 nl::Socket sock(NETLINK_ROUTE); in add() local
76 nl::Socket sock(NETLINK_ROUTE); in del() local
170 nl::Socket sock(NETLINK_ROUTE, 0, RTMGRP_LINK | RTMGRP_IPV4_IFADDR); in waitFor() local
Difreqs.cpp52 base::unique_fd sock(socket(sp.domain, sp.type, sp.protocol)); in trySend() local
/hardware/google/pixel/thermal/utils/
Dthermal_watcher.cpp90 static int nlSendMsg(struct nl_sock *sock, struct nl_msg *msg, in nlSendMsg()
148 static int nlGetMulticastId(struct nl_sock *sock, const char *family, const char *group) { in nlGetMulticastId()
173 static bool socketAddMembership(struct nl_sock *sock, const char *group) { in socketAddMembership()
/hardware/qcom/wlan/legacy/cld80211-lib/
Dcld80211_lib.c56 struct nl_sock *sock; in create_nl_socket() local
165 int cld80211_recv_msg(struct nl_sock *sock, struct nl_cb *cb) in cld80211_recv_msg()
180 static void cld80211_handle_event(int events, struct nl_sock *sock, in cld80211_handle_event()
Dcld80211_lib.h44 struct nl_sock *sock; member
/hardware/qcom/wlan/wcn6740/cld80211-lib/
Dcld80211_lib.c67 struct nl_sock *sock; in create_nl_socket() local
176 int cld80211_recv_msg(struct nl_sock *sock, struct nl_cb *cb) in cld80211_recv_msg()
191 static void cld80211_handle_event(int events, struct nl_sock *sock, in cld80211_handle_event()
Dcld80211_lib.h44 struct nl_sock *sock; member
/hardware/interfaces/automotive/can/1.0/default/
DCanSocket.cpp39 auto sock = netdevice::can::socket(ifname); in open() local
/hardware/qcom/sm7150/gps/utils/
DLocIpc.h195 LocIpcSender& sender, shared_ptr<Sock> sock) : in SockRecver()
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DQemuPipeStream.cpp39 QemuPipeStream::QemuPipeStream(QEMU_PIPE_HANDLE sock, size_t bufSize) : in QemuPipeStream()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dwifi_hal.cpp164 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) in wifi_socket_set_local_port()
175 struct nl_sock *sock = nl_socket_alloc(); in wifi_create_nl_socket() local
1898 static int internal_pollin_handler_app(wifi_handle handle, struct ctrl_sock *sock) in internal_pollin_handler_app()
1968 static int internal_pollin_handler(wifi_handle handle, struct nl_sock *sock) in internal_pollin_handler()
1980 struct ctrl_sock *sock) in internal_event_handler_app()
1996 struct nl_sock *sock) in internal_event_handler()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwifi_hal.cpp170 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) in wifi_socket_set_local_port()
181 struct nl_sock *sock = nl_socket_alloc(); in wifi_create_nl_socket() local
1978 static int internal_pollin_handler_app(wifi_handle handle, struct ctrl_sock *sock) in internal_pollin_handler_app()
2048 static int internal_pollin_handler(wifi_handle handle, struct nl_sock *sock) in internal_pollin_handler()
2060 struct ctrl_sock *sock) in internal_event_handler_app()
2076 struct nl_sock *sock) in internal_event_handler()
Dwificonfig.cpp1136 int sock = socket(AF_INET, SOCK_DGRAM, 0); in wifi_virtual_interface_create() local
/hardware/qcom/sm8150/gps/utils/
DLocIpc.h230 LocIpcSender& sender, shared_ptr<Sock> sock) : in SockRecver()
/hardware/qcom/sm7250/gps/utils/
DLocIpc.h230 LocIpcSender& sender, shared_ptr<Sock> sock) : in SockRecver()
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DVtsHalTetheroffloadControlV1_0TargetTest.cpp55 int sock = socket(AF_INET6, SOCK_DGRAM, 0); in interfaceIsUp() local
/hardware/interfaces/tetheroffload/aidl/vts/functional/
DVtsHalTetheroffloadTargetTest.cpp99 int sock = socket(AF_INET6, SOCK_DGRAM, 0); in interfaceIsUp() local
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dwifi_hal.cpp203 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) in wifi_socket_set_local_port()
212 struct nl_sock *sock = nl_socket_alloc(); in wifi_create_nl_socket() local
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp221 void wifi_socket_set_local_port(struct nl_sock *sock, uint32_t port) in wifi_socket_set_local_port()
230 struct nl_sock *sock = nl_socket_alloc(); in wifi_create_nl_socket() local
/hardware/ril/reference-ril/
Dreference-ril.c372 int sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in setInterfaceState() local
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp643 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) in linux_set_iface_flags()