Home
last modified time | relevance | path

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

1234567

/include/net/
A Dllc_c_ac.h23 struct sock;
100 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
102 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb);
104 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb);
106 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk,
142 int llc_conn_ac_start_ack_tmr_if_not_running(struct sock *sk,
168 int llc_conn_ac_rst_vs(struct sock *sk, struct sk_buff *skb);
169 int llc_conn_ac_upd_vs(struct sock *sk, struct sk_buff *skb);
170 int llc_conn_disc(struct sock *sk, struct sk_buff *skb);
171 int llc_conn_reset(struct sock *sk, struct sk_buff *skb);
[all …]
A Dllc_c_ev.h131 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb);
132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb);
134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
141 int llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns(struct sock *sk,
144 int llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns(struct sock *sk,
146 int llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns(struct sock *sk,
164 int llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns(struct sock *sk,
166 int llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns(struct sock *sk,
170 int llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns(struct sock *sk,
172 int llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns(struct sock *sk,
[all …]
A Dsock_reuseport.h29 struct sock *socks[] __counted_by(max_socks);
32 extern int reuseport_alloc(struct sock *sk, bool bind_inany);
33 extern int reuseport_add_sock(struct sock *sk, struct sock *sk2,
35 extern void reuseport_detach_sock(struct sock *sk);
36 void reuseport_stop_listen_sock(struct sock *sk);
37 extern struct sock *reuseport_select_sock(struct sock *sk,
41 struct sock *reuseport_migrate_sock(struct sock *sk,
42 struct sock *migrating_sk,
45 extern int reuseport_detach_prog(struct sock *sk);
47 static inline bool reuseport_has_conns(struct sock *sk) in reuseport_has_conns()
[all …]
A Dinet_common.h21 struct sock;
25 int inet_release(struct socket *sock);
32 int inet_accept(struct socket *sock, struct socket *newsock,
35 struct sock *newsk);
36 int inet_send_prepare(struct sock *sk);
38 void inet_splice_eof(struct socket *sock);
41 int inet_shutdown(struct socket *sock, int how);
42 int inet_listen(struct socket *sock, int backlog);
43 int __inet_listen_sk(struct sock *sk, int backlog);
44 void inet_sock_destruct(struct sock *sk);
[all …]
A Dinet_connection_sock.h38 int (*rebuild_header)(struct sock *sk);
41 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb,
51 void (*mtu_reduced)(struct sock *sk);
152 struct sock *inet_csk_clone_lock(const struct sock *sk,
257 struct sock *inet_csk_accept(struct sock *sk, struct proto_accept_arg *arg);
264 struct sock *newsk,
267 struct sock *inet_csk_reqsk_queue_add(struct sock *sk,
269 struct sock *child);
272 struct sock *inet_csk_complete_hashdance(struct sock *sk, struct sock *child,
321 int inet_csk_listen_start(struct sock *sk);
[all …]
A Dsock.h98 struct sock;
351 struct sock { struct
575 struct sock *sock; member
754 static inline struct sock *sk_next(const struct sock *sk) in sk_next()
759 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next()
1260 struct sock * (*accept)(struct sock *sk,
1788 struct sock *sk = (struct sock *)csk; in sock_allow_reclassification()
1799 struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority);
1924 void sock_init_data_uid(struct socket *sock, struct sock *sk, kuid_t uid);
1929 void sock_init_data(struct socket *sock, struct sock *sk);
[all …]
A Dnetrom.h68 struct sock sock; member
191 void nr_destroy_socket(struct sock *);
208 void nr_kick(struct sock *);
226 void nr_clear_queues(struct sock *);
256 void nr_init_timers(struct sock *sk);
258 void nr_start_t1timer(struct sock *);
259 void nr_start_t2timer(struct sock *);
260 void nr_start_t4timer(struct sock *);
263 void nr_stop_t1timer(struct sock *);
264 void nr_stop_t2timer(struct sock *);
[all …]
A Dtcp.h350 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
431 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb,
434 enum skb_drop_reason tcp_child_process(struct sock *parent, struct sock *child,
498 struct sock *tcp_create_openreq_child(const struct sock *sk,
502 struct sock *tcp_v4_syn_recv_sock(const struct sock *sk, struct sk_buff *skb,
527 struct sock *tcp_get_cookie_sock(struct sock *sk, struct sk_buff *skb,
531 struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb);
676 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
1982 struct sock *tcp_try_fastopen(struct sock *sk, struct sk_buff *skb,
2667 void tcp_bpf_clone(const struct sock *sk, struct sock *newsk);
[all …]
A Dtcp_ao.h182 const struct sock *sk, const struct sk_buff *skb,
189 int tcp_ao_copy_all_matching(const struct sock *sk, struct sock *newsk,
194 void tcp_ao_destroy_sock(struct sock *sk, bool twsk);
221 struct tcp_ao_key *tcp_v4_ao_lookup(const struct sock *sk, struct sock *addr_sk,
227 const struct sock *sk,
244 const struct sock *sk, __be32 sisn,
249 struct sock *addr_sk, int sndid, int rcvid);
260 void tcp_ao_established(struct sock *sk);
262 void tcp_ao_connect_init(struct sock *sk);
331 static inline int tcp_ao_get_repair(struct sock *sk, in tcp_ao_get_repair()
[all …]
A Drose.h128 struct sock sock; member
175 void rose_destroy_socket(struct sock *);
200 void rose_kick(struct sock *);
225 void rose_clear_queues(struct sock *);
227 void rose_requeue_frames(struct sock *);
237 void rose_start_t1timer(struct sock *);
238 void rose_start_t2timer(struct sock *);
239 void rose_start_t3timer(struct sock *);
240 void rose_start_hbtimer(struct sock *);
242 void rose_stop_heartbeat(struct sock *);
[all …]
A Dx25.h151 struct sock sk;
255 void x25_kick(struct sock *);
277 void x25_clear_queues(struct sock *);
279 void x25_requeue_frames(struct sock *);
287 void x25_init_timers(struct sock *sk);
289 void x25_start_t2timer(struct sock *);
290 void x25_start_t21timer(struct sock *);
291 void x25_start_t22timer(struct sock *);
292 void x25_start_t23timer(struct sock *);
294 void x25_stop_timer(struct sock *);
[all …]
A Dbpf_sk_storage.h17 struct sock;
19 void bpf_sk_storage_free(struct sock *sk);
32 int bpf_sk_storage_clone(const struct sock *sk, struct sock *newsk);
37 struct sock *sk, struct sk_buff *skb,
41 static inline int bpf_sk_storage_clone(const struct sock *sk, in bpf_sk_storage_clone()
42 struct sock *newsk) in bpf_sk_storage_clone()
55 struct sock *sk, struct sk_buff *skb, in bpf_sk_storage_diag_put()
A Drawv6.h9 bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num,
13 int raw_abort(struct sock *sk, int err);
19 int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
22 int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
24 int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
A Daf_rxrpc.h15 struct sock;
41 void (*notify_new_call)(struct sock *sk, struct rxrpc_call *call,
45 void (*notify_oob)(struct sock *sk, struct sk_buff *oob);
48 typedef void (*rxrpc_notify_rx_t)(struct sock *, struct rxrpc_call *,
50 typedef void (*rxrpc_notify_end_tx_t)(struct sock *, struct rxrpc_call *,
53 void rxrpc_kernel_set_notifications(struct socket *sock,
55 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock,
76 struct rxrpc_peer *rxrpc_kernel_lookup_peer(struct socket *sock,
93 int rxrpc_sock_set_security_keyring(struct sock *, struct key *);
94 int rxrpc_sock_set_manage_response(struct sock *sk, bool set);
[all …]
A Dllc_conn.h34 struct sock sk;
84 static inline struct llc_sock *llc_sk(const struct sock *sk) in llc_sk()
99 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority,
101 void llc_sk_stop_all_timers(struct sock *sk, bool sync);
102 void llc_sk_free(struct sock *sk);
104 void llc_sk_reset(struct sock *sk);
107 int llc_conn_state_process(struct sock *sk, struct sk_buff *skb);
108 void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb);
109 void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb);
115 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
[all …]
A Despintcp.h10 int espintcp_push_skb(struct sock *sk, struct sk_buff *skb);
11 int espintcp_queue_out(struct sock *sk, struct sk_buff *skb);
12 bool tcp_is_ulp_esp(struct sock *sk);
26 void (*saved_data_ready)(struct sock *sk);
27 void (*saved_write_space)(struct sock *sk);
28 void (*saved_destruct)(struct sock *sk);
33 static inline struct espintcp_ctx *espintcp_getctx(const struct sock *sk) in espintcp_getctx()
A Dtls_toe.h37 struct sock;
66 int (*hash)(struct tls_toe_device *device, struct sock *sk);
67 void (*unhash)(struct tls_toe_device *device, struct sock *sk);
72 int tls_toe_bypass(struct sock *sk);
73 int tls_toe_hash(struct sock *sk);
74 void tls_toe_unhash(struct sock *sk);
A Dping.h23 int (*ipv6_recv_error)(struct sock *sk, struct msghdr *msg, int len,
25 void (*ip6_datagram_recv_common_ctl)(struct sock *sk,
28 void (*ip6_datagram_recv_specific_ctl)(struct sock *sk,
32 void (*ipv6_icmp_error)(struct sock *sk, struct sk_buff *skb, int err,
56 int ping_get_port(struct sock *sk, unsigned short ident);
57 int ping_hash(struct sock *sk);
58 void ping_unhash(struct sock *sk);
60 int ping_init_sock(struct sock *sk);
61 void ping_close(struct sock *sk, long timeout);
67 int ping_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
[all …]
/include/linux/
A Dnet.h124 struct sock *sk;
164 int (*release) (struct socket *sock);
165 int (*bind) (struct socket *sock,
168 int (*connect) (struct socket *sock,
173 int (*accept) (struct socket *sock,
176 int (*getname) (struct socket *sock,
213 void (*splice_eof)(struct socket *sock);
215 int (*peek_len)(struct socket *sock);
259 void sock_release(struct socket *sock);
265 #define sockfd_put(sock) fput(sock->file) argument
[all …]
A Dmroute6.h26 struct sock;
30 extern int ip6_mroute_getsockopt(struct sock *, int, sockptr_t, sockptr_t);
36 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg);
38 static inline int ip6_mroute_setsockopt(struct sock *sock, int optname, in ip6_mroute_setsockopt() argument
45 int ip6_mroute_getsockopt(struct sock *sock, in ip6_mroute_getsockopt() argument
52 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg) in ip6mr_ioctl()
63 ip6_mr_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_mr_output()
109 extern int ip6mr_sk_done(struct sock *sk);
110 static inline int ip6mr_sk_ioctl(struct sock *sk, unsigned int cmd, in ip6mr_sk_ioctl()
136 static inline int ip6mr_sk_done(struct sock *sk) in ip6mr_sk_done()
[all …]
A Dmroute.h19 int ip_mroute_setsockopt(struct sock *, int, sockptr_t, unsigned int);
20 int ip_mroute_getsockopt(struct sock *, int, sockptr_t, sockptr_t);
21 int ipmr_ioctl(struct sock *sk, int cmd, void *arg);
22 int ipmr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
25 int ipmr_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
27 static inline int ip_mroute_setsockopt(struct sock *sock, int optname, in ip_mroute_setsockopt() argument
33 static inline int ip_mroute_getsockopt(struct sock *sk, int optname, in ip_mroute_getsockopt()
39 static inline int ipmr_ioctl(struct sock *sk, int cmd, void *arg) in ipmr_ioctl()
59 static inline int ipmr_sk_ioctl(struct sock *sk, unsigned int cmd, in ipmr_sk_ioctl()
A Dsock_diag.h13 struct sock;
19 int (*get_info)(struct sk_buff *skb, struct sock *sk);
34 u64 __sock_gen_cookie(struct sock *sk);
36 static inline u64 sock_gen_cookie(struct sock *sk) in sock_gen_cookie()
47 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie);
48 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie);
51 int sock_diag_put_filterinfo(bool may_report_filterinfo, struct sock *sk,
55 enum sknetlink_groups sock_diag_destroy_group(const struct sock *sk) in sock_diag_destroy_group()
88 bool sock_diag_has_destroy_listeners(const struct sock *sk) in sock_diag_has_destroy_listeners()
96 void sock_diag_broadcast_destroy(struct sock *sk);
[all …]
/include/crypto/
A Dif_alg.h26 struct sock sk;
28 struct sock *parent;
48 int (*accept)(void *private, struct sock *sk);
49 int (*accept_nokey)(void *private, struct sock *sk);
96 struct sock *sk;
167 int af_alg_release(struct socket *sock);
168 void af_alg_release_parent(struct sock *sk);
185 static inline int af_alg_sndbuf(struct sock *sk) in af_alg_sndbuf()
200 static inline bool af_alg_writable(struct sock *sk) in af_alg_writable()
211 static inline int af_alg_rcvbuf(struct sock *sk) in af_alg_rcvbuf()
[all …]
/include/net/phonet/
A Dgprs.h15 struct sock;
18 int pep_writeable(struct sock *sk);
19 int pep_write(struct sock *sk, struct sk_buff *skb);
20 struct sk_buff *pep_read(struct sock *sk);
22 int gprs_attach(struct sock *sk);
23 void gprs_detach(struct sock *sk);
A Dphonet.h28 struct sock sk;
34 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
45 int pn_sock_hash(struct sock *sk);
46 void pn_sock_unhash(struct sock *sk);
47 int pn_sock_get_port(struct sock *sk, unsigned short sport);
49 struct sock *pn_find_sock_by_res(struct net *net, u8 res);
50 int pn_sock_bind_res(struct sock *sock, u8 res);
51 int pn_sock_unbind_res(struct sock *sk, u8 res);
52 void pn_sock_unbind_all_res(struct sock *sk);
54 int pn_skb_send(struct sock *sk, struct sk_buff *skb,
[all …]

Completed in 53 milliseconds

1234567