Home
last modified time | relevance | path

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

12345

/include/net/
Dllc_c_ac.h90 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb);
92 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb);
93 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
94 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb);
95 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb);
96 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb);
97 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb);
98 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb);
99 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk,
101 int llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2(struct sock *sk,
[all …]
Dllc_c_ev.h128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb);
129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb);
131 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);
133 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb);
134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
135 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb);
136 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb);
137 int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb);
138 int llc_conn_ev_rx_disc_cmd_pbit_set_x(struct sock *sk, struct sk_buff *skb);
[all …]
Dinet_common.h12 struct sock;
16 int inet_release(struct socket *sock);
17 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
19 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
21 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
23 int inet_accept(struct socket *sock, struct socket *newsock, int flags);
24 int inet_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
26 ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset,
28 int inet_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
30 int inet_shutdown(struct socket *sock, int how);
[all …]
Dinet_connection_sock.h39 int (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
40 void (*send_check)(struct sock *sk, struct sk_buff *skb);
41 int (*rebuild_header)(struct sock *sk);
42 void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb);
43 int (*conn_request)(struct sock *sk, struct sk_buff *skb);
44 struct sock *(*syn_recv_sock)(struct sock *sk, struct sk_buff *skb,
50 int (*setsockopt)(struct sock *sk, int level, int optname,
52 int (*getsockopt)(struct sock *sk, int level, int optname,
55 int (*compat_setsockopt)(struct sock *sk,
58 int (*compat_getsockopt)(struct sock *sk,
[all …]
Dnetrom.h64 struct sock sock; member
187 void nr_destroy_socket(struct sock *);
194 int nr_process_rx_frame(struct sock *, struct sk_buff *);
202 void nr_output(struct sock *, struct sk_buff *);
203 void nr_send_nak_frame(struct sock *);
204 void nr_kick(struct sock *);
205 void nr_transmit_buffer(struct sock *, struct sk_buff *);
206 void nr_establish_data_link(struct sock *);
207 void nr_enquiry_response(struct sock *);
208 void nr_check_iframes_acked(struct sock *, unsigned short);
[all …]
Dtcp.h53 void tcp_time_wait(struct sock *sk, int state, int timeo);
302 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory()
310 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) in tcp_too_many_orphans()
323 bool tcp_check_oom(struct sock *sk, int shift);
326 static inline void tcp_synq_overflow(struct sock *sk) in tcp_synq_overflow()
332 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow()
350 void tcp_shutdown(struct sock *sk, int how);
356 int tcp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
358 int tcp_sendpage(struct sock *sk, struct page *page, int offset, size_t size,
360 void tcp_release_cb(struct sock *sk);
[all …]
Dsock.h103 void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) in SOCK_DEBUG()
127 struct sock;
301 struct sock { struct
429 void (*sk_state_change)(struct sock *sk); argument
430 void (*sk_data_ready)(struct sock *sk); argument
431 void (*sk_write_space)(struct sock *sk); argument
432 void (*sk_error_report)(struct sock *sk); argument
433 int (*sk_backlog_rcv)(struct sock *sk, argument
435 void (*sk_destruct)(struct sock *sk); argument
454 static inline int sk_peek_offset(struct sock *sk, int flags) in sk_peek_offset()
[all …]
Dinet6_connection_sock.h22 struct sock;
25 int inet6_csk_bind_conflict(const struct sock *sk,
28 struct dst_entry *inet6_csk_route_req(struct sock *sk, struct flowi6 *fl6,
31 struct request_sock *inet6_csk_search_req(const struct sock *sk,
38 void inet6_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
41 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
43 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
45 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
Dx25.h148 struct sock sk;
177 static inline struct x25_sock *x25_sk(const struct sock *sk) in x25_sk()
196 struct sock *x25_find_socket(unsigned int, struct x25_neigh *);
197 void x25_destroy_socket_from_timer(struct sock *);
213 int x25_negotiate_facilities(struct sk_buff *, struct sock *,
226 int x25_process_rx_frame(struct sock *, struct sk_buff *);
227 int x25_backlog_rcv(struct sock *, struct sk_buff *);
255 int x25_output(struct sock *, struct sk_buff *);
256 void x25_kick(struct sock *);
257 void x25_enquiry_response(struct sock *);
[all …]
Drose.h126 struct sock sock; member
167 struct sock *rose_find_socket(unsigned int, struct rose_neigh *);
172 void rose_destroy_socket(struct sock *);
178 int rose_process_rx_frame(struct sock *, struct sk_buff *);
197 void rose_kick(struct sock *);
198 void rose_enquiry_response(struct sock *);
222 void rose_clear_queues(struct sock *);
223 void rose_frames_acked(struct sock *, unsigned short);
224 void rose_requeue_frames(struct sock *);
225 int rose_validate_nr(struct sock *, unsigned short);
[all …]
Dllc_conn.h34 struct sock sk;
83 static inline struct llc_sock *llc_sk(const struct sock *sk) in llc_sk()
98 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority,
100 void llc_sk_free(struct sock *sk);
102 void llc_sk_reset(struct sock *sk);
105 int llc_conn_state_process(struct sock *sk, struct sk_buff *skb);
106 void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb);
107 void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb);
108 void llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr, u8 first_p_bit);
109 void llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr, u8 first_f_bit);
[all …]
Drawv6.h10 int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
13 int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
15 int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
Dcompat.h5 struct sock;
32 int compat_sock_get_timestamp(struct sock *, struct timeval __user *);
33 int compat_sock_get_timestampns(struct sock *, struct timespec __user *);
59 int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *,
62 int compat_mc_setsockopt(struct sock *, int, int, char __user *, unsigned int,
63 int (*)(struct sock *, int, int, char __user *,
65 int compat_mc_getsockopt(struct sock *, int, int, char __user *, int __user *,
66 int (*)(struct sock *, int, int, char __user *,
Dtimewait_sock.h22 int (*twsk_unique)(struct sock *sk,
23 struct sock *sktw, void *twp);
24 void (*twsk_destructor)(struct sock *sk);
27 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in twsk_unique()
34 static inline void twsk_destructor(struct sock *sk) in twsk_destructor()
Ddn_nsp.h18 void dn_nsp_send_data_ack(struct sock *sk);
19 void dn_nsp_send_oth_ack(struct sock *sk);
20 void dn_nsp_delayed_ack(struct sock *sk);
21 void dn_send_conn_ack(struct sock *sk);
22 void dn_send_conn_conf(struct sock *sk, gfp_t gfp);
23 void dn_nsp_send_disc(struct sock *sk, unsigned char type,
27 void dn_nsp_send_link(struct sock *sk, unsigned char lsflags, char fcval);
28 void dn_nsp_send_conninit(struct sock *sk, unsigned char flags);
30 void dn_nsp_output(struct sock *sk);
31 int dn_nsp_check_xmit_queue(struct sock *sk, struct sk_buff *skb,
[all …]
Dping.h34 int (*ipv6_recv_error)(struct sock *sk, struct msghdr *msg, int len,
36 void (*ip6_datagram_recv_common_ctl)(struct sock *sk,
39 void (*ip6_datagram_recv_specific_ctl)(struct sock *sk,
43 void (*ipv6_icmp_error)(struct sock *sk, struct sk_buff *skb, int err,
67 int ping_get_port(struct sock *sk, unsigned short ident);
68 void ping_hash(struct sock *sk);
69 void ping_unhash(struct sock *sk);
71 int ping_init_sock(struct sock *sk);
72 void ping_close(struct sock *sk, long timeout);
73 int ping_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len);
[all …]
Dtransp_v6.h33 int udpv6_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
36 void ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg,
38 void ip6_datagram_recv_common_ctl(struct sock *sk, struct msghdr *msg,
40 void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg,
43 int ip6_datagram_send_ctl(struct net *net, struct sock *sk, struct msghdr *msg,
47 void ip6_dgram_sock_seq_show(struct seq_file *seq, struct sock *sp,
55 void inet6_destroy_sock(struct sock *sk);
Daf_vsock.h32 struct sock sk;
50 struct sock *listener;
74 struct sock *__vsock_create(struct net *net,
75 struct socket *sock,
76 struct sock *parent,
167 void vsock_release_pending(struct sock *pending);
168 void vsock_add_pending(struct sock *listener, struct sock *pending);
169 void vsock_remove_pending(struct sock *listener, struct sock *pending);
170 void vsock_enqueue_accept(struct sock *listener, struct sock *connected);
174 struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr);
[all …]
/include/net/phonet/
Dgprs.h28 struct sock;
31 int pep_writeable(struct sock *sk);
32 int pep_write(struct sock *sk, struct sk_buff *skb);
33 struct sk_buff *pep_read(struct sock *sk);
35 int gprs_attach(struct sock *sk);
36 void gprs_detach(struct sock *sk);
Dphonet.h37 struct sock sk;
43 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
51 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
54 void pn_sock_hash(struct sock *sk);
55 void pn_sock_unhash(struct sock *sk);
56 int pn_sock_get_port(struct sock *sk, unsigned short sport);
58 struct sock *pn_find_sock_by_res(struct net *net, u8 res);
59 int pn_sock_bind_res(struct sock *sock, u8 res);
60 int pn_sock_unbind_res(struct sock *sk, u8 res);
61 void pn_sock_unbind_all_res(struct sock *sk);
[all …]
/include/linux/
Dnet.h117 struct sock *sk;
131 int (*release) (struct socket *sock);
132 int (*bind) (struct socket *sock,
135 int (*connect) (struct socket *sock,
140 int (*accept) (struct socket *sock,
142 int (*getname) (struct socket *sock,
145 unsigned int (*poll) (struct file *file, struct socket *sock,
147 int (*ioctl) (struct socket *sock, unsigned int cmd,
150 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
153 int (*listen) (struct socket *sock, int len);
[all …]
Dmroute6.h22 struct sock;
25 extern int ip6_mroute_setsockopt(struct sock *, int, char __user *, unsigned int);
26 extern int ip6_mroute_getsockopt(struct sock *, int, char __user *, int __user *);
28 extern int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg);
29 extern int ip6mr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
34 int ip6_mroute_setsockopt(struct sock *sock, in ip6_mroute_setsockopt() argument
41 int ip6_mroute_getsockopt(struct sock *sock, in ip6_mroute_getsockopt() argument
48 int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg) in ip6mr_ioctl()
121 extern struct sock *mroute6_socket(struct net *net, struct sk_buff *skb);
122 extern int ip6mr_sk_done(struct sock *sk);
[all …]
Dnetlink.h30 struct sock *sk;
51 bool (*compare)(struct net *net, struct sock *sk);
54 extern struct sock *__netlink_kernel_create(struct net *net, int unit,
57 static inline struct sock *
63 extern void netlink_kernel_release(struct sock *sk);
64 extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups);
65 extern int netlink_change_ngroups(struct sock *sk, unsigned int groups);
66 extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
68 extern int netlink_has_listeners(struct sock *sk, unsigned int group);
69 extern struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size,
[all …]
Dif_pppox.h51 int (*backlog_rcv)(struct sock *sk_udp, struct sk_buff *skb);
59 void (*data_ready)(struct sock *sk_raw);
60 int (*backlog_rcv)(struct sock *sk_raw, struct sk_buff *skb);
67 struct sock sk;
83 static inline struct pppox_sock *pppox_sk(struct sock *sk) in pppox_sk()
88 static inline struct sock *sk_pppox(struct pppox_sock *po) in sk_pppox()
90 return (struct sock *)po; in sk_pppox()
96 int (*create)(struct net *net, struct socket *sock);
97 int (*ioctl)(struct socket *sock, unsigned int cmd,
104 extern void pppox_unbind_sock(struct sock *sk);/* delete ppp-channel binding */
[all …]
/include/crypto/
Dif_alg.h29 struct sock sk;
31 struct sock *parent;
54 int (*accept)(void *private, struct sock *sk);
55 int (*accept_nokey)(void *private, struct sock *sk);
71 int af_alg_release(struct socket *sock);
72 void af_alg_release_parent(struct sock *sk);
73 int af_alg_accept(struct sock *sk, struct socket *newsock);
84 static inline struct alg_sock *alg_sk(struct sock *sk) in alg_sk()

12345