/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_diag.c | 47 static void smc_diag_msg_common_fill(struct smc_diag_msg *r, struct sock *sk) in smc_diag_msg_common_fill() 72 static int smc_diag_msg_attrs_fill(struct sock *sk, struct sk_buff *skb, in smc_diag_msg_attrs_fill() 84 static int __smc_diag_dump(struct sock *sk, struct sk_buff *skb, in __smc_diag_dump() 213 struct sock *sk; in smc_diag_dump_proto()
|
/kernel/linux/linux-5.10/net/rds/ |
H A D | ib.c | 369 static void rds_ib_ic_info(struct socket *sock, unsigned int len, in rds_ib_ic_info() argument 375 rds_for_each_conn_info(sock, len, iter, lens, in rds_ib_ic_info() 383 static void rds6_ib_ic_info(struct socket *sock, unsigned int len, in rds6_ib_ic_info() argument 389 rds_for_each_conn_info(sock, len, iter, lens, in rds6_ib_ic_info()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
H A D | nf_conntrack_bridge.c | 27 static int nf_br_ip_fragment(struct net *net, struct sock *sk, in nf_br_ip_fragment() 30 int (*output)(struct net *, struct sock *sk, in nf_br_ip_fragment() 308 int (*output)(struct net *, struct sock *sk, in nf_ct_bridge_refrag() 355 static int nf_ct_bridge_refrag_post(struct net *net, struct sock *sk, in nf_ct_bridge_refrag_post()
|
/kernel/linux/linux-5.10/net/dccp/ |
H A D | options.c | 48 int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_parse_options() 309 static int dccp_insert_option_ndp(struct sock *sk, struct sk_buff *skb) in dccp_insert_option_ndp() 396 static int dccp_insert_option_ackvec(struct sock *sk, struct sk_buff *skb) in dccp_insert_option_ackvec() 549 int dccp_insert_options(struct sock *sk, struct sk_buff *skb) in dccp_insert_options()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | scm.c | 35 #include <net/sock.h> 137 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send() argument 162 if (!sock->ops || sock->ops->family != PF_UNIX) in __scm_send()
|
/kernel/linux/linux-6.6/net/netlabel/ |
H A D | netlabel_calipso.c | 23 #include <net/sock.h> 514 * calipso_sock_getattr - Get the security attributes from a sock 515 * @sk: the sock 519 * Query @sk to see if there is a CALIPSO option attached to the sock and if 525 int calipso_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr) in calipso_sock_getattr() 549 int calipso_sock_setattr(struct sock *sk, in calipso_sock_setattr() 569 void calipso_sock_delattr(struct sock *sk) in calipso_sock_delattr()
|
/kernel/linux/linux-6.6/net/smc/ |
H A D | smc_diag.c | 34 static void smc_diag_msg_common_fill(struct smc_diag_msg *r, struct sock *sk) in smc_diag_msg_common_fill() 59 static int smc_diag_msg_attrs_fill(struct sock *sk, struct sk_buff *skb, in smc_diag_msg_attrs_fill() 71 static int __smc_diag_dump(struct sock *sk, struct sk_buff *skb, in __smc_diag_dump() 200 struct sock *sk; in smc_diag_dump_proto()
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | ib.c | 369 static void rds_ib_ic_info(struct socket *sock, unsigned int len, in rds_ib_ic_info() argument 375 rds_for_each_conn_info(sock, len, iter, lens, in rds_ib_ic_info() 383 static void rds6_ib_ic_info(struct socket *sock, unsigned int len, in rds6_ib_ic_info() argument 389 rds_for_each_conn_info(sock, len, iter, lens, in rds6_ib_ic_info()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.c | 354 __bpf_kfunc u64 bpf_kfunc_call_test1(struct sock *sk, u32 a, u64 b, u32 c, u64 d) in bpf_kfunc_call_test1() 359 __bpf_kfunc int bpf_kfunc_call_test2(struct sock *sk, u32 a, u32 b) in bpf_kfunc_call_test2() 364 __bpf_kfunc struct sock *bpf_kfunc_call_test3(struct sock *sk) in bpf_kfunc_call_test3()
|
/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H A D | nf_conntrack_bridge.c | 27 static int nf_br_ip_fragment(struct net *net, struct sock *sk, in nf_br_ip_fragment() 30 int (*output)(struct net *, struct sock *sk, in nf_br_ip_fragment() 333 int (*output)(struct net *, struct sock *sk, in nf_ct_bridge_refrag() 380 static int nf_ct_bridge_refrag_post(struct net *net, struct sock *sk, in nf_ct_bridge_refrag_post()
|
/kernel/linux/linux-6.6/net/dccp/ |
H A D | options.c | 48 int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_parse_options() 309 static int dccp_insert_option_ndp(struct sock *sk, struct sk_buff *skb) in dccp_insert_option_ndp() 396 static int dccp_insert_option_ackvec(struct sock *sk, struct sk_buff *skb) in dccp_insert_option_ackvec() 549 int dccp_insert_options(struct sock *sk, struct sk_buff *skb) in dccp_insert_options()
|
/third_party/curl/lib/ |
H A D | socks_sspi.c | 70 curl_socket_t sock = conn->sock[cf->sockindex]; in Curl_SOCKS5_gssapi_negotiate() local 159 (void)curlx_nonblock(sock, FALSE); in Curl_SOCKS5_gssapi_negotiate() 603 (void)curlx_nonblock(sock, TRUE); in Curl_SOCKS5_gssapi_negotiate()
|
H A D | socks_gssapi.c | 110 curl_socket_t sock = conn->sock[cf->sockindex]; in Curl_SOCKS5_gssapi_negotiate() local 173 (void)curlx_nonblock(sock, FALSE); in Curl_SOCKS5_gssapi_negotiate() 522 (void)curlx_nonblock(sock, TRUE); in Curl_SOCKS5_gssapi_negotiate()
|
/third_party/libuv/src/unix/ |
H A D | tcp.c | 346 int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock) { in uv_tcp_open() argument 349 if (uv__fd_exists(handle->loop, sock)) in uv_tcp_open() 352 err = uv__nonblock(sock, 1); in uv_tcp_open() 357 sock, in uv_tcp_open()
|
/third_party/libuv/src/win/ |
H A D | core.c | 356 SOCKET sock = loop->poll_peer_sockets[i]; in uv__loop_close() local 357 if (sock != 0 && sock != INVALID_SOCKET) in uv__loop_close() 358 closesocket(sock); in uv__loop_close()
|
/third_party/node/deps/uv/src/unix/ |
H A D | tcp.c | 271 int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock) { in uv_tcp_open() argument 274 if (uv__fd_exists(handle->loop, sock)) in uv_tcp_open() 277 err = uv__nonblock(sock, 1); in uv_tcp_open() 282 sock, in uv_tcp_open()
|
/third_party/node/deps/uv/src/win/ |
H A D | core.c | 355 SOCKET sock = loop->poll_peer_sockets[i]; in uv__loop_close() local 356 if (sock != 0 && sock != INVALID_SOCKET) in uv__loop_close() 357 closesocket(sock); in uv__loop_close()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_windows_events.py | 245 sock = socket.socket(type=socket.SOCK_DGRAM) 248 proactor.connect(sock, bad_address) 250 proactor.sendto(sock, b'abc', addr=bad_address) 251 sock.close()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
H A D | l2_packet_linux.c | 154 void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) in l2_packet_receive() argument 164 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &ll, in l2_packet_receive() 227 static void l2_packet_receive_br(int sock, void *eloop_ctx, void *sock_ctx) in l2_packet_receive_br() argument 241 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &ll, in l2_packet_receive_br()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | sunrpc.h | 40 static inline int sock_is_loopback(struct sock *sk) in sock_is_loopback()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | misc.c | 9 #include <net/sock.h>
|
/kernel/linux/linux-5.10/include/net/ |
H A D | mip6.h | 16 #include <net/sock.h>
|
/kernel/linux/linux-5.10/include/linux/hck/ |
H A D | lite_hck_inet.h | 21 TP_PROTO(const struct sock *sk, u32 *ret),
|
/kernel/linux/linux-6.6/include/linux/hck/ |
H A D | lite_hck_inet.h | 21 TP_PROTO(const struct sock *sk, u32 *ret),
|
/kernel/linux/linux-6.6/include/net/ |
H A D | mip6.h | 16 #include <net/sock.h>
|