Home
last modified time | relevance | path

Searched refs:sock (Results 426 - 450 of 2558) sorted by relevance

1...<<11121314151617181920>>...103

/kernel/linux/linux-6.6/crypto/
H A Daf_alg.c122 int af_alg_release(struct socket *sock) in af_alg_release() argument
124 if (sock->sk) { in af_alg_release()
125 sock_put(sock->sk); in af_alg_release()
126 sock->sk = NULL; in af_alg_release()
132 void af_alg_release_parent(struct sock *sk) in af_alg_release_parent()
148 static int alg_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in alg_bind() argument
151 struct sock *sk = sock->sk; in alg_bind()
158 if (sock->state == SS_CONNECTED) in alg_bind()
208 static int alg_setkey(struct sock *s
357 alg_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) alg_setsockopt() argument
471 alg_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) alg_accept() argument
504 alg_create(struct net *net, struct socket *sock, int protocol, int kern) alg_create() argument
937 af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size, unsigned int ivsize) af_alg_sendmsg() argument
1164 af_alg_poll(struct file *file, struct socket *sock, poll_table *wait) af_alg_poll() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c94 struct sock *sk) in chtls_find_netdev()
141 static void assign_rxopt(struct sock *sk, unsigned int opt) in assign_rxopt()
169 static void chtls_purge_receive_queue(struct sock *sk) in chtls_purge_receive_queue()
179 static void chtls_purge_write_queue(struct sock *sk) in chtls_purge_write_queue()
190 static void chtls_purge_recv_queue(struct sock *sk) in chtls_purge_recv_queue()
223 static void chtls_send_abort(struct sock *sk, int mode, struct sk_buff *skb) in chtls_send_abort()
245 static void chtls_send_reset(struct sock *sk, int mode, struct sk_buff *skb) in chtls_send_reset()
280 static void release_tcp_port(struct sock *sk) in release_tcp_port()
286 static void tcp_uncork(struct sock *sk) in tcp_uncork()
296 static void chtls_close_conn(struct sock *s
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c94 struct sock *sk) in chtls_find_netdev()
141 static void assign_rxopt(struct sock *sk, unsigned int opt) in assign_rxopt()
169 static void chtls_purge_receive_queue(struct sock *sk) in chtls_purge_receive_queue()
179 static void chtls_purge_write_queue(struct sock *sk) in chtls_purge_write_queue()
190 static void chtls_purge_recv_queue(struct sock *sk) in chtls_purge_recv_queue()
223 static void chtls_send_abort(struct sock *sk, int mode, struct sk_buff *skb) in chtls_send_abort()
245 static void chtls_send_reset(struct sock *sk, int mode, struct sk_buff *skb) in chtls_send_reset()
280 static void release_tcp_port(struct sock *sk) in release_tcp_port()
286 static void tcp_uncork(struct sock *sk) in tcp_uncork()
296 static void chtls_close_conn(struct sock *s
[all...]
/kernel/linux/linux-6.6/net/smc/
H A Daf_smc.c5 * AF_SMC protocol family socket handler keeping the AF_INET sock address type
32 #include <net/sock.h>
110 static void smc_set_keepalive(struct sock *sk, int val) in smc_set_keepalive()
117 static struct sock *smc_tcp_syn_recv_sock(const struct sock *sk, in smc_tcp_syn_recv_sock()
125 struct sock *child; in smc_tcp_syn_recv_sock()
138 /* passthrough to original syn recv sock fct */ in smc_tcp_syn_recv_sock()
157 static bool smc_hs_congested(const struct sock *sk) in smc_hs_congested()
180 int smc_hash_sk(struct sock *sk) in smc_hash_sk()
196 void smc_unhash_sk(struct sock *s
311 smc_release(struct socket *sock) smc_release() argument
365 smc_sock_alloc(struct net *net, struct socket *sock, int protocol) smc_sock_alloc() argument
397 smc_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) smc_bind() argument
1639 smc_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) smc_connect() argument
2588 smc_listen(struct socket *sock, int backlog) smc_listen() argument
2653 smc_accept(struct socket *sock, struct socket *new_sock, int flags, bool kern) smc_accept() argument
2723 smc_getname(struct socket *sock, struct sockaddr *addr, int peer) smc_getname() argument
2737 smc_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) smc_sendmsg() argument
2775 smc_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) smc_recvmsg() argument
2825 smc_poll(struct file *file, struct socket *sock, poll_table *wait) smc_poll() argument
2878 smc_shutdown(struct socket *sock, int how) smc_shutdown() argument
2953 __smc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) __smc_getsockopt() argument
2985 __smc_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) __smc_setsockopt() argument
3018 smc_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) smc_setsockopt() argument
3105 smc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) smc_getsockopt() argument
3131 smc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) smc_ioctl() argument
3218 smc_splice_read(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) smc_splice_read() argument
3286 __smc_create(struct net *net, struct socket *sock, int protocol, int kern, struct socket *clcsock) __smc_create() argument
3344 smc_create(struct net *net, struct socket *sock, int protocol, int kern) smc_create() argument
[all...]
/kernel/linux/linux-5.10/net/rose/
H A Daf_rose.c33 #include <net/sock.h>
151 static void rose_remove_socket(struct sock *sk) in rose_remove_socket()
164 struct sock *s; in rose_kill_by_neigh()
184 struct sock *sk, *array[16]; in rose_kill_by_device()
257 static void rose_insert_socket(struct sock *sk) in rose_insert_socket()
269 static struct sock *rose_find_listener(rose_address *addr, ax25_address *call) in rose_find_listener()
271 struct sock *s; in rose_find_listener()
300 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket()
302 struct sock *s; in rose_find_socket()
340 void rose_destroy_socket(struct sock *);
394 rose_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) rose_setsockopt() argument
454 rose_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) rose_getsockopt() argument
512 rose_listen(struct socket *sock, int backlog) rose_listen() argument
545 rose_create(struct net *net, struct socket *sock, int protocol, int kern) rose_create() argument
636 rose_release(struct socket *sock) rose_release() argument
695 rose_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) rose_bind() argument
758 rose_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) rose_connect() argument
918 rose_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) rose_accept() argument
983 rose_getname(struct socket *sock, struct sockaddr *uaddr, int peer) rose_getname() argument
1094 rose_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) rose_sendmsg() argument
1258 rose_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) rose_recvmsg() argument
1320 rose_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) rose_ioctl() argument
[all...]
/kernel/linux/linux-5.10/net/bluetooth/
H A Dhci_sock.c62 static struct hci_dev *hci_hdev_from_sock(struct sock *sk) in hci_hdev_from_sock()
73 void hci_sock_set_flag(struct sock *sk, int nr) in hci_sock_set_flag()
78 void hci_sock_clear_flag(struct sock *sk, int nr) in hci_sock_clear_flag()
83 int hci_sock_test_flag(struct sock *sk, int nr) in hci_sock_test_flag()
88 unsigned short hci_sock_get_channel(struct sock *sk) in hci_sock_get_channel()
93 u32 hci_sock_get_cookie(struct sock *sk) in hci_sock_get_cookie()
98 static bool hci_sock_gen_cookie(struct sock *sk) in hci_sock_gen_cookie()
115 static void hci_sock_free_cookie(struct sock *sk) in hci_sock_free_cookie()
164 static bool is_filtered_packet(struct sock *sk, struct sk_buff *skb) in is_filtered_packet()
204 struct sock *s in hci_send_to_sock()
836 hci_sock_release(struct socket *sock) hci_sock_release() argument
975 hci_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) hci_sock_ioctl() argument
1105 hci_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) hci_sock_compat_ioctl() argument
1120 hci_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) hci_sock_bind() argument
1416 hci_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) hci_sock_getname() argument
1484 hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) hci_sock_recvmsg() argument
1750 hci_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) hci_sock_sendmsg() argument
1892 hci_sock_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int len) hci_sock_setsockopt() argument
1978 hci_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) hci_sock_getsockopt() argument
2082 hci_sock_create(struct net *net, struct socket *sock, int protocol, int kern) hci_sock_create() argument
[all...]
/kernel/linux/linux-6.6/net/rose/
H A Daf_rose.c33 #include <net/sock.h>
152 static void rose_remove_socket(struct sock *sk) in rose_remove_socket()
165 struct sock *s; in rose_kill_by_neigh()
185 struct sock *sk, *array[16]; in rose_kill_by_device()
258 static void rose_insert_socket(struct sock *sk) in rose_insert_socket()
270 static struct sock *rose_find_listener(rose_address *addr, ax25_address *call) in rose_find_listener()
272 struct sock *s; in rose_find_listener()
301 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket()
303 struct sock *s; in rose_find_socket()
341 void rose_destroy_socket(struct sock *);
395 rose_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) rose_setsockopt() argument
455 rose_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) rose_getsockopt() argument
513 rose_listen(struct socket *sock, int backlog) rose_listen() argument
546 rose_create(struct net *net, struct socket *sock, int protocol, int kern) rose_create() argument
637 rose_release(struct socket *sock) rose_release() argument
696 rose_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) rose_bind() argument
760 rose_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) rose_connect() argument
922 rose_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) rose_accept() argument
987 rose_getname(struct socket *sock, struct sockaddr *uaddr, int peer) rose_getname() argument
1101 rose_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) rose_sendmsg() argument
1265 rose_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) rose_recvmsg() argument
1328 rose_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) rose_ioctl() argument
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dinet6_connection_sock.h16 struct sock;
19 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
22 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
24 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
26 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
/kernel/linux/linux-6.6/include/net/
H A Dinet6_connection_sock.h18 struct sock;
21 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
24 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
26 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
28 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/
H A Dtirpc_svc_dg_create.c43 int sock; in main() local
45 sock = bound_socket(AF_INET, SOCK_DGRAM); in main()
46 if (sock < 0) { in main()
51 transp = svc_dg_create(sock, 0, 0); in main()
57 close(sock); in main()
/kernel/linux/linux-5.10/net/dccp/
H A Doutput.c16 #include <net/sock.h>
22 static inline void dccp_event_ack_sent(struct sock *sk) in dccp_event_ack_sent()
28 static struct sk_buff *dccp_skb_entail(struct sock *sk, struct sk_buff *skb) in dccp_skb_entail()
42 static int dccp_transmit_skb(struct sock *sk, struct sk_buff *skb) in dccp_transmit_skb()
159 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) in dccp_sync_mss()
195 void dccp_write_space(struct sock *sk) in dccp_write_space()
217 static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) in dccp_wait_for_ccid()
241 static void dccp_xmit_packet(struct sock *sk) in dccp_xmit_packet()
304 void dccp_flush_write_queue(struct sock *sk, long *time_budget) in dccp_flush_write_queue()
343 void dccp_write_xmit(struct sock *s
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dbpf-cgroup.h13 struct sock;
116 int __cgroup_bpf_run_filter_skb(struct sock *sk,
120 int __cgroup_bpf_run_filter_sk(struct sock *sk,
123 int __cgroup_bpf_run_filter_sock_addr(struct sock *sk,
128 int __cgroup_bpf_run_filter_sock_ops(struct sock *sk,
140 int __cgroup_bpf_run_filter_setsockopt(struct sock *sock, int *level,
143 int __cgroup_bpf_run_filter_getsockopt(struct sock *sk, int level,
148 int __cgroup_bpf_run_filter_getsockopt_kern(struct sock *sk, int level,
335 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, leve
[all...]
/kernel/linux/linux-6.6/net/l2tp/
H A Dl2tp_ip.c17 #include <net/sock.h>
40 static inline struct l2tp_ip_sock *l2tp_ip_sk(const struct sock *sk) in l2tp_ip_sk()
45 static struct sock *__l2tp_ip_bind_lookup(const struct net *net, __be32 laddr, in __l2tp_ip_bind_lookup()
48 struct sock *sk; in __l2tp_ip_bind_lookup()
116 struct sock *sk; in l2tp_ip_recv()
199 static int l2tp_ip_hash(struct sock *sk) in l2tp_ip_hash()
209 static void l2tp_ip_unhash(struct sock *sk) in l2tp_ip_unhash()
218 static int l2tp_ip_open(struct sock *sk) in l2tp_ip_open()
227 static void l2tp_ip_close(struct sock *sk, long timeout) in l2tp_ip_close()
236 static void l2tp_ip_destroy_sock(struct sock *s
351 l2tp_ip_getname(struct socket *sock, struct sockaddr *uaddr, int peer) l2tp_ip_getname() argument
[all...]
/kernel/linux/linux-6.6/net/dccp/
H A Doutput.c16 #include <net/sock.h>
22 static inline void dccp_event_ack_sent(struct sock *sk) in dccp_event_ack_sent()
28 static struct sk_buff *dccp_skb_entail(struct sock *sk, struct sk_buff *skb) in dccp_skb_entail()
42 static int dccp_transmit_skb(struct sock *sk, struct sk_buff *skb) in dccp_transmit_skb()
161 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) in dccp_sync_mss()
197 void dccp_write_space(struct sock *sk) in dccp_write_space()
219 static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) in dccp_wait_for_ccid()
245 static void dccp_xmit_packet(struct sock *sk) in dccp_xmit_packet()
311 void dccp_flush_write_queue(struct sock *sk, long *time_budget) in dccp_flush_write_queue()
350 void dccp_write_xmit(struct sock *s
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dinet6_hashtables.c50 struct sock *__inet6_lookup_established(struct net *net, in __inet6_lookup_established()
58 struct sock *sk; in __inet6_lookup_established()
93 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
128 * the selected sock or an error.
130 struct sock *inet6_lookup_reuseport(struct net *net, struct sock *sk, in inet6_lookup_reuseport()
138 struct sock *reuse_sk = NULL; in inet6_lookup_reuseport()
151 static struct sock *inet6_lhash2_lookup(struct net *net, in inet6_lhash2_lookup()
158 struct sock *sk, *result = NULL; in inet6_lhash2_lookup()
178 struct sock *inet6_lookup_run_sk_looku
[all...]
/kernel/linux/linux-5.10/net/tipc/
H A Dsocket.h38 #include <net/sock.h>
66 u64 (*tipc_diag_gen_cookie)(struct sock *sk));
74 u32 tipc_sock_get_portid(struct sock *sk);
75 bool tipc_sk_overlimit1(struct sock *sk, struct sk_buff *skb);
76 bool tipc_sk_overlimit2(struct sock *sk, struct sk_buff *skb);
78 int tsk_set_importance(struct sock *sk, int imp);
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtcp_ca_update.c13 static inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk()
19 void BPF_PROG(ca_update_1_init, struct sock *sk) in BPF_PROG()
25 void BPF_PROG(ca_update_2_init, struct sock *sk) in BPF_PROG()
31 void BPF_PROG(ca_update_cong_control, struct sock *sk, in BPF_PROG()
37 __u32 BPF_PROG(ca_update_ssthresh, struct sock *sk) in BPF_PROG()
43 __u32 BPF_PROG(ca_update_undo_cwnd, struct sock *sk) in BPF_PROG()
/kernel/linux/linux-6.6/net/handshake/
H A Dhandshake.h35 struct sock *hr_sk;
36 void (*hr_odestruct)(struct sock *sk);
70 int tls_alert_send(struct socket *sock, u8 level, u8 description);
85 struct handshake_req *handshake_req_hash_lookup(struct sock *sk);
87 int handshake_req_submit(struct socket *sock, struct handshake_req *req,
91 bool handshake_req_cancel(struct sock *sk);
/third_party/libuv/test/
H A Dtest-poll-multiple-handles.c47 uv_os_sock_t sock; in TEST_IMPL() local
58 sock = socket(AF_INET, SOCK_STREAM, 0); in TEST_IMPL()
60 ASSERT_NE(sock, INVALID_SOCKET); in TEST_IMPL()
62 ASSERT_NE(sock, -1); in TEST_IMPL()
66 sock)); in TEST_IMPL()
69 sock)); in TEST_IMPL()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/
H A Dtirpc_bottomlevel_clnt_call.c57 int sock; in main() local
79 sock = bound_socket(AF_INET, SOCK_DGRAM); in main()
80 if (sock < 0) { in main()
85 client = clnt_dg_create(sock, &svcaddr, in main()
91 close(sock); in main()
105 close(sock); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Deloop.h39 * @sock: File descriptor number for the socket
43 typedef void (*eloop_sock_handler)(int sock, void *eloop_ctx, void *sock_ctx);
78 * @sock: File descriptor number for the socket
90 int eloop_register_read_sock(int sock, eloop_sock_handler handler,
95 * @sock: File descriptor number for the socket
100 void eloop_unregister_read_sock(int sock);
104 * @sock: File descriptor number for the socket
117 int eloop_register_sock(int sock, eloop_event_type type,
123 * @sock: File descriptor number for the socket
124 * @type: Type of event for which sock wa
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Deloop.h39 * @sock: File descriptor number for the socket
43 typedef void (*eloop_sock_handler)(int sock, void *eloop_ctx, void *sock_ctx);
78 * @sock: File descriptor number for the socket
90 int eloop_register_read_sock(int sock, eloop_sock_handler handler,
95 * @sock: File descriptor number for the socket
100 void eloop_unregister_read_sock(int sock);
104 * @sock: File descriptor number for the socket
117 int eloop_register_sock(int sock, eloop_event_type type,
123 * @sock: File descriptor number for the socket
124 * @type: Type of event for which sock wa
[all...]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dtcp_nip_timer.c35 static int tcp_nip_orphan_retries(struct sock *sk, bool alive) in tcp_nip_orphan_retries()
52 void tcp_nip_delack_timer_handler(struct sock *sk) in tcp_nip_delack_timer_handler()
76 static void tcp_nip_write_err(struct sock *sk) in tcp_nip_write_err()
89 struct sock *sk = &icsk->icsk_inet.sk; in tcp_nip_delack_timer()
104 static bool retransmits_nip_timed_out(struct sock *sk, in retransmits_nip_timed_out()
118 static int tcp_nip_write_timeout(struct sock *sk) in tcp_nip_write_timeout()
147 void tcp_nip_retransmit_timer(struct sock *sk) in tcp_nip_retransmit_timer()
216 void tcp_nip_probe_timer(struct sock *sk) in tcp_nip_probe_timer()
240 nip_dbg("sock dead, icsk_backoff=%u, max_probes=%u, alive=%u", in tcp_nip_probe_timer()
265 void tcp_nip_write_timer_handler(struct sock *s
[all...]
/kernel/linux/linux-5.10/net/sunrpc/
H A Dsocklib.c205 static inline int xprt_sendmsg(struct socket *sock, struct msghdr *msg, in xprt_sendmsg() argument
210 return sock_sendmsg(sock, msg); in xprt_sendmsg()
213 static int xprt_send_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_kvec() argument
217 return xprt_sendmsg(sock, msg, seek); in xprt_send_kvec()
220 static int xprt_send_pagedata(struct socket *sock, struct msghdr *msg, in xprt_send_pagedata() argument
231 return xprt_sendmsg(sock, msg, base + xdr->page_base); in xprt_send_pagedata()
239 static int xprt_send_rm_and_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_rm_and_kvec() argument
253 return xprt_sendmsg(sock, msg, base); in xprt_send_rm_and_kvec()
258 * @sock: open socket to send on
267 * %-ENOTSOCK if @sock i
269 xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg, struct xdr_buf *xdr, unsigned int base, rpc_fraghdr marker, unsigned int *sent_p) xprt_sock_sendmsg() argument
[all...]
/kernel/linux/linux-5.10/security/selinux/
H A Dnetlabel.c20 #include <net/sock.h>
67 static struct netlbl_lsm_secattr *selinux_netlbl_sock_genattr(struct sock *sk) in selinux_netlbl_sock_genattr()
100 const struct sock *sk, in selinux_netlbl_sock_getattr()
232 struct sock *sk; in selinux_netlbl_skbuff_setsid()
320 * will get preserved when a full sock is created once the connection handshake
344 * selinux_netlbl_inet_csk_clone - Initialize the newly created sock
345 * @sk: the new sock
350 * we need to set the NetLabel state here since we now have a sock structure.
353 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
364 * selinux_netlbl_sctp_sk_clone - Copy state to the newly created sock
501 selinux_netlbl_socket_setsockopt(struct socket *sock, int level, int optname) selinux_netlbl_socket_setsockopt() argument
[all...]

Completed in 17 milliseconds

1...<<11121314151617181920>>...103