Lines Matching refs:sock
81 #include <net/sock.h>
117 extern struct sock *sctp_get_ctl_sock(void);
128 int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb);
129 int sctp_inet_listen(struct socket *sock, int backlog);
130 void sctp_write_space(struct sock *sk);
131 void sctp_data_ready(struct sock *sk, int len);
132 unsigned int sctp_poll(struct file *file, struct socket *sock,
135 void sctp_copy_sock(struct sock *newsk, struct sock *sk,
158 struct sock *sctp_err_lookup(int family, struct sk_buff *,
161 void sctp_err_finish(struct sock *, struct sctp_association *);
162 void sctp_icmp_frag_needed(struct sock *, struct sctp_association *,
164 void sctp_icmp_proto_unreachable(struct sock *sk,
168 struct sock *oldsk, struct sock *newsk);
215 /* sock lock wrappers. */
400 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id);
447 static inline void sctp_skb_set_owner_r(struct sk_buff *skb, struct sock *sk)
575 void sctp_put_port(struct sock *sk);
655 static inline int __sctp_style(const struct sock *sk, sctp_socket_type_t style)
670 static inline int __sctp_sstate(const struct sock *sk, sctp_sock_state_t state)