Home
last modified time | relevance | path

Searched defs:sk (Results 1 – 25 of 656) sorted by relevance

12345678910>>...27

/linux/net/llc/
H A Dllc_c_ev.c75 static u16 llc_util_nr_inside_tx_window(struct sock *sk, u8 nr) in llc_util_nr_inside_tx_window()
99 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_conn_req()
107 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_data_req()
115 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_disc_req()
123 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rst_req()
131 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_detected()
139 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_cleared()
147 int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_bad_pdu()
152 int llc_conn_ev_rx_disc_cmd_pbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_disc_cmd_pbit_set_x()
160 int llc_conn_ev_rx_dm_rsp_fbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_dm_rsp_fbit_set_x()
[all …]
H A Dllc_c_ac.c45 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_clear_remote_busy()
61 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_ind()
69 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_confirm()
77 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_confirm()
85 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_ind()
91 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_ind()
119 int llc_conn_ac_disc_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_confirm()
128 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_ind()
167 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_confirm()
176 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk, in llc_conn_ac_clear_remote_busy_if_f_eq_1()
[all …]
/linux/net/netrom/
H A Dnr_timer.c35 void nr_init_timers(struct sock *sk) in nr_init_timers()
48 void nr_start_t1timer(struct sock *sk) in nr_start_t1timer()
55 void nr_start_t2timer(struct sock *sk) in nr_start_t2timer()
62 void nr_start_t4timer(struct sock *sk) in nr_start_t4timer()
69 void nr_start_idletimer(struct sock *sk) in nr_start_idletimer()
77 void nr_start_heartbeat(struct sock *sk) in nr_start_heartbeat()
82 void nr_stop_t1timer(struct sock *sk) in nr_stop_t1timer()
87 void nr_stop_t2timer(struct sock *sk) in nr_stop_t2timer()
92 void nr_stop_t4timer(struct sock *sk) in nr_stop_t4timer()
97 void nr_stop_idletimer(struct sock *sk) in nr_stop_idletimer()
[all …]
/linux/include/net/
H A Dsock.h620 static inline bool sk_user_data_is_nocopy(const struct sock *sk) in sk_user_data_is_nocopy()
625 #define __sk_user_data(sk) ((*((void __rcu **)&(sk)->sk_user_data))) argument
638 __locked_read_sk_user_data_with_flags(const struct sock *sk, in __locked_read_sk_user_data_with_flags()
661 __rcu_dereference_sk_user_data_with_flags(const struct sock *sk, in __rcu_dereference_sk_user_data_with_flags()
673 #define rcu_dereference_sk_user_data(sk) \ argument
675 #define __rcu_assign_sk_user_data_with_flags(sk, ptr, flags) \ argument
684 #define rcu_assign_sk_user_data(sk, ptr) \ argument
688 struct net *sock_net(const struct sock *sk) in sock_net()
694 void sock_net_set(struct sock *sk, struct net *net) in sock_net_set()
712 static inline int sk_peek_offset(const struct sock *sk, int flags) in sk_peek_offset()
[all …]
/linux/net/core/
H A Dsock.c171 bool sk_ns_capable(const struct sock *sk, in sk_ns_capable()
188 bool sk_capable(const struct sock *sk, int cap) in sk_capable()
203 bool sk_net_capable(const struct sock *sk, int cap) in sk_net_capable()
302 void sk_set_memalloc(struct sock *sk) in sk_set_memalloc()
310 void sk_clear_memalloc(struct sock *sk) in sk_clear_memalloc()
327 int __sk_backlog_rcv(struct sock *sk, struct sk_buff *skb) in __sk_backlog_rcv()
346 void sk_error_report(struct sock *sk) in sk_error_report()
459 static bool sk_set_prio_allowed(const struct sock *sk, int val) in sk_set_prio_allowed()
466 static bool sock_needs_netstamp(const struct sock *sk) in sock_needs_netstamp()
477 static void sock_disable_timestamp(struct sock *sk, unsigned long flags) in sock_disable_timestamp()
[all …]
H A Dsock_reuseport.c24 void reuseport_has_conns_set(struct sock *sk) in reuseport_has_conns_set()
52 static void reuseport_get_incoming_cpu(struct sock *sk, struct sock_reuseport *reuse) in reuseport_get_incoming_cpu()
58 static void reuseport_put_incoming_cpu(struct sock *sk, struct sock_reuseport *reuse) in reuseport_put_incoming_cpu()
64 void reuseport_update_incoming_cpu(struct sock *sk, int val) in reuseport_update_incoming_cpu()
104 static int reuseport_sock_index(struct sock *sk, in reuseport_sock_index()
124 static void __reuseport_add_sock(struct sock *sk, in __reuseport_add_sock()
134 static bool __reuseport_detach_sock(struct sock *sk, in __reuseport_detach_sock()
149 static void __reuseport_add_closed_sock(struct sock *sk, in __reuseport_add_closed_sock()
158 static bool __reuseport_detach_closed_sock(struct sock *sk, in __reuseport_detach_closed_sock()
188 int reuseport_alloc(struct sock *sk, bool bind_inany) in reuseport_alloc()
[all …]
/linux/net/sctp/
H A Dsocket.c102 sctp_enter_memory_pressure(struct sock * sk) sctp_enter_memory_pressure() argument
111 struct sock *sk = asoc->base.sk; sctp_wspace() local
129 struct sock *sk = asoc->base.sk; sctp_set_owner_w() local
194 sctp_for_each_rx_skb(struct sctp_association * asoc,struct sock * sk,void (* cb)(struct sk_buff *,struct sock *)) sctp_for_each_rx_skb() argument
211 sctp_verify_addr(struct sock * sk,union sctp_addr * addr,int len) sctp_verify_addr() argument
234 sctp_id2assoc(struct sock * sk,sctp_assoc_t id) sctp_id2assoc() argument
271 sctp_addr_id2transport(struct sock * sk,struct sockaddr_storage * addr,sctp_assoc_t id) sctp_addr_id2transport() argument
310 sctp_bind(struct sock * sk,struct sockaddr * addr,int addr_len) sctp_bind() argument
377 sctp_do_bind(struct sock * sk,union sctp_addr * addr,int len) sctp_do_bind() argument
506 sctp_bindx_add(struct sock * sk,struct sockaddr * addrs,int addrcnt) sctp_bindx_add() argument
556 sctp_send_asconf_add_ip(struct sock * sk,struct sockaddr * addrs,int addrcnt) sctp_send_asconf_add_ip() argument
679 sctp_bindx_rem(struct sock * sk,struct sockaddr * addrs,int addrcnt) sctp_bindx_rem() argument
758 sctp_send_asconf_del_ip(struct sock * sk,struct sockaddr * addrs,int addrcnt) sctp_send_asconf_del_ip() argument
912 struct sock *sk = sctp_opt2sk(sp); sctp_asconf_mgmt() local
1000 sctp_setsockopt_bindx(struct sock * sk,struct sockaddr * addrs,int addrs_size,int op) sctp_setsockopt_bindx() argument
1057 sctp_bind_add(struct sock * sk,struct sockaddr * addrs,int addrlen) sctp_bind_add() argument
1074 struct sock *sk = ep->base.sk; sctp_connect_new_asoc() local
1167 __sctp_connect(struct sock * sk,struct sockaddr * kaddrs,int addrs_size,int flags,sctp_assoc_t * assoc_id) __sctp_connect() argument
1312 __sctp_setsockopt_connectx(struct sock * sk,struct sockaddr * kaddrs,int addrs_size,sctp_assoc_t * assoc_id) __sctp_setsockopt_connectx() argument
1344 sctp_setsockopt_connectx_old(struct sock * sk,struct sockaddr * kaddrs,int addrs_size) sctp_setsockopt_connectx_old() argument
1357 sctp_setsockopt_connectx(struct sock * sk,struct sockaddr * kaddrs,int addrs_size) sctp_setsockopt_connectx() argument
1388 sctp_getsockopt_connectx3(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_connectx3() argument
1484 sctp_close(struct sock * sk,long timeout) sctp_close() argument
1562 sctp_error(struct sock * sk,int flags,int err) sctp_error() argument
1597 sctp_sendmsg_parse(struct sock * sk,struct sctp_cmsgs * cmsgs,struct sctp_sndrcvinfo * srinfo,const struct msghdr * msg,size_t msg_len) sctp_sendmsg_parse() argument
1658 sctp_sendmsg_new_asoc(struct sock * sk,__u16 sflags,struct sctp_cmsgs * cmsgs,union sctp_addr * daddr,struct sctp_transport ** tp) sctp_sendmsg_new_asoc() argument
1757 struct sock *sk = asoc->base.sk; sctp_sendmsg_check_sflags() local
1796 struct sock *sk = asoc->base.sk; sctp_sendmsg_to_asoc() local
1895 sctp_sendmsg_get_daddr(struct sock * sk,const struct msghdr * msg,struct sctp_cmsgs * cmsgs) sctp_sendmsg_get_daddr() argument
1944 sctp_sendmsg(struct sock * sk,struct msghdr * msg,size_t msg_len) sctp_sendmsg() argument
2091 sctp_recvmsg(struct sock * sk,struct msghdr * msg,size_t len,int flags,int * addr_len) sctp_recvmsg() argument
2212 sctp_setsockopt_disable_fragments(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_disable_fragments() argument
2221 sctp_setsockopt_events(struct sock * sk,__u8 * sn_type,unsigned int optlen) sctp_setsockopt_events() argument
2270 sctp_setsockopt_autoclose(struct sock * sk,u32 * optval,unsigned int optlen) sctp_setsockopt_autoclose() argument
2618 sctp_setsockopt_peer_addr_params(struct sock * sk,struct sctp_paddrparams * params,unsigned int optlen) sctp_setsockopt_peer_addr_params() argument
2779 __sctp_setsockopt_delayed_ack(struct sock * sk,struct sctp_sack_info * params) __sctp_setsockopt_delayed_ack() argument
2832 sctp_setsockopt_delayed_ack(struct sock * sk,struct sctp_sack_info * params,unsigned int optlen) sctp_setsockopt_delayed_ack() argument
2870 sctp_setsockopt_initmsg(struct sock * sk,struct sctp_initmsg * sinit,unsigned int optlen) sctp_setsockopt_initmsg() argument
2904 sctp_setsockopt_default_send_param(struct sock * sk,struct sctp_sndrcvinfo * info,unsigned int optlen) sctp_setsockopt_default_send_param() argument
2962 sctp_setsockopt_default_sndinfo(struct sock * sk,struct sctp_sndinfo * info,unsigned int optlen) sctp_setsockopt_default_sndinfo() argument
3020 sctp_setsockopt_primary_addr(struct sock * sk,struct sctp_prim * prim,unsigned int optlen) sctp_setsockopt_primary_addr() argument
3058 sctp_setsockopt_nodelay(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_nodelay() argument
3079 sctp_setsockopt_rtoinfo(struct sock * sk,struct sctp_rtoinfo * rtoinfo,unsigned int optlen) sctp_setsockopt_rtoinfo() argument
3143 sctp_setsockopt_associnfo(struct sock * sk,struct sctp_assocparams * assocparams,unsigned int optlen) sctp_setsockopt_associnfo() argument
3211 sctp_setsockopt_mappedv4(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_mappedv4() argument
3253 sctp_setsockopt_maxseg(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_maxseg() argument
3313 sctp_setsockopt_peer_primary_addr(struct sock * sk,struct sctp_setpeerprim * prim,unsigned int optlen) sctp_setsockopt_peer_primary_addr() argument
3374 sctp_setsockopt_adaptation_layer(struct sock * sk,struct sctp_setadaptation * adapt,unsigned int optlen) sctp_setsockopt_adaptation_layer() argument
3400 sctp_setsockopt_context(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_context() argument
3460 sctp_setsockopt_fragment_interleave(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_fragment_interleave() argument
3491 sctp_setsockopt_partial_delivery_point(struct sock * sk,u32 * val,unsigned int optlen) sctp_setsockopt_partial_delivery_point() argument
3519 sctp_setsockopt_maxburst(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_maxburst() argument
3572 sctp_setsockopt_auth_chunk(struct sock * sk,struct sctp_authchunk * val,unsigned int optlen) sctp_setsockopt_auth_chunk() argument
3602 sctp_setsockopt_hmac_ident(struct sock * sk,struct sctp_hmacalgo * hmacs,unsigned int optlen) sctp_setsockopt_hmac_ident() argument
3631 sctp_setsockopt_auth_key(struct sock * sk,struct sctp_authkey * authkey,unsigned int optlen) sctp_setsockopt_auth_key() argument
3692 sctp_setsockopt_active_key(struct sock * sk,struct sctp_authkeyid * val,unsigned int optlen) sctp_setsockopt_active_key() argument
3740 sctp_setsockopt_del_key(struct sock * sk,struct sctp_authkeyid * val,unsigned int optlen) sctp_setsockopt_del_key() argument
3788 sctp_setsockopt_deactivate_key(struct sock * sk,struct sctp_authkeyid * val,unsigned int optlen) sctp_setsockopt_deactivate_key() argument
3845 sctp_setsockopt_auto_asconf(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_auto_asconf() argument
3877 sctp_setsockopt_paddr_thresholds(struct sock * sk,struct sctp_paddrthlds_v2 * val,unsigned int optlen,bool v2) sctp_setsockopt_paddr_thresholds() argument
3940 sctp_setsockopt_recvrcvinfo(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_recvrcvinfo() argument
3951 sctp_setsockopt_recvnxtinfo(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_recvnxtinfo() argument
3962 sctp_setsockopt_pr_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_pr_supported() argument
3981 sctp_setsockopt_default_prinfo(struct sock * sk,struct sctp_default_prinfo * info,unsigned int optlen) sctp_setsockopt_default_prinfo() argument
4033 sctp_setsockopt_reconfig_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_reconfig_supported() argument
4056 sctp_setsockopt_enable_strreset(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_enable_strreset() argument
4098 sctp_setsockopt_reset_streams(struct sock * sk,struct sctp_reset_streams * params,unsigned int optlen) sctp_setsockopt_reset_streams() argument
4121 sctp_setsockopt_reset_assoc(struct sock * sk,sctp_assoc_t * associd,unsigned int optlen) sctp_setsockopt_reset_assoc() argument
4136 sctp_setsockopt_add_streams(struct sock * sk,struct sctp_add_streams * params,unsigned int optlen) sctp_setsockopt_add_streams() argument
4152 sctp_setsockopt_scheduler(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_scheduler() argument
4195 sctp_setsockopt_scheduler_value(struct sock * sk,struct sctp_stream_value * params,unsigned int optlen) sctp_setsockopt_scheduler_value() argument
4230 sctp_setsockopt_interleaving_supported(struct sock * sk,struct sctp_assoc_value * p,unsigned int optlen) sctp_setsockopt_interleaving_supported() argument
4252 sctp_setsockopt_reuse_port(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_reuse_port() argument
4290 sctp_setsockopt_event(struct sock * sk,struct sctp_event * param,unsigned int optlen) sctp_setsockopt_event() argument
4333 sctp_setsockopt_asconf_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_asconf_supported() argument
4363 sctp_setsockopt_auth_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_auth_supported() argument
4397 sctp_setsockopt_ecn_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_ecn_supported() argument
4419 sctp_setsockopt_pf_expose(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_pf_expose() argument
4447 sctp_setsockopt_encap_port(struct sock * sk,struct sctp_udpencaps * encap,unsigned int optlen) sctp_setsockopt_encap_port() argument
4497 sctp_setsockopt_probe_interval(struct sock * sk,struct sctp_probeinterval * params,unsigned int optlen) sctp_setsockopt_probe_interval() argument
4571 sctp_setsockopt(struct sock * sk,int level,int optname,sockptr_t optval,unsigned int optlen) sctp_setsockopt() argument
4807 sctp_connect(struct sock * sk,struct sockaddr * addr,int addr_len,int flags) sctp_connect() argument
4839 sctp_disconnect(struct sock * sk,int flags) sctp_disconnect() argument
4855 sctp_accept(struct sock * sk,struct proto_accept_arg * arg) sctp_accept() argument
4913 sctp_ioctl(struct sock * sk,int cmd,int * karg) sctp_ioctl() argument
4955 sctp_init_sock(struct sock * sk) sctp_init_sock() argument
5097 sctp_destroy_sock(struct sock * sk) sctp_destroy_sock() argument
5121 sctp_destruct_common(struct sock * sk) sctp_destruct_common() argument
5129 sctp_destruct_sock(struct sock * sk) sctp_destruct_sock() argument
5151 sctp_shutdown(struct sock * sk,int how) sctp_shutdown() argument
5170 sctp_get_sctp_info(struct sock * sk,struct sctp_association * asoc,struct sctp_info * info) sctp_get_sctp_info() argument
5414 sctp_getsockopt_sctp_status(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_sctp_status() argument
5494 sctp_getsockopt_peer_addr_info(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_addr_info() argument
5557 sctp_getsockopt_disable_fragments(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_disable_fragments() argument
5579 sctp_getsockopt_events(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_events() argument
5614 sctp_getsockopt_autoclose(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_autoclose() argument
5630 sctp_do_peeloff(struct sock * sk,sctp_assoc_t id,struct socket ** sockp) sctp_do_peeloff() argument
5680 sctp_getsockopt_peeloff_common(struct sock * sk,sctp_peeloff_arg_t * peeloff,struct file ** newfile,unsigned flags) sctp_getsockopt_peeloff_common() argument
5716 sctp_getsockopt_peeloff(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peeloff() argument
5749 sctp_getsockopt_peeloff_flags(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peeloff_flags() argument
5916 sctp_getsockopt_peer_addr_params(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_addr_params() argument
6059 sctp_getsockopt_delayed_ack(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_delayed_ack() argument
6133 sctp_getsockopt_initmsg(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_initmsg() argument
6146 sctp_getsockopt_peer_addrs(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_addrs() argument
6197 sctp_copy_laddrs(struct sock * sk,__u16 port,void * to,size_t space_left,int * bytes_copied) sctp_copy_laddrs() argument
6242 sctp_getsockopt_local_addrs(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_local_addrs() argument
6350 sctp_getsockopt_primary_addr(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_primary_addr() argument
6392 sctp_getsockopt_adaptation_layer(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_adaptation_layer() argument
6431 sctp_getsockopt_default_send_param(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_default_send_param() argument
6477 sctp_getsockopt_default_sndinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_default_sndinfo() argument
6528 sctp_getsockopt_nodelay(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_nodelay() argument
6557 sctp_getsockopt_rtoinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_rtoinfo() argument
6611 sctp_getsockopt_associnfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_associnfo() argument
6680 sctp_getsockopt_mappedv4(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_mappedv4() argument
6703 sctp_getsockopt_context(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_context() argument
6760 sctp_getsockopt_maxseg(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_maxseg() argument
6807 sctp_getsockopt_fragment_interleave(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_fragment_interleave() argument
6830 sctp_getsockopt_partial_delivery_point(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_partial_delivery_point() argument
6854 sctp_getsockopt_maxburst(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_maxburst() argument
6894 sctp_getsockopt_hmac_ident(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_hmac_ident() argument
6930 sctp_getsockopt_active_key(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_active_key() argument
6966 sctp_getsockopt_peer_auth_chunks(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_auth_chunks() argument
7010 sctp_getsockopt_local_auth_chunks(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_local_auth_chunks() argument
7066 sctp_getsockopt_assoc_number(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_assoc_number() argument
7097 sctp_getsockopt_auto_asconf(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_auto_asconf() argument
7122 sctp_getsockopt_assoc_ids(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_assoc_ids() argument
7172 sctp_getsockopt_paddr_thresholds(struct sock * sk,char __user * optval,int len,int __user * optlen,bool v2) sctp_getsockopt_paddr_thresholds() argument
7231 sctp_getsockopt_assoc_stats(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_assoc_stats() argument
7289 sctp_getsockopt_recvrcvinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_recvrcvinfo() argument
7309 sctp_getsockopt_recvnxtinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_recvnxtinfo() argument
7329 sctp_getsockopt_pr_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pr_supported() argument
7368 sctp_getsockopt_default_prinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_default_prinfo() argument
7414 sctp_getsockopt_pr_assocstatus(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pr_assocstatus() argument
7473 sctp_getsockopt_pr_streamstatus(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pr_streamstatus() argument
7537 sctp_getsockopt_reconfig_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_reconfig_supported() argument
7576 sctp_getsockopt_enable_strreset(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_enable_strreset() argument
7615 sctp_getsockopt_scheduler(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_scheduler() argument
7654 sctp_getsockopt_scheduler_value(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_scheduler_value() argument
7696 sctp_getsockopt_interleaving_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_interleaving_supported() argument
7735 sctp_getsockopt_reuse_port(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_reuse_port() argument
7755 sctp_getsockopt_event(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_event() argument
7790 sctp_getsockopt_asconf_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_asconf_supported() argument
7829 sctp_getsockopt_auth_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_auth_supported() argument
7868 sctp_getsockopt_ecn_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_ecn_supported() argument
7907 sctp_getsockopt_pf_expose(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pf_expose() argument
7946 sctp_getsockopt_encap_port(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_encap_port() argument
8005 sctp_getsockopt_probe_interval(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_probe_interval() argument
8065 sctp_getsockopt(struct sock * sk,int level,int optname,char __user * optval,int __user * optlen) sctp_getsockopt() argument
8316 sctp_hash(struct sock * sk) sctp_hash() argument
8322 sctp_unhash(struct sock * sk) sctp_unhash() argument
8342 sctp_get_port_local(struct sock * sk,union sctp_addr * addr) sctp_get_port_local() argument
8513 sctp_get_port(struct sock * sk,unsigned short snum) sctp_get_port() argument
8529 sctp_listen_start(struct sock * sk,int backlog) sctp_listen_start() argument
8600 struct sock *sk = sock->sk; sctp_inet_listen() local
8662 struct sock *sk = sock->sk; sctp_poll() local
8747 __sctp_put_port(struct sock * sk) __sctp_put_port() argument
8763 sctp_put_port(struct sock * sk) sctp_put_port() argument
8776 sctp_autobind(struct sock * sk) sctp_autobind() argument
8975 sctp_wait_for_packet(struct sock * sk,int * err,long * timeo_p) sctp_wait_for_packet() argument
9033 sctp_skb_recv_datagram(struct sock * sk,int flags,int * err) sctp_skb_recv_datagram() argument
9088 struct sock *sk = asoc->base.sk; __sctp_write_space() local
9117 sctp_wake_up_waiters(struct sock * sk,struct sctp_association * asoc) sctp_wake_up_waiters() argument
9165 struct sock *sk = asoc->base.sk; sctp_wfree() local
9206 struct sock *sk = skb->sk; sctp_sock_rfree() local
9223 struct sock *sk = asoc->base.sk; sctp_wait_for_sndbuf() local
9291 sctp_data_ready(struct sock * sk) sctp_data_ready() argument
9307 sctp_write_space(struct sock * sk) sctp_write_space() argument
9328 sctp_writeable(const struct sock * sk) sctp_writeable() argument
9338 struct sock *sk = asoc->base.sk; sctp_wait_for_connect() local
9398 sctp_wait_for_accept(struct sock * sk,long timeo) sctp_wait_for_accept() argument
9440 sctp_wait_for_close(struct sock * sk,long timeout) sctp_wait_for_close() argument
9456 sctp_skb_set_owner_r_frag(struct sk_buff * skb,struct sock * sk) sctp_skb_set_owner_r_frag() argument
9471 sctp_copy_sock(struct sock * newsk,struct sock * sk,struct sctp_association * asoc) sctp_copy_sock() argument
9724 sctp_v6_destruct_sock(struct sock * sk) sctp_v6_destruct_sock() argument
9730 sctp_v6_init_sock(struct sock * sk) sctp_v6_init_sock() argument
[all...]
/linux/net/iucv/
H A Daf_iucv.c56 __iucv_sock_wait(sk,condition,timeo,ret) global() argument
81 iucv_sock_wait(sk,condition,timeo) global() argument
150 iucv_sock_in_state(struct sock * sk,int state,int state2) iucv_sock_in_state() argument
163 iucv_below_msglim(struct sock * sk) iucv_below_msglim() argument
179 iucv_sock_wake_msglim(struct sock * sk) iucv_sock_wake_msglim() argument
267 struct sock *sk; __iucv_get_sock_by_name() local
276 iucv_sock_destruct(struct sock * sk) iucv_sock_destruct() argument
295 struct sock *sk; iucv_sock_cleanup_listen() local
306 iucv_sock_link(struct iucv_sock_list * l,struct sock * sk) iucv_sock_link() argument
313 iucv_sock_unlink(struct iucv_sock_list * l,struct sock * sk) iucv_sock_unlink() argument
321 iucv_sock_kill(struct sock * sk) iucv_sock_kill() argument
332 iucv_sever_path(struct sock * sk,int with_user_data) iucv_sever_path() argument
352 iucv_send_ctrl(struct sock * sk,u8 flags) iucv_send_ctrl() argument
378 iucv_sock_close(struct sock * sk) iucv_sock_close() argument
441 iucv_sock_init(struct sock * sk,struct sock * parent) iucv_sock_init() argument
451 struct sock *sk; iucv_sock_alloc() local
493 iucv_accept_enqueue(struct sock * parent,struct sock * sk) iucv_accept_enqueue() argument
506 iucv_accept_unlink(struct sock * sk) iucv_accept_unlink() argument
523 struct sock *sk; iucv_accept_dequeue() local
569 struct sock *sk = sock->sk; iucv_sock_bind() local
647 iucv_sock_autobind(struct sock * sk) iucv_sock_autobind() argument
672 struct sock *sk = sock->sk; afiucv_path_connect() local
719 struct sock *sk = sock->sk; iucv_sock_connect() local
774 struct sock *sk = sock->sk; iucv_sock_listen() local
801 struct sock *sk = sock->sk, *nsk; iucv_sock_accept() local
855 struct sock *sk = sock->sk; iucv_sock_getname() local
901 struct sock *sk = sock->sk; iucv_sock_sendmsg() local
1140 iucv_process_message(struct sock * sk,struct sk_buff * skb,struct iucv_path * path,struct iucv_message * msg) iucv_process_message() argument
1201 iucv_process_message_q(struct sock * sk) iucv_process_message_q() argument
1222 struct sock *sk = sock->sk; iucv_sock_recvmsg() local
1349 struct sock *sk; iucv_accept_poll() local
1364 struct sock *sk = sock->sk; iucv_sock_poll() local
1402 struct sock *sk = sock->sk; iucv_sock_shutdown() local
1470 struct sock *sk = sock->sk; iucv_sock_release() local
1487 struct sock *sk = sock->sk; iucv_sock_setsockopt() local
1537 struct sock *sk = sock->sk; iucv_sock_getsockopt() local
1590 struct sock *sk, *nsk; iucv_callback_connreq() local
1683 struct sock *sk = path->private; iucv_callback_connack() local
1691 struct sock *sk = path->private; iucv_callback_rx() local
1736 struct sock *sk = path->private; iucv_callback_txdone() local
1780 struct sock *sk = path->private; iucv_callback_connrej() local
1798 struct sock *sk = path->private; iucv_callback_shutdown() local
1841 afiucv_hs_callback_syn(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_syn() argument
1906 afiucv_hs_callback_synack(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_synack() argument
1927 afiucv_hs_callback_synfin(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_synfin() argument
1947 afiucv_hs_callback_fin(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_fin() argument
1970 afiucv_hs_callback_win(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_win() argument
1988 afiucv_hs_callback_rx(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_rx() argument
2037 struct sock *sk; afiucv_hs_rcv() local
2139 afiucv_hs_callback_txnotify(struct sock * sk,enum iucv_tx_notify n) afiucv_hs_callback_txnotify() argument
2182 struct sock *sk; afiucv_netdev_event() local
2234 struct sock *sk; iucv_sock_create() local
[all...]
/linux/net/mptcp/
H A Dprotocol.c62 static const struct proto_ops *mptcp_fallback_tcp_ops(const struct sock *sk) in mptcp_fallback_tcp_ops()
97 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
126 struct sock *sk = (struct sock *)msk; in __mptcp_nmpc_sk() local
141 static void mptcp_drop(struct sock *sk, struct sk_buff *skb) in mptcp_drop()
147 static bool __mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in __mptcp_try_coalesce()
166 static bool mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in mptcp_try_coalesce()
199 static bool mptcp_rcvbuf_grow(struct sock *sk, u32 newval) in mptcp_rcvbuf_grow()
239 struct sock *sk = (struct sock *)msk; in mptcp_data_queue_ofo() local
373 static bool __mptcp_move_skb(struct sock *sk, struct sk_buff *skb) in __mptcp_move_skb()
410 static void mptcp_stop_rtx_timer(struct sock *sk) in mptcp_stop_rtx_timer()
[all …]
/linux/net/ipv4/
H A Dtcp_timer.c27 static u32 tcp_clamp_rto_to_user_timeout(const struct sock *sk) in tcp_clamp_rto_to_user_timeout() argument
49 u32 tcp_clamp_probe0_to_user_timeout(const struct sock *sk, u32 when) in tcp_clamp_probe0_to_user_timeout() argument
75 static void tcp_write_err(struct sock *sk) in tcp_write_err() argument
105 tcp_out_of_resources(struct sock * sk,bool do_reset) tcp_out_of_resources() argument
148 tcp_orphan_retries(struct sock * sk,bool alive) tcp_orphan_retries() argument
164 tcp_mtu_probing(struct inet_connection_sock * icsk,struct sock * sk) tcp_mtu_probing() argument
186 tcp_model_timeout(struct sock * sk,unsigned int boundary,unsigned int rto_base) tcp_model_timeout() argument
213 retransmits_timed_out(struct sock * sk,unsigned int boundary,unsigned int timeout) retransmits_timed_out() argument
241 tcp_write_timeout(struct sock * sk) tcp_write_timeout() argument
307 tcp_delack_timer_handler(struct sock * sk) tcp_delack_timer_handler() argument
363 struct sock *sk = &icsk->icsk_inet.sk; tcp_delack_timer() local
387 tcp_probe_timer(struct sock * sk) tcp_probe_timer() argument
438 tcp_update_rto_stats(struct sock * sk) tcp_update_rto_stats() argument
455 tcp_fastopen_synack_timer(struct sock * sk,struct request_sock * req) tcp_fastopen_synack_timer() argument
490 tcp_rtx_probe0_timed_out(const struct sock * sk,const struct sk_buff * skb,u32 rtx_delta) tcp_rtx_probe0_timed_out() argument
531 tcp_retransmit_timer(struct sock * sk) tcp_retransmit_timer() argument
691 tcp_write_timer_handler(struct sock * sk) tcp_write_timer_handler() argument
730 struct sock *sk = &icsk->icsk_inet.sk; tcp_write_timer() local
757 tcp_reset_keepalive_timer(struct sock * sk,unsigned long len) tcp_reset_keepalive_timer() argument
762 tcp_delete_keepalive_timer(struct sock * sk) tcp_delete_keepalive_timer() argument
767 tcp_set_keepalive(struct sock * sk,int val) tcp_set_keepalive() argument
781 struct sock *sk = timer_container_of(sk, t, sk_timer); tcp_keepalive_timer() local
870 struct sock *sk = (struct sock *)tp; tcp_compressed_ack_kick() local
895 tcp_init_xmit_timers(struct sock * sk) tcp_init_xmit_timers() argument
[all...]
H A Dtcp_bbr.c207 static bool bbr_full_bw_reached(const struct sock *sk) in bbr_full_bw_reached()
215 static u32 bbr_max_bw(const struct sock *sk) in bbr_max_bw()
223 static u32 bbr_bw(const struct sock *sk) in bbr_bw()
233 static u16 bbr_extra_acked(const struct sock *sk) in bbr_extra_acked()
244 static u64 bbr_rate_bytes_per_sec(struct sock *sk, u64 rate, int gain) in bbr_rate_bytes_per_sec()
256 static unsigned long bbr_bw_to_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_bw_to_pacing_rate()
266 static void bbr_init_pacing_rate_from_rtt(struct sock *sk) in bbr_init_pacing_rate_from_rtt()
286 static void bbr_set_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_set_pacing_rate()
299 __bpf_kfunc static u32 bbr_min_tso_segs(struct sock *sk) in bbr_min_tso_segs()
304 static u32 bbr_tso_segs_goal(struct sock *sk) in bbr_tso_segs_goal()
[all …]
H A Dtcp_input.c125 void (*cad)(struct sock *sk, u32 ack_seq)) in clean_acked_data_enable()
147 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
182 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
201 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
205 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
211 static __cold void tcp_gro_dev_warn(const struct sock *sk, const struct sk_buff *skb, in tcp_gro_dev_warn()
227 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) in tcp_measure_rcv_mss()
311 static void tcp_incr_quickack(struct sock *sk, unsigned int max_quickacks) in tcp_incr_quickack()
323 static void tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks) in tcp_enter_quickack_mode()
336 static bool tcp_in_quickack_mode(struct sock *sk) in tcp_in_quickack_mode()
[all …]
H A Dinet_connection_sock.c91 bool inet_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2, in inet_rcv_saddr_equal() argument
111 bool inet_rcv_saddr_any(const struct sock *sk) in inet_rcv_saddr_any() argument
130 inet_sk_get_local_port_range(const struct sock * sk,int * low,int * high) inet_sk_get_local_port_range() argument
156 inet_use_bhash2_on_bind(const struct sock * sk) inet_use_bhash2_on_bind() argument
170 inet_bind_conflict(const struct sock * sk,struct sock * sk2,kuid_t uid,bool relax,bool reuseport_cb_ok,bool reuseport_ok) inet_bind_conflict() argument
200 __inet_bhash2_conflict(const struct sock * sk,struct sock * sk2,kuid_t uid,bool relax,bool reuseport_cb_ok,bool reuseport_ok) __inet_bhash2_conflict() argument
218 inet_bhash2_conflict(const struct sock * sk,const struct inet_bind2_bucket * tb2,kuid_t uid,bool relax,bool reuseport_cb_ok,bool reuseport_ok) inet_bhash2_conflict() argument
240 inet_csk_bind_conflict(const struct sock * sk,const struct inet_bind_bucket * tb,const struct inet_bind2_bucket * tb2,bool relax,bool reuseport_ok) inet_csk_bind_conflict() argument
287 inet_bhash2_addr_any_conflict(const struct sock * sk,int port,int l3mdev,bool relax,bool reuseport_ok) inet_bhash2_addr_any_conflict() argument
329 inet_csk_find_open_port(const struct sock * sk,struct inet_bind_bucket ** tb_ret,struct inet_bind2_bucket ** tb2_ret,struct inet_bind_hashbucket ** head2_ret,int * port_ret) inet_csk_find_open_port() argument
426 sk_reuseport_match(struct inet_bind_bucket * tb,struct sock * sk) sk_reuseport_match() argument
457 inet_csk_update_fastreuse(struct inet_bind_bucket * tb,struct sock * sk) inet_csk_update_fastreuse() argument
510 inet_csk_get_port(struct sock * sk,unsigned short snum) inet_csk_get_port() argument
611 inet_csk_wait_for_connect(struct sock * sk,long timeo) inet_csk_wait_for_connect() argument
659 inet_csk_accept(struct sock * sk,struct proto_accept_arg * arg) inet_csk_accept() argument
755 inet_csk_init_xmit_timers(struct sock * sk,void (* retransmit_handler)(struct timer_list * t),void (* delack_handler)(struct timer_list * t),void (* keepalive_handler)(struct timer_list * t)) inet_csk_init_xmit_timers() argument
768 inet_csk_clear_xmit_timers(struct sock * sk) inet_csk_clear_xmit_timers() argument
780 inet_csk_clear_xmit_timers_sync(struct sock * sk) inet_csk_clear_xmit_timers_sync() argument
795 inet_csk_route_req(const struct sock * sk,struct flowi4 * fl4,const struct request_sock * req) inet_csk_route_req() argument
830 inet_csk_route_child_sock(const struct sock * sk,struct sock * newsk,const struct request_sock * req) inet_csk_route_child_sock() argument
946 inet_reqsk_clone(struct request_sock * req,struct sock * sk) inet_reqsk_clone() argument
1009 struct sock *sk = req_to_sk(req); reqsk_queue_unlink() local
1025 __inet_csk_reqsk_queue_drop(struct sock * sk,struct request_sock * req,bool from_timer) __inet_csk_reqsk_queue_drop() argument
1042 inet_csk_reqsk_queue_drop(struct sock * sk,struct request_sock * req) inet_csk_reqsk_queue_drop() argument
1047 inet_csk_reqsk_queue_drop_and_put(struct sock * sk,struct request_sock * req) inet_csk_reqsk_queue_drop_and_put() argument
1187 inet_csk_reqsk_queue_hash_add(struct sock * sk,struct request_sock * req,unsigned long timeout) inet_csk_reqsk_queue_hash_add() argument
1216 inet_csk_clone_lock(const struct sock * sk,const struct request_sock * req,const gfp_t priority) inet_csk_clone_lock() argument
1283 inet_csk_destroy_sock(struct sock * sk) inet_csk_destroy_sock() argument
1309 inet_csk_prepare_forced_close(struct sock * sk) inet_csk_prepare_forced_close() argument
1320 inet_ulp_can_listen(const struct sock * sk) inet_ulp_can_listen() argument
1330 inet_csk_listen_start(struct sock * sk) inet_csk_listen_start() argument
1366 inet_child_forget(struct sock * sk,struct request_sock * req,struct sock * child) inet_child_forget() argument
1390 inet_csk_reqsk_queue_add(struct sock * sk,struct request_sock * req,struct sock * child) inet_csk_reqsk_queue_add() argument
1415 inet_csk_complete_hashdance(struct sock * sk,struct sock * child,struct request_sock * req,bool own_req) inet_csk_complete_hashdance() argument
1464 inet_csk_listen_stop(struct sock * sk) inet_csk_listen_stop() argument
1536 inet_csk_rebuild_route(struct sock * sk,struct flowi * fl) inet_csk_rebuild_route() argument
1555 inet_csk_update_pmtu(struct sock * sk,u32 mtu) inet_csk_update_pmtu() argument
[all...]
H A Dtcp.c340 void tcp_enter_memory_pressure(struct sock *sk) in tcp_enter_memory_pressure()
355 void tcp_leave_memory_pressure(struct sock *sk) in tcp_leave_memory_pressure()
419 void tcp_md5_destruct_sock(struct sock *sk) in tcp_md5_destruct_sock()
439 void tcp_init_sock(struct sock *sk) in tcp_init_sock()
501 static void tcp_tx_timestamp(struct sock *sk, struct sockcm_cookie *sockc) in tcp_tx_timestamp()
522 static bool tcp_stream_is_readable(struct sock *sk, int target) in tcp_stream_is_readable()
539 struct sock *sk = sock->sk; in tcp_poll() local
643 int tcp_ioctl(struct sock *sk, int cmd, int *karg) in tcp_ioctl()
701 void tcp_skb_entail(struct sock *sk, struct sk_buff *skb) in tcp_skb_entail()
735 static bool tcp_should_autocork(struct sock *sk, struct sk_buff *skb, in tcp_should_autocork()
[all …]
/linux/net/x25/
H A Dx25_timer.c27 void x25_init_timers(struct sock *sk) in x25_init_timers()
37 void x25_start_heartbeat(struct sock *sk) in x25_start_heartbeat()
42 void x25_stop_heartbeat(struct sock *sk) in x25_stop_heartbeat()
47 void x25_start_t2timer(struct sock *sk) in x25_start_t2timer()
54 void x25_start_t21timer(struct sock *sk) in x25_start_t21timer()
61 void x25_start_t22timer(struct sock *sk) in x25_start_t22timer()
68 void x25_start_t23timer(struct sock *sk) in x25_start_t23timer()
75 void x25_stop_timer(struct sock *sk) in x25_stop_timer()
80 unsigned long x25_display_timer(struct sock *sk) in x25_display_timer()
92 struct sock *sk = timer_container_of(sk, t, sk_timer); in x25_heartbeat_expiry() local
[all …]
/linux/net/rose/
H A Drose_timer.c32 void rose_start_heartbeat(struct sock *sk) in rose_start_heartbeat()
42 void rose_start_t1timer(struct sock *sk) in rose_start_t1timer()
54 void rose_start_t2timer(struct sock *sk) in rose_start_t2timer()
66 void rose_start_t3timer(struct sock *sk) in rose_start_t3timer()
78 void rose_start_hbtimer(struct sock *sk) in rose_start_hbtimer()
90 void rose_start_idletimer(struct sock *sk) in rose_start_idletimer()
104 void rose_stop_heartbeat(struct sock *sk) in rose_stop_heartbeat()
109 void rose_stop_timer(struct sock *sk) in rose_stop_timer()
114 void rose_stop_idletimer(struct sock *sk) in rose_stop_idletimer()
121 struct sock *sk = timer_container_of(sk, t, sk_timer); in rose_heartbeat_expiry() local
[all …]
/linux/net/bluetooth/
H A Diso.c31 struct sock *sk; member
48 #define iso_pi(sk) ((struct iso_pinfo *)sk) argument
156 struct sock *sk; in iso_sock_timeout() local
179 static void iso_sock_set_timer(struct sock *sk, long timeout) in iso_sock_set_timer()
189 static void iso_sock_clear_timer(struct sock *sk) in iso_sock_clear_timer()
232 static void iso_chan_del(struct sock *sk, int err) in iso_chan_del()
266 struct sock *sk; in iso_conn_del() local
292 static int __iso_chan_add(struct iso_conn *conn, struct sock *sk, in __iso_chan_add()
314 static int iso_chan_add(struct iso_conn *conn, struct sock *sk, in iso_chan_add()
334 static int iso_connect_bis(struct sock *sk) in iso_connect_bis()
[all …]
H A Dsco.c49 struct sock *sk; member
64 #define sco_pi(sk) ((struct sco_pinfo *) sk) argument
145 struct sock *sk; sco_sock_timeout() local
173 sco_sock_set_timer(struct sock * sk,long timeout) sco_sock_set_timer() argument
183 sco_sock_clear_timer(struct sock * sk) sco_sock_clear_timer() argument
231 sco_chan_del(struct sock * sk,int err) sco_chan_del() argument
257 struct sock *sk; sco_conn_del() local
283 __sco_chan_add(struct sco_conn * conn,struct sock * sk,struct sock * parent) __sco_chan_add() argument
295 sco_chan_add(struct sco_conn * conn,struct sock * sk,struct sock * parent) sco_chan_add() argument
310 sco_connect(struct sock * sk) sco_connect() argument
381 sco_send_frame(struct sock * sk,struct sk_buff * skb,const struct sockcm_cookie * sockc) sco_send_frame() argument
401 struct sock *sk; sco_recv_frame() local
425 struct sock *sk; __sco_get_sock_listen_by_addr() local
443 struct sock *sk = NULL, *sk1 = NULL; sco_get_sock_listen() local
465 sco_sock_destruct(struct sock * sk) sco_sock_destruct() argument
477 struct sock *sk; sco_sock_cleanup_listen() local
494 sco_sock_kill(struct sock * sk) sco_sock_kill() argument
507 __sco_sock_close(struct sock * sk) __sco_sock_close() argument
532 sco_sock_close(struct sock * sk) sco_sock_close() argument
540 sco_sock_init(struct sock * sk,struct sock * parent) sco_sock_init() argument
560 struct sock *sk; sco_sock_alloc() local
582 struct sock *sk; sco_sock_create() local
605 struct sock *sk = sock->sk; sco_sock_bind() local
638 struct sock *sk = sock->sk; sco_sock_connect() local
673 struct sock *sk = sock->sk; sco_sock_listen() local
715 struct sock *sk = sock->sk, *ch; sco_sock_accept() local
770 struct sock *sk = sock->sk; sco_sock_getname() local
787 struct sock *sk = sock->sk; sco_sock_sendmsg() local
879 struct sock *sk = sock->sk; sco_sock_recvmsg() local
905 struct sock *sk = sock->sk; sco_sock_setsockopt() local
1042 struct sock *sk = sock->sk; sco_sock_getsockopt_old() local
1104 struct sock *sk = sock->sk; sco_sock_getsockopt() local
1285 struct sock *sk = sock->sk; sco_sock_shutdown() local
1315 struct sock *sk = sock->sk; sco_sock_release() local
1340 struct sock *sk = conn->sk; sco_conn_ready() local
1400 struct sock *sk; sco_connect_ind() local
1480 struct sock *sk; sco_debugfs_show() local
[all...]
H A Dl2cap_sock.c85 struct sock *sk = sock->sk; in l2cap_sock_bind() local
184 struct sock *sk = sock->sk; in l2cap_sock_connect() local
274 struct sock *sk = sock->sk; in l2cap_sock_listen() local
333 struct sock *sk = sock->sk, *nsk; in l2cap_sock_accept() local
389 struct sock *sk = sock->sk; in l2cap_sock_getname() local
438 struct sock *sk = sock->sk; in l2cap_sock_getsockopt_old() local
558 struct sock *sk = sock->sk; in l2cap_sock_getsockopt() local
728 struct sock *sk = sock->sk; in l2cap_sock_setsockopt_old() local
882 struct sock *sk = sock->sk; in l2cap_sock_setsockopt() local
1107 struct sock *sk = sock->sk; in l2cap_sock_sendmsg() local
[all …]
/linux/include/linux/
H A Dbpf-cgroup.h180 static inline bool cgroup_bpf_sock_enabled(struct sock *sk, in cgroup_bpf_sock_enabled()
191 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk, skb) \ argument
203 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk, skb) \ argument
216 #define BPF_CGROUP_RUN_SK_PROG(sk, atype) \ argument
225 #define BPF_CGROUP_RUN_PROG_INET_SOCK(sk) \ argument
228 #define BPF_CGROUP_RUN_PROG_INET_SOCK_RELEASE(sk) \ argument
231 #define BPF_CGROUP_RUN_PROG_INET4_POST_BIND(sk) \ argument
234 #define BPF_CGROUP_RUN_PROG_INET6_POST_BIND(sk) \ argument
237 #define BPF_CGROUP_RUN_SA_PROG(sk, uaddr, uaddrlen, atype) \ argument
246 #define BPF_CGROUP_RUN_SA_PROG_LOCK(sk, uaddr, uaddrlen, atype, t_ctx) \ argument
[all …]
/linux/net/dccp/
H A Dqpolicy.c
/linux/net/vmw_vsock/
H A Dvmci_transport_notify_qstate.c73 vmci_transport_handle_read(struct sock *sk, in vmci_transport_handle_read()
82 vmci_transport_handle_wrote(struct sock *sk, in vmci_transport_handle_wrote()
90 static void vsock_block_update_write_window(struct sock *sk) in vsock_block_update_write_window()
100 static int vmci_transport_send_read_notification(struct sock *sk) in vmci_transport_send_read_notification()
140 static void vmci_transport_notify_pkt_socket_init(struct sock *sk) in vmci_transport_notify_pkt_socket_init()
159 vmci_transport_notify_pkt_poll_in(struct sock *sk, in vmci_transport_notify_pkt_poll_in()
180 vmci_transport_notify_pkt_poll_out(struct sock *sk, in vmci_transport_notify_pkt_poll_out()
202 struct sock *sk, in vmci_transport_notify_pkt_recv_init()
234 struct sock *sk, in vmci_transport_notify_pkt_recv_pre_block()
254 struct sock *sk, in vmci_transport_notify_pkt_recv_post_dequeue()
[all …]
H A Dvmci_transport_notify.c105 vmci_transport_handle_waiting_read(struct sock *sk, in vmci_transport_handle_waiting_read()
135 vmci_transport_handle_waiting_write(struct sock *sk, in vmci_transport_handle_waiting_write()
165 vmci_transport_handle_read(struct sock *sk, in vmci_transport_handle_read()
180 static bool send_waiting_read(struct sock *sk, u64 room_needed) in send_waiting_read()
222 static bool send_waiting_write(struct sock *sk, u64 room_needed) in send_waiting_write()
259 static int vmci_transport_send_read_notification(struct sock *sk) in vmci_transport_send_read_notification()
301 vmci_transport_handle_wrote(struct sock *sk, in vmci_transport_handle_wrote()
313 static void vmci_transport_notify_pkt_socket_init(struct sock *sk) in vmci_transport_notify_pkt_socket_init()
338 vmci_transport_notify_pkt_poll_in(struct sock *sk, in vmci_transport_notify_pkt_poll_in()
362 vmci_transport_notify_pkt_poll_out(struct sock *sk, in vmci_transport_notify_pkt_poll_out()
[all …]
/linux/net/bluetooth/rfcomm/
H A Dsock.c52 struct sock *sk = d->owner; in rfcomm_sk_data_ready() local
66 struct sock *sk = d->owner, *parent; in rfcomm_sk_state_change() local
108 struct sock *sk = NULL; in __rfcomm_get_listen_sock_by_addr() local
129 struct sock *sk = NULL, *sk1 = NULL; in rfcomm_get_sock_by_channel() local
153 static void rfcomm_sock_destruct(struct sock *sk) in rfcomm_sock_destruct()
175 struct sock *sk; in rfcomm_sock_cleanup_listen() local
192 static void rfcomm_sock_kill(struct sock *sk) in rfcomm_sock_kill()
205 static void __rfcomm_sock_close(struct sock *sk) in __rfcomm_sock_close()
232 static void rfcomm_sock_close(struct sock *sk) in rfcomm_sock_close()
239 static void rfcomm_sock_init(struct sock *sk, struct sock *parent) in rfcomm_sock_init()
[all …]
/linux/net/tls/
H A Dtls_main.c131 void update_sk_prot(struct sock *sk, struct tls_context *ctx) in update_sk_prot()
141 int wait_on_pending_writer(struct sock *sk, long *timeo) in wait_on_pending_writer()
170 int tls_push_sg(struct sock *sk, in tls_push_sg()
228 static int tls_handle_open_record(struct sock *sk, int flags) in tls_handle_open_record()
238 int tls_process_cmsg(struct sock *sk, struct msghdr *msg, in tls_process_cmsg()
270 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx, in tls_push_partial_record()
283 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx) in tls_free_partial_record()
294 static void tls_write_space(struct sock *sk) in tls_write_space()
325 void tls_ctx_free(struct sock *sk, struct tls_context *ctx) in tls_ctx_free()
340 static void tls_sk_proto_cleanup(struct sock *sk, in tls_sk_proto_cleanup()
[all …]

12345678910>>...27