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()
1340 static int sctp_setsockopt_connectx_old(struct sock *sk, in sctp_setsockopt_connectx_old()
1353 static int sctp_setsockopt_connectx(struct sock *sk, in sctp_setsockopt_connectx()
1384 static int sctp_getsockopt_connectx3(struct sock *sk, int len, in sctp_getsockopt_connectx3()
1476 static void sctp_close(struct sock *sk, long timeout) in sctp_close()
1554 static int sctp_error(struct sock *sk, int flags, int err) in sctp_error()
1588 static int sctp_sendmsg(struct sock *sk, struct msghdr *msg, size_t msg_len) in sctp_sendmsg()
2063 static int sctp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in sctp_recvmsg()
2173 static int sctp_setsockopt_disable_fragments(struct sock *sk, in sctp_setsockopt_disable_fragments()
2190 static int sctp_setsockopt_events(struct sock *sk, char __user *optval, in sctp_setsockopt_events()
2233 static int sctp_setsockopt_autoclose(struct sock *sk, char __user *optval, in sctp_setsockopt_autoclose()
2492 static int sctp_setsockopt_peer_addr_params(struct sock *sk, in sctp_setsockopt_peer_addr_params()
2615 static int sctp_setsockopt_delayed_ack(struct sock *sk, in sctp_setsockopt_delayed_ack()
2725 static int sctp_setsockopt_initmsg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_initmsg()
2761 static int sctp_setsockopt_default_send_param(struct sock *sk, in sctp_setsockopt_default_send_param()
2801 static int sctp_setsockopt_default_sndinfo(struct sock *sk, in sctp_setsockopt_default_sndinfo()
2842 static int sctp_setsockopt_primary_addr(struct sock *sk, char __user *optval, in sctp_setsockopt_primary_addr()
2871 static int sctp_setsockopt_nodelay(struct sock *sk, char __user *optval, in sctp_setsockopt_nodelay()
2897 static int sctp_setsockopt_rtoinfo(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_rtoinfo()
2962 static int sctp_setsockopt_associnfo(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_associnfo()
3029 static int sctp_setsockopt_mappedv4(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_mappedv4()
3073 static int sctp_setsockopt_maxseg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_maxseg()
3128 static int sctp_setsockopt_peer_primary_addr(struct sock *sk, char __user *optval, in sctp_setsockopt_peer_primary_addr()
3186 static int sctp_setsockopt_adaptation_layer(struct sock *sk, char __user *optval, in sctp_setsockopt_adaptation_layer()
3215 static int sctp_setsockopt_context(struct sock *sk, char __user *optval, in sctp_setsockopt_context()
3265 static int sctp_setsockopt_fragment_interleave(struct sock *sk, in sctp_setsockopt_fragment_interleave()
3298 static int sctp_setsockopt_partial_delivery_point(struct sock *sk, in sctp_setsockopt_partial_delivery_point()
3331 static int sctp_setsockopt_maxburst(struct sock *sk, in sctp_setsockopt_maxburst()
3377 static int sctp_setsockopt_auth_chunk(struct sock *sk, in sctp_setsockopt_auth_chunk()
3410 static int sctp_setsockopt_hmac_ident(struct sock *sk, in sctp_setsockopt_hmac_ident()
3448 static int sctp_setsockopt_auth_key(struct sock *sk, in sctp_setsockopt_auth_key()
3490 static int sctp_setsockopt_active_key(struct sock *sk, in sctp_setsockopt_active_key()
3518 static int sctp_setsockopt_del_key(struct sock *sk, in sctp_setsockopt_del_key()
3556 static int sctp_setsockopt_auto_asconf(struct sock *sk, char __user *optval, in sctp_setsockopt_auto_asconf()
3591 static int sctp_setsockopt_paddr_thresholds(struct sock *sk, in sctp_setsockopt_paddr_thresholds()
3634 static int sctp_setsockopt_recvrcvinfo(struct sock *sk, in sctp_setsockopt_recvrcvinfo()
3650 static int sctp_setsockopt_recvnxtinfo(struct sock *sk, in sctp_setsockopt_recvnxtinfo()
3685 static int sctp_setsockopt(struct sock *sk, int level, int optname, in sctp_setsockopt()
3853 static int sctp_connect(struct sock *sk, struct sockaddr *addr, in sctp_connect()
3880 static int sctp_disconnect(struct sock *sk, int flags) in sctp_disconnect()
3892 static struct sock *sctp_accept(struct sock *sk, int flags, int *err) in sctp_accept()
3945 static int sctp_ioctl(struct sock *sk, int cmd, unsigned long arg) in sctp_ioctl()
3987 static int sctp_init_sock(struct sock *sk) in sctp_init_sock()
4136 static void sctp_destroy_sock(struct sock *sk) in sctp_destroy_sock()
4162 static void sctp_destruct_sock(struct sock *sk) in sctp_destruct_sock()
4188 static void sctp_shutdown(struct sock *sk, int how) in sctp_shutdown()
4214 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, in sctp_getsockopt_sctp_status()
4294 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
4349 static int sctp_getsockopt_disable_fragments(struct sock *sk, int len, in sctp_getsockopt_disable_fragments()
4371 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
4396 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
4412 int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp) in sctp_do_peeloff()
4451 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
4595 static int sctp_getsockopt_peer_addr_params(struct sock *sk, int len, in sctp_getsockopt_peer_addr_params()
4704 static int sctp_getsockopt_delayed_ack(struct sock *sk, int len, in sctp_getsockopt_delayed_ack()
4778 static int sctp_getsockopt_initmsg(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_initmsg()
4791 static int sctp_getsockopt_peer_addrs(struct sock *sk, int len, in sctp_getsockopt_peer_addrs()
4842 static int sctp_copy_laddrs(struct sock *sk, __u16 port, void *to, in sctp_copy_laddrs()
4887 static int sctp_getsockopt_local_addrs(struct sock *sk, int len, in sctp_getsockopt_local_addrs()
4992 static int sctp_getsockopt_primary_addr(struct sock *sk, int len, in sctp_getsockopt_primary_addr()
5034 static int sctp_getsockopt_adaptation_layer(struct sock *sk, int len, in sctp_getsockopt_adaptation_layer()
5073 static int sctp_getsockopt_default_send_param(struct sock *sk, in sctp_getsockopt_default_send_param()
5117 static int sctp_getsockopt_default_sndinfo(struct sock *sk, int len, in sctp_getsockopt_default_sndinfo()
5166 static int sctp_getsockopt_nodelay(struct sock *sk, int len, in sctp_getsockopt_nodelay()
5195 static int sctp_getsockopt_rtoinfo(struct sock *sk, int len, in sctp_getsockopt_rtoinfo()
5248 static int sctp_getsockopt_associnfo(struct sock *sk, int len, in sctp_getsockopt_associnfo()
5316 static int sctp_getsockopt_mappedv4(struct sock *sk, int len, in sctp_getsockopt_mappedv4()
5339 static int sctp_getsockopt_context(struct sock *sk, int len, in sctp_getsockopt_context()
5400 static int sctp_getsockopt_maxseg(struct sock *sk, int len, in sctp_getsockopt_maxseg()
5446 static int sctp_getsockopt_fragment_interleave(struct sock *sk, int len, in sctp_getsockopt_fragment_interleave()
5469 static int sctp_getsockopt_partial_delivery_point(struct sock *sk, int len, in sctp_getsockopt_partial_delivery_point()
5493 static int sctp_getsockopt_maxburst(struct sock *sk, int len, in sctp_getsockopt_maxburst()
5537 static int sctp_getsockopt_hmac_ident(struct sock *sk, int len, in sctp_getsockopt_hmac_ident()
5572 static int sctp_getsockopt_active_key(struct sock *sk, int len, in sctp_getsockopt_active_key()
5605 static int sctp_getsockopt_peer_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_peer_auth_chunks()
5650 static int sctp_getsockopt_local_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_local_auth_chunks()
5704 static int sctp_getsockopt_assoc_number(struct sock *sk, int len, in sctp_getsockopt_assoc_number()
5735 static int sctp_getsockopt_auto_asconf(struct sock *sk, int len, in sctp_getsockopt_auto_asconf()
5760 static int sctp_getsockopt_assoc_ids(struct sock *sk, int len, in sctp_getsockopt_assoc_ids()
5809 static int sctp_getsockopt_paddr_thresholds(struct sock *sk, in sctp_getsockopt_paddr_thresholds()
5853 static int sctp_getsockopt_assoc_stats(struct sock *sk, int len, in sctp_getsockopt_assoc_stats()
5911 static int sctp_getsockopt_recvrcvinfo(struct sock *sk, int len, in sctp_getsockopt_recvrcvinfo()
5931 static int sctp_getsockopt_recvnxtinfo(struct sock *sk, int len, in sctp_getsockopt_recvnxtinfo()
5951 static int sctp_getsockopt(struct sock *sk, int level, int optname, in sctp_getsockopt()
6113 static void sctp_hash(struct sock *sk) in sctp_hash()
6118 static void sctp_unhash(struct sock *sk) in sctp_unhash()
6138 static long sctp_get_port_local(struct sock *sk, union sctp_addr *addr) in sctp_get_port_local()
6291 static int sctp_get_port(struct sock *sk, unsigned short snum) in sctp_get_port()
6307 static int sctp_listen_start(struct sock *sk, int backlog) in sctp_listen_start()
6369 struct sock *sk = sock->sk; in sctp_inet_listen() local
6428 struct sock *sk = sock->sk; in sctp_poll() local
6511 static inline void __sctp_put_port(struct sock *sk) in __sctp_put_port()
6527 void sctp_put_port(struct sock *sk) in sctp_put_port()
6540 static int sctp_autobind(struct sock *sk) in sctp_autobind()
6689 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet()
6747 struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags, in sctp_skb_recv_datagram()
6808 struct sock *sk = asoc->base.sk; in __sctp_write_space() local
6836 static void sctp_wake_up_waiters(struct sock *sk, in sctp_wake_up_waiters()
6884 struct sock *sk = asoc->base.sk; in sctp_wfree() local
6911 struct sock *sk = skb->sk; in sctp_sock_rfree() local
6927 struct sock *sk = asoc->base.sk; in sctp_wait_for_sndbuf() local
6984 void sctp_data_ready(struct sock *sk) in sctp_data_ready()
6998 void sctp_write_space(struct sock *sk) in sctp_write_space()
7019 static int sctp_writeable(struct sock *sk) in sctp_writeable()
7034 struct sock *sk = asoc->base.sk; in sctp_wait_for_connect() local
7094 static int sctp_wait_for_accept(struct sock *sk, long timeo) in sctp_wait_for_accept()
7135 static void sctp_wait_for_close(struct sock *sk, long timeout) in sctp_wait_for_close()
7151 static void sctp_skb_set_owner_r_frag(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r_frag()
7166 void sctp_copy_sock(struct sock *newsk, struct sock *sk, in sctp_copy_sock()
7394 static void sctp_v6_destroy_sock(struct sock *sk) in sctp_v6_destroy_sock()