• Home
  • Raw
  • Download

Lines Matching defs:sk

98 static void sctp_enter_memory_pressure(struct sock *sk)  in sctp_enter_memory_pressure()
107 struct sock *sk = asoc->base.sk; in sctp_wspace() local
125 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
190 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
207 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
230 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
267 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport()
306 static int sctp_bind(struct sock *sk, struct sockaddr *addr, int addr_len) in sctp_bind()
373 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
502 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add()
552 static int sctp_send_asconf_add_ip(struct sock *sk, in sctp_send_asconf_add_ip()
675 static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem()
754 static int sctp_send_asconf_del_ip(struct sock *sk, in sctp_send_asconf_del_ip()
908 struct sock *sk = sctp_opt2sk(sp); in sctp_asconf_mgmt() local
996 static int sctp_setsockopt_bindx(struct sock *sk, struct sockaddr *addrs, in sctp_setsockopt_bindx()
1053 static int sctp_bind_add(struct sock *sk, struct sockaddr *addrs, in sctp_bind_add()
1070 struct sock *sk = ep->base.sk; in sctp_connect_new_asoc() local
1163 static int __sctp_connect(struct sock *sk, struct sockaddr *kaddrs, in __sctp_connect()
1308 static int __sctp_setsockopt_connectx(struct sock *sk, struct sockaddr *kaddrs, 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()
1480 static void sctp_close(struct sock *sk, long timeout) in sctp_close()
1558 static int sctp_error(struct sock *sk, int flags, int err) in sctp_error()
1593 static int sctp_sendmsg_parse(struct sock *sk, struct sctp_cmsgs *cmsgs, in sctp_sendmsg_parse()
1654 static int sctp_sendmsg_new_asoc(struct sock *sk, __u16 sflags, in sctp_sendmsg_new_asoc()
1753 struct sock *sk = asoc->base.sk; in sctp_sendmsg_check_sflags() local
1792 struct sock *sk = asoc->base.sk; in sctp_sendmsg_to_asoc() local
1890 static union sctp_addr *sctp_sendmsg_get_daddr(struct sock *sk, in sctp_sendmsg_get_daddr()
1939 static int sctp_sendmsg(struct sock *sk, struct msghdr *msg, size_t msg_len) in sctp_sendmsg()
2086 static int sctp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in sctp_recvmsg()
2201 static int sctp_setsockopt_disable_fragments(struct sock *sk, int *val, in sctp_setsockopt_disable_fragments()
2210 static int sctp_setsockopt_events(struct sock *sk, __u8 *sn_type, in sctp_setsockopt_events()
2259 static int sctp_setsockopt_autoclose(struct sock *sk, u32 *optval, in sctp_setsockopt_autoclose()
2605 static int sctp_setsockopt_peer_addr_params(struct sock *sk, in sctp_setsockopt_peer_addr_params()
2766 static int __sctp_setsockopt_delayed_ack(struct sock *sk, in __sctp_setsockopt_delayed_ack()
2819 static int sctp_setsockopt_delayed_ack(struct sock *sk, in sctp_setsockopt_delayed_ack()
2857 static int sctp_setsockopt_initmsg(struct sock *sk, struct sctp_initmsg *sinit, in sctp_setsockopt_initmsg()
2891 static int sctp_setsockopt_default_send_param(struct sock *sk, in sctp_setsockopt_default_send_param()
2949 static int sctp_setsockopt_default_sndinfo(struct sock *sk, in sctp_setsockopt_default_sndinfo()
3007 static int sctp_setsockopt_primary_addr(struct sock *sk, struct sctp_prim *prim, in sctp_setsockopt_primary_addr()
3045 static int sctp_setsockopt_nodelay(struct sock *sk, int *val, in sctp_setsockopt_nodelay()
3066 static int sctp_setsockopt_rtoinfo(struct sock *sk, in sctp_setsockopt_rtoinfo()
3130 static int sctp_setsockopt_associnfo(struct sock *sk, in sctp_setsockopt_associnfo()
3198 static int sctp_setsockopt_mappedv4(struct sock *sk, int *val, in sctp_setsockopt_mappedv4()
3240 static int sctp_setsockopt_maxseg(struct sock *sk, in sctp_setsockopt_maxseg()
3300 static int sctp_setsockopt_peer_primary_addr(struct sock *sk, in sctp_setsockopt_peer_primary_addr()
3361 static int sctp_setsockopt_adaptation_layer(struct sock *sk, in sctp_setsockopt_adaptation_layer()
3387 static int sctp_setsockopt_context(struct sock *sk, in sctp_setsockopt_context()
3447 static int sctp_setsockopt_fragment_interleave(struct sock *sk, int *val, in sctp_setsockopt_fragment_interleave()
3478 static int sctp_setsockopt_partial_delivery_point(struct sock *sk, u32 *val, in sctp_setsockopt_partial_delivery_point()
3506 static int sctp_setsockopt_maxburst(struct sock *sk, in sctp_setsockopt_maxburst()
3559 static int sctp_setsockopt_auth_chunk(struct sock *sk, in sctp_setsockopt_auth_chunk()
3589 static int sctp_setsockopt_hmac_ident(struct sock *sk, in sctp_setsockopt_hmac_ident()
3618 static int sctp_setsockopt_auth_key(struct sock *sk, in sctp_setsockopt_auth_key()
3679 static int sctp_setsockopt_active_key(struct sock *sk, in sctp_setsockopt_active_key()
3727 static int sctp_setsockopt_del_key(struct sock *sk, in sctp_setsockopt_del_key()
3775 static int sctp_setsockopt_deactivate_key(struct sock *sk, in sctp_setsockopt_deactivate_key()
3832 static int sctp_setsockopt_auto_asconf(struct sock *sk, int *val, in sctp_setsockopt_auto_asconf()
3864 static int sctp_setsockopt_paddr_thresholds(struct sock *sk, in sctp_setsockopt_paddr_thresholds()
3927 static int sctp_setsockopt_recvrcvinfo(struct sock *sk, int *val, in sctp_setsockopt_recvrcvinfo()
3938 static int sctp_setsockopt_recvnxtinfo(struct sock *sk, int *val, in sctp_setsockopt_recvnxtinfo()
3949 static int sctp_setsockopt_pr_supported(struct sock *sk, in sctp_setsockopt_pr_supported()
3968 static int sctp_setsockopt_default_prinfo(struct sock *sk, in sctp_setsockopt_default_prinfo()
4020 static int sctp_setsockopt_reconfig_supported(struct sock *sk, in sctp_setsockopt_reconfig_supported()
4043 static int sctp_setsockopt_enable_strreset(struct sock *sk, in sctp_setsockopt_enable_strreset()
4085 static int sctp_setsockopt_reset_streams(struct sock *sk, in sctp_setsockopt_reset_streams()
4108 static int sctp_setsockopt_reset_assoc(struct sock *sk, sctp_assoc_t *associd, in sctp_setsockopt_reset_assoc()
4123 static int sctp_setsockopt_add_streams(struct sock *sk, in sctp_setsockopt_add_streams()
4139 static int sctp_setsockopt_scheduler(struct sock *sk, in sctp_setsockopt_scheduler()
4182 static int sctp_setsockopt_scheduler_value(struct sock *sk, in sctp_setsockopt_scheduler_value()
4217 static int sctp_setsockopt_interleaving_supported(struct sock *sk, in sctp_setsockopt_interleaving_supported()
4239 static int sctp_setsockopt_reuse_port(struct sock *sk, int *val, in sctp_setsockopt_reuse_port()
4277 static int sctp_setsockopt_event(struct sock *sk, struct sctp_event *param, in sctp_setsockopt_event()
4320 static int sctp_setsockopt_asconf_supported(struct sock *sk, in sctp_setsockopt_asconf_supported()
4350 static int sctp_setsockopt_auth_supported(struct sock *sk, in sctp_setsockopt_auth_supported()
4384 static int sctp_setsockopt_ecn_supported(struct sock *sk, in sctp_setsockopt_ecn_supported()
4406 static int sctp_setsockopt_pf_expose(struct sock *sk, in sctp_setsockopt_pf_expose()
4453 static int sctp_setsockopt(struct sock *sk, int level, int optname, in sctp_setsockopt()
4683 static int sctp_connect(struct sock *sk, struct sockaddr *addr, in sctp_connect()
4715 static int sctp_disconnect(struct sock *sk, int flags) in sctp_disconnect()
4727 static struct sock *sctp_accept(struct sock *sk, int flags, int *err, bool kern) in sctp_accept()
4784 static int sctp_ioctl(struct sock *sk, int cmd, unsigned long arg) in sctp_ioctl()
4826 static int sctp_init_sock(struct sock *sk) in sctp_init_sock()
4968 static void sctp_destroy_sock(struct sock *sk) in sctp_destroy_sock()
4994 static void sctp_destruct_sock(struct sock *sk) in sctp_destruct_sock()
5020 static void sctp_shutdown(struct sock *sk, int how) in sctp_shutdown()
5039 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc, in sctp_get_sctp_info()
5274 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, in sctp_getsockopt_sctp_status()
5354 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
5417 static int sctp_getsockopt_disable_fragments(struct sock *sk, int len, in sctp_getsockopt_disable_fragments()
5439 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
5474 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
5490 int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp) in sctp_do_peeloff()
5540 static int sctp_getsockopt_peeloff_common(struct sock *sk, sctp_peeloff_arg_t *peeloff, in sctp_getsockopt_peeloff_common()
5576 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
5609 static int sctp_getsockopt_peeloff_flags(struct sock *sk, int len, in sctp_getsockopt_peeloff_flags()
5776 static int sctp_getsockopt_peer_addr_params(struct sock *sk, int len, in sctp_getsockopt_peer_addr_params()
5919 static int sctp_getsockopt_delayed_ack(struct sock *sk, int len, in sctp_getsockopt_delayed_ack()
5993 static int sctp_getsockopt_initmsg(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_initmsg()
6006 static int sctp_getsockopt_peer_addrs(struct sock *sk, int len, in sctp_getsockopt_peer_addrs()
6057 static int sctp_copy_laddrs(struct sock *sk, __u16 port, void *to, in sctp_copy_laddrs()
6102 static int sctp_getsockopt_local_addrs(struct sock *sk, int len, in sctp_getsockopt_local_addrs()
6210 static int sctp_getsockopt_primary_addr(struct sock *sk, int len, in sctp_getsockopt_primary_addr()
6252 static int sctp_getsockopt_adaptation_layer(struct sock *sk, int len, in sctp_getsockopt_adaptation_layer()
6291 static int sctp_getsockopt_default_send_param(struct sock *sk, in sctp_getsockopt_default_send_param()
6337 static int sctp_getsockopt_default_sndinfo(struct sock *sk, int len, in sctp_getsockopt_default_sndinfo()
6388 static int sctp_getsockopt_nodelay(struct sock *sk, int len, in sctp_getsockopt_nodelay()
6417 static int sctp_getsockopt_rtoinfo(struct sock *sk, int len, in sctp_getsockopt_rtoinfo()
6471 static int sctp_getsockopt_associnfo(struct sock *sk, int len, in sctp_getsockopt_associnfo()
6540 static int sctp_getsockopt_mappedv4(struct sock *sk, int len, in sctp_getsockopt_mappedv4()
6563 static int sctp_getsockopt_context(struct sock *sk, int len, in sctp_getsockopt_context()
6620 static int sctp_getsockopt_maxseg(struct sock *sk, int len, in sctp_getsockopt_maxseg()
6667 static int sctp_getsockopt_fragment_interleave(struct sock *sk, int len, in sctp_getsockopt_fragment_interleave()
6690 static int sctp_getsockopt_partial_delivery_point(struct sock *sk, int len, in sctp_getsockopt_partial_delivery_point()
6714 static int sctp_getsockopt_maxburst(struct sock *sk, int len, in sctp_getsockopt_maxburst()
6754 static int sctp_getsockopt_hmac_ident(struct sock *sk, int len, in sctp_getsockopt_hmac_ident()
6790 static int sctp_getsockopt_active_key(struct sock *sk, int len, in sctp_getsockopt_active_key()
6826 static int sctp_getsockopt_peer_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_peer_auth_chunks()
6870 static int sctp_getsockopt_local_auth_chunks(struct sock *sk, int len, in sctp_getsockopt_local_auth_chunks()
6926 static int sctp_getsockopt_assoc_number(struct sock *sk, int len, in sctp_getsockopt_assoc_number()
6957 static int sctp_getsockopt_auto_asconf(struct sock *sk, int len, in sctp_getsockopt_auto_asconf()
6982 static int sctp_getsockopt_assoc_ids(struct sock *sk, int len, in sctp_getsockopt_assoc_ids()
7031 static int sctp_getsockopt_paddr_thresholds(struct sock *sk, in sctp_getsockopt_paddr_thresholds()
7090 static int sctp_getsockopt_assoc_stats(struct sock *sk, int len, in sctp_getsockopt_assoc_stats()
7148 static int sctp_getsockopt_recvrcvinfo(struct sock *sk, int len, in sctp_getsockopt_recvrcvinfo()
7168 static int sctp_getsockopt_recvnxtinfo(struct sock *sk, int len, in sctp_getsockopt_recvnxtinfo()
7188 static int sctp_getsockopt_pr_supported(struct sock *sk, int len, in sctp_getsockopt_pr_supported()
7227 static int sctp_getsockopt_default_prinfo(struct sock *sk, int len, in sctp_getsockopt_default_prinfo()
7273 static int sctp_getsockopt_pr_assocstatus(struct sock *sk, int len, in sctp_getsockopt_pr_assocstatus()
7332 static int sctp_getsockopt_pr_streamstatus(struct sock *sk, int len, in sctp_getsockopt_pr_streamstatus()
7396 static int sctp_getsockopt_reconfig_supported(struct sock *sk, int len, in sctp_getsockopt_reconfig_supported()
7435 static int sctp_getsockopt_enable_strreset(struct sock *sk, int len, in sctp_getsockopt_enable_strreset()
7474 static int sctp_getsockopt_scheduler(struct sock *sk, int len, in sctp_getsockopt_scheduler()
7513 static int sctp_getsockopt_scheduler_value(struct sock *sk, int len, in sctp_getsockopt_scheduler_value()
7555 static int sctp_getsockopt_interleaving_supported(struct sock *sk, int len, in sctp_getsockopt_interleaving_supported()
7594 static int sctp_getsockopt_reuse_port(struct sock *sk, int len, in sctp_getsockopt_reuse_port()
7614 static int sctp_getsockopt_event(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_event()
7649 static int sctp_getsockopt_asconf_supported(struct sock *sk, int len, in sctp_getsockopt_asconf_supported()
7688 static int sctp_getsockopt_auth_supported(struct sock *sk, int len, in sctp_getsockopt_auth_supported()
7727 static int sctp_getsockopt_ecn_supported(struct sock *sk, int len, in sctp_getsockopt_ecn_supported()
7766 static int sctp_getsockopt_pf_expose(struct sock *sk, int len, in sctp_getsockopt_pf_expose()
7805 static int sctp_getsockopt(struct sock *sk, int level, int optname, in sctp_getsockopt()
8034 static int sctp_hash(struct sock *sk) in sctp_hash()
8040 static void sctp_unhash(struct sock *sk) in sctp_unhash()
8060 static int sctp_get_port_local(struct sock *sk, union sctp_addr *addr) in sctp_get_port_local()
8228 static int sctp_get_port(struct sock *sk, unsigned short snum) in sctp_get_port()
8244 static int sctp_listen_start(struct sock *sk, int backlog) in sctp_listen_start()
8305 struct sock *sk = sock->sk; in sctp_inet_listen() local
8367 struct sock *sk = sock->sk; in sctp_poll() local
8452 static inline void __sctp_put_port(struct sock *sk) in __sctp_put_port()
8468 void sctp_put_port(struct sock *sk) in sctp_put_port()
8481 static int sctp_autobind(struct sock *sk) in sctp_autobind()
8680 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet()
8738 struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags, in sctp_skb_recv_datagram()
8800 struct sock *sk = asoc->base.sk; in __sctp_write_space() local
8828 static void sctp_wake_up_waiters(struct sock *sk, in sctp_wake_up_waiters()
8876 struct sock *sk = asoc->base.sk; in sctp_wfree() local
8917 struct sock *sk = skb->sk; in sctp_sock_rfree() local
8933 struct sock *sk = asoc->base.sk; in sctp_wait_for_sndbuf() local
8999 void sctp_data_ready(struct sock *sk) in sctp_data_ready()
9013 void sctp_write_space(struct sock *sk) in sctp_write_space()
9034 static bool sctp_writeable(struct sock *sk) in sctp_writeable()
9044 struct sock *sk = asoc->base.sk; in sctp_wait_for_connect() local
9104 static int sctp_wait_for_accept(struct sock *sk, long timeo) in sctp_wait_for_accept()
9145 static void sctp_wait_for_close(struct sock *sk, long timeout) in sctp_wait_for_close()
9161 static void sctp_skb_set_owner_r_frag(struct sk_buff *skb, struct sock *sk) in sctp_skb_set_owner_r_frag()
9176 void sctp_copy_sock(struct sock *newsk, struct sock *sk, in sctp_copy_sock()
9427 static void sctp_v6_destroy_sock(struct sock *sk) in sctp_v6_destroy_sock()