Lines Matching defs:sk
109 static void sctp_enter_memory_pressure(struct sock *sk) in sctp_enter_memory_pressure()
151 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
172 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
195 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
233 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport()
268 static int sctp_bind(struct sock *sk, struct sockaddr *addr, int addr_len) in sctp_bind()
322 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
448 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add()
498 static int sctp_send_asconf_add_ip(struct sock *sk, in sctp_send_asconf_add_ip()
622 static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem()
701 static int sctp_send_asconf_del_ip(struct sock *sk, in sctp_send_asconf_del_ip()
857 struct sock *sk = sctp_opt2sk(sp); in sctp_asconf_mgmt() local
952 static int sctp_setsockopt_bindx(struct sock *sk, in sctp_setsockopt_bindx()
1039 static int __sctp_connect(struct sock *sk, in __sctp_connect()
1299 static int __sctp_setsockopt_connectx(struct sock *sk, in __sctp_setsockopt_connectx()
1337 static int sctp_setsockopt_connectx_old(struct sock *sk, in sctp_setsockopt_connectx_old()
1350 static int sctp_setsockopt_connectx(struct sock *sk, in sctp_setsockopt_connectx()
1381 static int sctp_getsockopt_connectx3(struct sock *sk, int len, in sctp_getsockopt_connectx3()
1473 static void sctp_close(struct sock *sk, long timeout) in sctp_close()
1551 static int sctp_error(struct sock *sk, int flags, int err) in sctp_error()
1585 static int sctp_sendmsg(struct sock *sk, struct msghdr *msg, size_t msg_len) in sctp_sendmsg()
2064 static int sctp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in sctp_recvmsg()
2180 static int sctp_setsockopt_disable_fragments(struct sock *sk, in sctp_setsockopt_disable_fragments()
2197 static int sctp_setsockopt_events(struct sock *sk, char __user *optval, in sctp_setsockopt_events()
2246 static int sctp_setsockopt_autoclose(struct sock *sk, char __user *optval, in sctp_setsockopt_autoclose()
2505 static int sctp_setsockopt_peer_addr_params(struct sock *sk, in sctp_setsockopt_peer_addr_params()
2628 static int sctp_setsockopt_delayed_ack(struct sock *sk, in sctp_setsockopt_delayed_ack()
2738 static int sctp_setsockopt_initmsg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_initmsg()
2774 static int sctp_setsockopt_default_send_param(struct sock *sk, in sctp_setsockopt_default_send_param()
2814 static int sctp_setsockopt_default_sndinfo(struct sock *sk, in sctp_setsockopt_default_sndinfo()
2855 static int sctp_setsockopt_primary_addr(struct sock *sk, char __user *optval, in sctp_setsockopt_primary_addr()
2884 static int sctp_setsockopt_nodelay(struct sock *sk, char __user *optval, in sctp_setsockopt_nodelay()
2910 static int sctp_setsockopt_rtoinfo(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_rtoinfo()
2975 static int sctp_setsockopt_associnfo(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_associnfo()
3042 static int sctp_setsockopt_mappedv4(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_mappedv4()
3086 static int sctp_setsockopt_maxseg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_maxseg()
3141 static int sctp_setsockopt_peer_primary_addr(struct sock *sk, char __user *optval, in sctp_setsockopt_peer_primary_addr()
3199 static int sctp_setsockopt_adaptation_layer(struct sock *sk, char __user *optval, in sctp_setsockopt_adaptation_layer()
3228 static int sctp_setsockopt_context(struct sock *sk, char __user *optval, in sctp_setsockopt_context()
3278 static int sctp_setsockopt_fragment_interleave(struct sock *sk, in sctp_setsockopt_fragment_interleave()
3311 static int sctp_setsockopt_partial_delivery_point(struct sock *sk, in sctp_setsockopt_partial_delivery_point()
3344 static int sctp_setsockopt_maxburst(struct sock *sk, in sctp_setsockopt_maxburst()
3390 static int sctp_setsockopt_auth_chunk(struct sock *sk, in sctp_setsockopt_auth_chunk()
3423 static int sctp_setsockopt_hmac_ident(struct sock *sk, in sctp_setsockopt_hmac_ident()
3461 static int sctp_setsockopt_auth_key(struct sock *sk, in sctp_setsockopt_auth_key()
3503 static int sctp_setsockopt_active_key(struct sock *sk, in sctp_setsockopt_active_key()
3531 static int sctp_setsockopt_del_key(struct sock *sk, in sctp_setsockopt_del_key()
3569 static int sctp_setsockopt_auto_asconf(struct sock *sk, char __user *optval, in sctp_setsockopt_auto_asconf()
3604 static int sctp_setsockopt_paddr_thresholds(struct sock *sk, in sctp_setsockopt_paddr_thresholds()
3647 static int sctp_setsockopt_recvrcvinfo(struct sock *sk, in sctp_setsockopt_recvrcvinfo()
3663 static int sctp_setsockopt_recvnxtinfo(struct sock *sk, in sctp_setsockopt_recvnxtinfo()
3698 static int sctp_setsockopt(struct sock *sk, int level, int optname, in sctp_setsockopt()
3866 static int sctp_connect(struct sock *sk, struct sockaddr *addr, in sctp_connect()
3893 static int sctp_disconnect(struct sock *sk, int flags) in sctp_disconnect()
3905 static struct sock *sctp_accept(struct sock *sk, int flags, int *err) in sctp_accept()
3958 static int sctp_ioctl(struct sock *sk, int cmd, unsigned long arg) in sctp_ioctl()
4000 static int sctp_init_sock(struct sock *sk) in sctp_init_sock()
4149 static void sctp_destroy_sock(struct sock *sk) in sctp_destroy_sock()
4175 static void sctp_destruct_sock(struct sock *sk) in sctp_destruct_sock()
4201 static void sctp_shutdown(struct sock *sk, int how) in sctp_shutdown()
4227 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, in sctp_getsockopt_sctp_status()
4307 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
4362 static int sctp_getsockopt_disable_fragments(struct sock *sk, int len, in sctp_getsockopt_disable_fragments()
4384 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
4409 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
4425 int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp) in sctp_do_peeloff()
4464 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
4608 static int sctp_getsockopt_peer_addr_params(struct sock *sk, int len, in sctp_getsockopt_peer_addr_params()
4717 static int sctp_getsockopt_delayed_ack(struct sock *sk, int len, in sctp_getsockopt_delayed_ack()
4791 static int sctp_getsockopt_initmsg(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_initmsg()
4804 static int sctp_getsockopt_peer_addrs(struct sock *sk, int len, in sctp_getsockopt_peer_addrs()
4855 static int sctp_copy_laddrs(struct sock *sk, __u16 port, void *to, in sctp_copy_laddrs()
4900 static int sctp_getsockopt_local_addrs(struct sock *sk, int len, in sctp_getsockopt_local_addrs()
5005 static int sctp_getsockopt_primary_addr(struct sock *sk, int len, in sctp_getsockopt_primary_addr()
5047 static int sctp_getsockopt_adaptation_layer(struct sock *sk, int len, in sctp_getsockopt_adaptation_layer()
5086 static int sctp_getsockopt_default_send_param(struct sock *sk, in sctp_getsockopt_default_send_param()
5130 static int sctp_getsockopt_default_sndinfo(struct sock *sk, int len, in sctp_getsockopt_default_sndinfo()
5179 static int sctp_getsockopt_nodelay(struct sock *sk, int len, in sctp_getsockopt_nodelay()
5208 static int sctp_getsockopt_rtoinfo(struct sock *sk, int len, in sctp_getsockopt_rtoinfo()
5261 static int sctp_getsockopt_associnfo(struct sock *sk, int len, in sctp_getsockopt_associnfo()
5329 static int sctp_getsockopt_mappedv4(struct sock *sk, int len, in sctp_getsockopt_mappedv4()
5352 static int sctp_getsockopt_context(struct sock *sk, int len, in sctp_getsockopt_context()
5413 static int sctp_getsockopt_maxseg(struct sock *sk, int len, in sctp_getsockopt_maxseg()
5459 static int sctp_getsockopt_fragment_interleave(struct sock *sk, int len, in sctp_getsockopt_fragment_interleave()
5482 static int sctp_getsockopt_partial_delivery_point(struct sock *sk, int len, in sctp_getsockopt_partial_delivery_point()
5506 static int sctp_getsockopt_maxburst(struct sock *sk, int len, in sctp_getsockopt_maxburst()
5550 static int sctp_getsockopt_hmac_ident(struct sock *sk, int len, in sctp_getsockopt_hmac_ident()
5585 static int sctp_getsockopt_active_key(struct sock *sk, int len, in sctp_getsockopt_active_key()
5618 static int sctp_getsockopt_peer_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_peer_auth_chunks()
5663 static int sctp_getsockopt_local_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_local_auth_chunks()
5717 static int sctp_getsockopt_assoc_number(struct sock *sk, int len, in sctp_getsockopt_assoc_number()
5748 static int sctp_getsockopt_auto_asconf(struct sock *sk, int len, in sctp_getsockopt_auto_asconf()
5773 static int sctp_getsockopt_assoc_ids(struct sock *sk, int len, in sctp_getsockopt_assoc_ids()
5822 static int sctp_getsockopt_paddr_thresholds(struct sock *sk, in sctp_getsockopt_paddr_thresholds()
5866 static int sctp_getsockopt_assoc_stats(struct sock *sk, int len, in sctp_getsockopt_assoc_stats()
5924 static int sctp_getsockopt_recvrcvinfo(struct sock *sk, int len, in sctp_getsockopt_recvrcvinfo()
5944 static int sctp_getsockopt_recvnxtinfo(struct sock *sk, int len, in sctp_getsockopt_recvnxtinfo()
5964 static int sctp_getsockopt(struct sock *sk, int level, int optname, in sctp_getsockopt()
6126 static void sctp_hash(struct sock *sk) in sctp_hash()
6131 static void sctp_unhash(struct sock *sk) in sctp_unhash()
6151 static long sctp_get_port_local(struct sock *sk, union sctp_addr *addr) in sctp_get_port_local()
6304 static int sctp_get_port(struct sock *sk, unsigned short snum) in sctp_get_port()
6320 static int sctp_listen_start(struct sock *sk, int backlog) in sctp_listen_start()
6382 struct sock *sk = sock->sk; in sctp_inet_listen() local
6441 struct sock *sk = sock->sk; in sctp_poll() local
6524 static inline void __sctp_put_port(struct sock *sk) in __sctp_put_port()
6540 void sctp_put_port(struct sock *sk) in sctp_put_port()
6553 static int sctp_autobind(struct sock *sk) in sctp_autobind()
6702 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet()
6760 struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags, in sctp_skb_recv_datagram()
6821 struct sock *sk = asoc->base.sk; in __sctp_write_space() local
6845 static void sctp_wake_up_waiters(struct sock *sk, in sctp_wake_up_waiters()
6893 struct sock *sk = asoc->base.sk; in sctp_wfree() local
6920 struct sock *sk = skb->sk; in sctp_sock_rfree() local
6936 struct sock *sk = asoc->base.sk; in sctp_wait_for_sndbuf() local
6993 void sctp_data_ready(struct sock *sk) in sctp_data_ready()
7007 void sctp_write_space(struct sock *sk) in sctp_write_space()
7028 static int sctp_writeable(struct sock *sk) in sctp_writeable()
7043 struct sock *sk = asoc->base.sk; in sctp_wait_for_connect() local
7103 static int sctp_wait_for_accept(struct sock *sk, long timeo) in sctp_wait_for_accept()
7144 static void sctp_wait_for_close(struct sock *sk, long timeout) in sctp_wait_for_close()
7160 static void sctp_skb_set_owner_r_frag(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r_frag()
7175 void sctp_copy_sock(struct sock *newsk, struct sock *sk, in sctp_copy_sock()
7401 static void sctp_v6_destroy_sock(struct sock *sk) in sctp_v6_destroy_sock()