Lines Matching defs:sk
116 struct sock *sk = asoc->base.sk; in sctp_wspace() local
137 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
151 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
174 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
206 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport()
243 SCTP_STATIC int sctp_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in sctp_bind()
290 SCTP_STATIC int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
412 int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add()
462 static int sctp_send_asconf_add_ip(struct sock *sk, in sctp_send_asconf_add_ip()
569 int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem()
651 static int sctp_send_asconf_del_ip(struct sock *sk, in sctp_send_asconf_del_ip()
818 SCTP_STATIC int sctp_setsockopt_bindx(struct sock* sk, struct sockaddr *addrs, in sctp_setsockopt_bindx()
944 SCTP_STATIC void sctp_close(struct sock *sk, long timeout) in sctp_close()
1015 static int sctp_error(struct sock *sk, int flags, int err) in sctp_error()
1049 SCTP_STATIC int sctp_sendmsg(struct sock *sk, struct msghdr *msg, int msg_len) in sctp_sendmsg()
1495 SCTP_STATIC int sctp_recvmsg(struct sock *sk, struct msghdr *msg, int len, in sctp_recvmsg()
1604 static int sctp_setsockopt_disable_fragments(struct sock *sk, in sctp_setsockopt_disable_fragments()
1620 static int sctp_setsockopt_events(struct sock *sk, char *optval, in sctp_setsockopt_events()
1641 static int sctp_setsockopt_autoclose(struct sock *sk, char *optval, in sctp_setsockopt_autoclose()
1689 static int sctp_setsockopt_peer_addr_params(struct sock *sk, in sctp_setsockopt_peer_addr_params()
1783 static int sctp_setsockopt_initmsg(struct sock *sk, char *optval, int optlen) in sctp_setsockopt_initmsg()
1819 static int sctp_setsockopt_default_send_param(struct sock *sk, in sctp_setsockopt_default_send_param()
1858 static int sctp_setsockopt_primary_addr(struct sock *sk, char *optval, in sctp_setsockopt_primary_addr()
1887 static int sctp_setsockopt_nodelay(struct sock *sk, char *optval, in sctp_setsockopt_nodelay()
1913 static int sctp_setsockopt_rtoinfo(struct sock *sk, char *optval, int optlen) { in sctp_setsockopt_rtoinfo()
1965 static int sctp_setsockopt_associnfo(struct sock *sk, char *optval, int optlen) in sctp_setsockopt_associnfo()
2016 static int sctp_setsockopt_mappedv4(struct sock *sk, char *optval, int optlen) in sctp_setsockopt_mappedv4()
2043 static int sctp_setsockopt_maxseg(struct sock *sk, char *optval, int optlen) in sctp_setsockopt_maxseg()
2078 static int sctp_setsockopt_peer_primary_addr(struct sock *sk, char *optval, in sctp_setsockopt_peer_primary_addr()
2129 static int sctp_setsockopt_adaption_layer(struct sock *sk, char __user *optval, in sctp_setsockopt_adaption_layer()
2163 SCTP_STATIC int sctp_setsockopt(struct sock *sk, int level, int optname, in sctp_setsockopt()
2273 SCTP_STATIC int sctp_connect(struct sock *sk, struct sockaddr *uaddr, in sctp_connect()
2383 SCTP_STATIC int sctp_disconnect(struct sock *sk, int flags) in sctp_disconnect()
2395 SCTP_STATIC struct sock *sctp_accept(struct sock *sk, int flags, int *err) in sctp_accept()
2448 SCTP_STATIC int sctp_ioctl(struct sock *sk, int cmd, unsigned long arg) in sctp_ioctl()
2457 SCTP_STATIC int sctp_init_sock(struct sock *sk) in sctp_init_sock()
2569 SCTP_STATIC int sctp_destroy_sock(struct sock *sk) in sctp_destroy_sock()
2598 SCTP_STATIC void sctp_shutdown(struct sock *sk, int how) in sctp_shutdown()
2623 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, char *optval, in sctp_getsockopt_sctp_status()
2698 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
2748 static int sctp_getsockopt_disable_fragments(struct sock *sk, int len, in sctp_getsockopt_disable_fragments()
2770 static int sctp_getsockopt_events(struct sock *sk, int len, char *optval, in sctp_getsockopt_events()
2791 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char *optval, int *optlen) in sctp_getsockopt_autoclose()
2807 struct sock *sk = asoc->base.sk; in sctp_do_peeloff() local
2831 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char *optval, int *optlen) in sctp_getsockopt_peeloff()
2905 static int sctp_getsockopt_peer_addr_params(struct sock *sk, int len, in sctp_getsockopt_peer_addr_params()
2967 static int sctp_getsockopt_initmsg(struct sock *sk, int len, char *optval, int *optlen) in sctp_getsockopt_initmsg()
2976 static int sctp_getsockopt_peer_addrs_num(struct sock *sk, int len, in sctp_getsockopt_peer_addrs_num()
3002 static int sctp_getsockopt_peer_addrs(struct sock *sk, int len, in sctp_getsockopt_peer_addrs()
3048 static int sctp_getsockopt_local_addrs_num(struct sock *sk, int len, in sctp_getsockopt_local_addrs_num()
3122 static int sctp_copy_laddrs_to_user(struct sock *sk, __u16 port, int max_addrs, in sctp_copy_laddrs_to_user()
3156 static int sctp_getsockopt_local_addrs(struct sock *sk, int len, in sctp_getsockopt_local_addrs()
3250 static int sctp_getsockopt_primary_addr(struct sock *sk, int len, in sctp_getsockopt_primary_addr()
3292 static int sctp_getsockopt_adaption_layer(struct sock *sk, int len, in sctp_getsockopt_adaption_layer()
3328 static int sctp_getsockopt_default_send_param(struct sock *sk, in sctp_getsockopt_default_send_param()
3374 static int sctp_getsockopt_nodelay(struct sock *sk, int len, in sctp_getsockopt_nodelay()
3403 static int sctp_getsockopt_rtoinfo(struct sock *sk, int len, char *optval, in sctp_getsockopt_rtoinfo()
3453 static int sctp_getsockopt_associnfo(struct sock *sk, int len, char *optval, in sctp_getsockopt_associnfo()
3522 static int sctp_getsockopt_mappedv4(struct sock *sk, int len, in sctp_getsockopt_mappedv4()
3551 static int sctp_getsockopt_maxseg(struct sock *sk, int len, in sctp_getsockopt_maxseg()
3570 SCTP_STATIC int sctp_getsockopt(struct sock *sk, int level, int optname, in sctp_getsockopt()
3675 static void sctp_hash(struct sock *sk) in sctp_hash()
3680 static void sctp_unhash(struct sock *sk) in sctp_unhash()
3700 static long sctp_get_port_local(struct sock *sk, union sctp_addr *addr) in sctp_get_port_local()
3866 static int sctp_get_port(struct sock *sk, unsigned short snum) in sctp_get_port()
3889 SCTP_STATIC int sctp_seqpacket_listen(struct sock *sk, int backlog) in sctp_seqpacket_listen()
3943 SCTP_STATIC int sctp_stream_listen(struct sock *sk, int backlog) in sctp_stream_listen()
3985 struct sock *sk = sock->sk; in sctp_inet_listen() local
4046 struct sock *sk = sock->sk; in sctp_poll() local
4120 static __inline__ void __sctp_put_port(struct sock *sk) in __sctp_put_port()
4142 void sctp_put_port(struct sock *sk) in sctp_put_port()
4155 static int sctp_autobind(struct sock *sk) in sctp_autobind()
4284 static int sctp_wait_for_packet(struct sock * sk, int *err, long *timeo_p) in sctp_wait_for_packet()
4345 static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags, in sctp_skb_recv_datagram()
4406 struct sock *sk = asoc->base.sk; in __sctp_write_space() local
4436 struct sock *sk; in sctp_wfree() local
4453 struct sock *sk = asoc->base.sk; in sctp_wait_for_sndbuf() local
4513 void sctp_write_space(struct sock *sk) in sctp_write_space()
4536 static int sctp_writeable(struct sock *sk) in sctp_writeable()
4551 struct sock *sk = asoc->base.sk; in sctp_wait_for_connect() local
4614 static int sctp_wait_for_accept(struct sock *sk, long timeo) in sctp_wait_for_accept()
4655 void sctp_wait_for_close(struct sock *sk, long timeout) in sctp_wait_for_close()