Lines Matching refs:sock
101 int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb);
102 int sctp_inet_listen(struct socket *sock, int backlog);
103 void sctp_write_space(struct sock *sk);
104 void sctp_data_ready(struct sock *sk);
105 unsigned int sctp_poll(struct file *file, struct socket *sock,
108 void sctp_copy_sock(struct sock *newsk, struct sock *sk,
112 struct sk_buff *sctp_skb_recv_datagram(struct sock *, int, int, int *);
133 struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *,
136 void sctp_err_finish(struct sock *, struct sctp_association *);
137 void sctp_icmp_frag_needed(struct sock *, struct sctp_association *,
139 void sctp_icmp_redirect(struct sock *, struct sctp_transport *,
141 void sctp_icmp_proto_unreachable(struct sock *sk,
145 struct sock *oldsk, struct sock *newsk);
340 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id);
342 int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp);
388 static inline void sctp_skb_set_owner_r(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r()
425 static inline void sctp_assoc_pending_pmtu(struct sock *sk, struct sctp_association *asoc) in sctp_assoc_pending_pmtu()
476 void sctp_put_port(struct sock *sk);
546 static inline int __sctp_style(const struct sock *sk, sctp_socket_type_t style) in __sctp_style()
561 static inline int __sctp_sstate(const struct sock *sk, sctp_sock_state_t state) in __sctp_sstate()