Lines Matching defs:sk

123 static void sctp_enter_memory_pressure(struct sock *sk)  in sctp_enter_memory_pressure()
165 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
186 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
209 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
247 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport()
282 SCTP_STATIC int sctp_bind(struct sock *sk, struct sockaddr *addr, int addr_len) in sctp_bind()
336 SCTP_STATIC int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
464 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add()
514 static int sctp_send_asconf_add_ip(struct sock *sk, in sctp_send_asconf_add_ip()
637 static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem()
716 static int sctp_send_asconf_del_ip(struct sock *sk, in sctp_send_asconf_del_ip()
866 struct sock *sk = sctp_opt2sk(sp); in sctp_asconf_mgmt() local
961 SCTP_STATIC int sctp_setsockopt_bindx(struct sock* sk, in sctp_setsockopt_bindx()
1048 static int __sctp_connect(struct sock* sk, in __sctp_connect()
1301 SCTP_STATIC int __sctp_setsockopt_connectx(struct sock* sk, in __sctp_setsockopt_connectx()
1339 SCTP_STATIC int sctp_setsockopt_connectx_old(struct sock* sk, in sctp_setsockopt_connectx_old()
1352 SCTP_STATIC int sctp_setsockopt_connectx(struct sock* sk, in sctp_setsockopt_connectx()
1375 SCTP_STATIC int sctp_getsockopt_connectx3(struct sock* sk, int len, in sctp_getsockopt_connectx3()
1453 SCTP_STATIC void sctp_close(struct sock *sk, long timeout) in sctp_close()
1529 static int sctp_error(struct sock *sk, int flags, int err) in sctp_error()
1563 SCTP_STATIC int sctp_sendmsg(struct kiocb *iocb, struct sock *sk, in sctp_sendmsg()
2019 SCTP_STATIC int sctp_recvmsg(struct kiocb *iocb, struct sock *sk, in sctp_recvmsg()
2130 static int sctp_setsockopt_disable_fragments(struct sock *sk, in sctp_setsockopt_disable_fragments()
2147 static int sctp_setsockopt_events(struct sock *sk, char __user *optval, in sctp_setsockopt_events()
2191 static int sctp_setsockopt_autoclose(struct sock *sk, char __user *optval, in sctp_setsockopt_autoclose()
2444 static int sctp_setsockopt_peer_addr_params(struct sock *sk, in sctp_setsockopt_peer_addr_params()
2557 static int sctp_setsockopt_delayed_ack(struct sock *sk, in sctp_setsockopt_delayed_ack()
2673 static int sctp_setsockopt_initmsg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_initmsg()
2709 static int sctp_setsockopt_default_send_param(struct sock *sk, in sctp_setsockopt_default_send_param()
2749 static int sctp_setsockopt_primary_addr(struct sock *sk, char __user *optval, in sctp_setsockopt_primary_addr()
2778 static int sctp_setsockopt_nodelay(struct sock *sk, char __user *optval, in sctp_setsockopt_nodelay()
2804 static int sctp_setsockopt_rtoinfo(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_rtoinfo()
2857 static int sctp_setsockopt_associnfo(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_associnfo()
2929 static int sctp_setsockopt_mappedv4(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_mappedv4()
2973 static int sctp_setsockopt_maxseg(struct sock *sk, char __user *optval, unsigned int optlen) in sctp_setsockopt_maxseg()
3025 static int sctp_setsockopt_peer_primary_addr(struct sock *sk, char __user *optval, in sctp_setsockopt_peer_primary_addr()
3082 static int sctp_setsockopt_adaptation_layer(struct sock *sk, char __user *optval, in sctp_setsockopt_adaptation_layer()
3111 static int sctp_setsockopt_context(struct sock *sk, char __user *optval, in sctp_setsockopt_context()
3161 static int sctp_setsockopt_fragment_interleave(struct sock *sk, in sctp_setsockopt_fragment_interleave()
3194 static int sctp_setsockopt_partial_delivery_point(struct sock *sk, in sctp_setsockopt_partial_delivery_point()
3227 static int sctp_setsockopt_maxburst(struct sock *sk, in sctp_setsockopt_maxburst()
3270 static int sctp_setsockopt_auth_chunk(struct sock *sk, in sctp_setsockopt_auth_chunk()
3302 static int sctp_setsockopt_hmac_ident(struct sock *sk, in sctp_setsockopt_hmac_ident()
3339 static int sctp_setsockopt_auth_key(struct sock *sk, in sctp_setsockopt_auth_key()
3380 static int sctp_setsockopt_active_key(struct sock *sk, in sctp_setsockopt_active_key()
3408 static int sctp_setsockopt_del_key(struct sock *sk, in sctp_setsockopt_del_key()
3446 static int sctp_setsockopt_auto_asconf(struct sock *sk, char __user *optval, in sctp_setsockopt_auto_asconf()
3492 SCTP_STATIC int sctp_setsockopt(struct sock *sk, int level, int optname, in sctp_setsockopt()
3649 SCTP_STATIC int sctp_connect(struct sock *sk, struct sockaddr *addr, in sctp_connect()
3676 SCTP_STATIC int sctp_disconnect(struct sock *sk, int flags) in sctp_disconnect()
3688 SCTP_STATIC struct sock *sctp_accept(struct sock *sk, int flags, int *err) in sctp_accept()
3741 SCTP_STATIC int sctp_ioctl(struct sock *sk, int cmd, unsigned long arg) in sctp_ioctl()
3783 SCTP_STATIC int sctp_init_sock(struct sock *sk) in sctp_init_sock()
3916 SCTP_STATIC void sctp_destroy_sock(struct sock *sk) in sctp_destroy_sock()
3951 SCTP_STATIC void sctp_shutdown(struct sock *sk, int how) in sctp_shutdown()
3976 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, in sctp_getsockopt_sctp_status()
4056 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
4111 static int sctp_getsockopt_disable_fragments(struct sock *sk, int len, in sctp_getsockopt_disable_fragments()
4133 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
4157 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
4176 struct sock *sk = asoc->base.sk; in sctp_do_peeloff() local
4210 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
4349 static int sctp_getsockopt_peer_addr_params(struct sock *sk, int len, in sctp_getsockopt_peer_addr_params()
4458 static int sctp_getsockopt_delayed_ack(struct sock *sk, int len, in sctp_getsockopt_delayed_ack()
4529 static int sctp_getsockopt_initmsg(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_initmsg()
4542 static int sctp_getsockopt_peer_addrs(struct sock *sk, int len, in sctp_getsockopt_peer_addrs()
4593 static int sctp_copy_laddrs(struct sock *sk, __u16 port, void *to, in sctp_copy_laddrs()
4637 static int sctp_getsockopt_local_addrs(struct sock *sk, int len, in sctp_getsockopt_local_addrs()
4742 static int sctp_getsockopt_primary_addr(struct sock *sk, int len, in sctp_getsockopt_primary_addr()
4784 static int sctp_getsockopt_adaptation_layer(struct sock *sk, int len, in sctp_getsockopt_adaptation_layer()
4823 static int sctp_getsockopt_default_send_param(struct sock *sk, in sctp_getsockopt_default_send_param()
4875 static int sctp_getsockopt_nodelay(struct sock *sk, int len, in sctp_getsockopt_nodelay()
4904 static int sctp_getsockopt_rtoinfo(struct sock *sk, int len, in sctp_getsockopt_rtoinfo()
4957 static int sctp_getsockopt_associnfo(struct sock *sk, int len, in sctp_getsockopt_associnfo()
5028 static int sctp_getsockopt_mappedv4(struct sock *sk, int len, in sctp_getsockopt_mappedv4()
5051 static int sctp_getsockopt_context(struct sock *sk, int len, in sctp_getsockopt_context()
5112 static int sctp_getsockopt_maxseg(struct sock *sk, int len, in sctp_getsockopt_maxseg()
5155 static int sctp_getsockopt_fragment_interleave(struct sock *sk, int len, in sctp_getsockopt_fragment_interleave()
5178 static int sctp_getsockopt_partial_delivery_point(struct sock *sk, int len, in sctp_getsockopt_partial_delivery_point()
5202 static int sctp_getsockopt_maxburst(struct sock *sk, int len, in sctp_getsockopt_maxburst()
5243 static int sctp_getsockopt_hmac_ident(struct sock *sk, int len, in sctp_getsockopt_hmac_ident()
5272 static int sctp_getsockopt_active_key(struct sock *sk, int len, in sctp_getsockopt_active_key()
5304 static int sctp_getsockopt_peer_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_peer_auth_chunks()
5347 static int sctp_getsockopt_local_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_local_auth_chunks()
5400 static int sctp_getsockopt_assoc_number(struct sock *sk, int len, in sctp_getsockopt_assoc_number()
5431 static int sctp_getsockopt_auto_asconf(struct sock *sk, int len, in sctp_getsockopt_auto_asconf()
5456 static int sctp_getsockopt_assoc_ids(struct sock *sk, int len, in sctp_getsockopt_assoc_ids()
5498 SCTP_STATIC int sctp_getsockopt(struct sock *sk, int level, int optname, in sctp_getsockopt()
5645 static void sctp_hash(struct sock *sk) in sctp_hash()
5650 static void sctp_unhash(struct sock *sk) in sctp_unhash()
5670 static long sctp_get_port_local(struct sock *sk, union sctp_addr *addr) in sctp_get_port_local()
5819 static int sctp_get_port(struct sock *sk, unsigned short snum) in sctp_get_port()
5838 SCTP_STATIC int sctp_listen_start(struct sock *sk, int backlog) in sctp_listen_start()
5900 struct sock *sk = sock->sk; in sctp_inet_listen() local
5959 struct sock *sk = sock->sk; in sctp_poll() local
6040 static inline void __sctp_put_port(struct sock *sk) in __sctp_put_port()
6055 void sctp_put_port(struct sock *sk) in sctp_put_port()
6068 static int sctp_autobind(struct sock *sk) in sctp_autobind()
6198 static int sctp_wait_for_packet(struct sock * sk, int *err, long *timeo_p) in sctp_wait_for_packet()
6256 static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags, in sctp_skb_recv_datagram()
6313 struct sock *sk = asoc->base.sk; in __sctp_write_space() local
6345 struct sock *sk; in sctp_wfree() local
6376 struct sock *sk = skb->sk; in sctp_sock_rfree() local
6392 struct sock *sk = asoc->base.sk; in sctp_wait_for_sndbuf() local
6449 void sctp_data_ready(struct sock *sk, int len) in sctp_data_ready()
6463 void sctp_write_space(struct sock *sk) in sctp_write_space()
6484 static int sctp_writeable(struct sock *sk) in sctp_writeable()
6499 struct sock *sk = asoc->base.sk; in sctp_wait_for_connect() local
6560 static int sctp_wait_for_accept(struct sock *sk, long timeo) in sctp_wait_for_accept()
6601 static void sctp_wait_for_close(struct sock *sk, long timeout) in sctp_wait_for_close()
6617 static void sctp_skb_set_owner_r_frag(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r_frag()
6632 void sctp_copy_sock(struct sock *newsk, struct sock *sk, in sctp_copy_sock()