Home
last modified time | relevance | path

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

12345678910>>...23

/linux/net/llc/
H A Dllc_c_ac.c39 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_clear_remote_busy()
55 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_ind()
63 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_confirm()
71 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_confirm()
79 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_ind()
85 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_ind()
113 int llc_conn_ac_disc_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_confirm()
122 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_ind()
161 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_confirm()
170 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/include/net/
H A Dsock.h643 static inline bool sk_user_data_is_nocopy(const struct sock *sk) in sk_user_data_is_nocopy()
648 #define __sk_user_data(sk) ((*((void __rcu **)&(sk)->sk_user_data))) argument
661 __locked_read_sk_user_data_with_flags(const struct sock *sk, in __locked_read_sk_user_data_with_flags()
684 __rcu_dereference_sk_user_data_with_flags(const struct sock *sk, in __rcu_dereference_sk_user_data_with_flags()
696 #define rcu_dereference_sk_user_data(sk) \ argument
698 #define __rcu_assign_sk_user_data_with_flags(sk, ptr, flags) \ argument
707 #define rcu_assign_sk_user_data(sk, ptr) \ argument
711 struct net *sock_net(const struct sock *sk) in sock_net()
717 void sock_net_set(struct sock *sk, struct net *net) in sock_net_set()
735 static inline int sk_peek_offset(const struct sock *sk, int flags) in sk_peek_offset()
[all …]
/linux/net/core/
H A Dsock.c172 bool sk_ns_capable(const struct sock *sk, in sk_ns_capable() argument
189 bool sk_capable(const struct sock *sk, int cap) in sk_capable() argument
204 sk_net_capable(const struct sock * sk,int cap) sk_net_capable() argument
303 sk_set_memalloc(struct sock * sk) sk_set_memalloc() argument
311 sk_clear_memalloc(struct sock * sk) sk_clear_memalloc() argument
328 __sk_backlog_rcv(struct sock * sk,struct sk_buff * skb) __sk_backlog_rcv() argument
347 sk_error_report(struct sock * sk) sk_error_report() argument
460 sk_set_prio_allowed(const struct sock * sk,int val) sk_set_prio_allowed() argument
467 sock_needs_netstamp(const struct sock * sk) sock_needs_netstamp() argument
478 sock_disable_timestamp(struct sock * sk,unsigned long flags) sock_disable_timestamp() argument
489 __sock_queue_rcv_skb(struct sock * sk,struct sk_buff * skb) __sock_queue_rcv_skb() argument
525 sock_queue_rcv_skb_reason(struct sock * sk,struct sk_buff * skb) sock_queue_rcv_skb_reason() argument
545 __sk_receive_skb(struct sock * sk,struct sk_buff * skb,const int nested,unsigned int trim_cap,bool refcounted) __sk_receive_skb() argument
601 __sk_dst_check(struct sock * sk,u32 cookie) __sk_dst_check() argument
619 sk_dst_check(struct sock * sk,u32 cookie) sk_dst_check() argument
635 sock_bindtoindex_locked(struct sock * sk,int ifindex) sock_bindtoindex_locked() argument
665 sock_bindtoindex(struct sock * sk,int ifindex,bool lock_sk) sock_bindtoindex() argument
679 sock_setbindtodevice(struct sock * sk,sockptr_t optval,int optlen) sock_setbindtodevice() argument
727 sock_getbindtodevice(struct sock * sk,sockptr_t optval,sockptr_t optlen,int len) sock_getbindtodevice() argument
768 sk_mc_loop(const struct sock * sk) sk_mc_loop() argument
787 sock_set_reuseaddr(struct sock * sk) sock_set_reuseaddr() argument
795 sock_set_reuseport(struct sock * sk) sock_set_reuseport() argument
803 sock_no_linger(struct sock * sk) sock_no_linger() argument
812 sock_set_priority(struct sock * sk,u32 priority) sock_set_priority() argument
818 sock_set_sndtimeo(struct sock * sk,s64 secs) sock_set_sndtimeo() argument
827 __sock_set_timestamps(struct sock * sk,bool val,bool new,bool ns) __sock_set_timestamps() argument
837 sock_set_timestamp(struct sock * sk,int optname,bool valbool) sock_set_timestamp() argument
855 sock_timestamping_bind_phc(struct sock * sk,int phc_index) sock_timestamping_bind_phc() argument
892 sock_set_timestamping(struct sock * sk,int optname,struct so_timestamping timestamping) sock_set_timestamping() argument
944 bpf_skops_tx_timestamping(struct sock * sk,struct sk_buff * skb,int op) bpf_skops_tx_timestamping() argument
957 sock_set_keepalive(struct sock * sk) sock_set_keepalive() argument
967 __sock_set_rcvbuf(struct sock * sk,int val) __sock_set_rcvbuf() argument
997 sock_set_rcvbuf(struct sock * sk,int val) sock_set_rcvbuf() argument
1005 __sock_set_mark(struct sock * sk,u32 val) __sock_set_mark() argument
1013 sock_set_mark(struct sock * sk,u32 val) sock_set_mark() argument
1021 sock_release_reserved_memory(struct sock * sk,int bytes) sock_release_reserved_memory() argument
1031 sock_reserve_memory(struct sock * sk,int bytes) sock_reserve_memory() argument
1087 sock_devmem_dontneed(struct sock * sk,sockptr_t optval,unsigned int optlen) sock_devmem_dontneed() argument
1145 sockopt_lock_sock(struct sock * sk) sockopt_lock_sock() argument
1158 sockopt_release_sock(struct sock * sk) sockopt_release_sock() argument
1195 sk_setsockopt(struct sock * sk,int level,int optname,sockptr_t optval,unsigned int optlen) sk_setsockopt() argument
1693 sk_get_peer_cred(struct sock * sk) sk_get_peer_cred() argument
1732 sk_getsockopt(struct sock * sk,int level,int optname,sockptr_t optval,sockptr_t optlen) sk_getsockopt() argument
2185 sock_lock_init(struct sock * sk) sock_lock_init() argument
2241 struct sock *sk; sk_prot_alloc() local
2274 sk_prot_free(struct proto * prot,struct sock * sk) sk_prot_free() argument
2306 struct sock *sk; sk_alloc() local
2352 struct sock *sk = container_of(head, struct sock, sk_rcu); __sk_destruct() local
2394 sk_net_refcnt_upgrade(struct sock * sk) sk_net_refcnt_upgrade() argument
2407 sk_destruct(struct sock * sk) sk_destruct() argument
2422 __sk_free(struct sock * sk) __sk_free() argument
2433 sk_free(struct sock * sk) sk_free() argument
2445 sk_init_common(struct sock * sk) sk_init_common() argument
2480 sk_clone(const struct sock * sk,const gfp_t priority,bool lock) sk_clone() argument
2622 sk_dst_gso_max_size(struct sock * sk,const struct net_device * dev) sk_dst_gso_max_size() argument
2640 sk_setup_caps(struct sock * sk,struct dst_entry * dst) sk_setup_caps() argument
2674 sk_has_decrypt_user(const struct sock * sk) sk_has_decrypt_user() argument
2691 struct sock *sk = skb->sk; sock_wfree() local
2735 struct sock *sk = skb->sk; __sock_wfree() local
2743 skb_set_owner_w(struct sk_buff * skb,struct sock * sk) skb_set_owner_w() argument
2807 struct sock *sk = skb->sk; sock_rfree() local
2831 struct sock *sk = skb->sk; sock_pfree() local
2850 sock_wmalloc(struct sock * sk,unsigned long size,int force,gfp_t priority) sock_wmalloc() argument
2868 struct sock *sk = skb->sk; sock_ofree() local
2873 sock_omalloc(struct sock * sk,unsigned long size,gfp_t priority) sock_omalloc() argument
2896 sock_kmalloc(struct sock * sk,int size,gfp_t priority) sock_kmalloc() argument
2920 sock_kmemdup(struct sock * sk,const void * src,int size,gfp_t priority) sock_kmemdup() argument
2936 __sock_kfree_s(struct sock * sk,void * mem,int size,const bool nullify) __sock_kfree_s() argument
2948 sock_kfree_s(struct sock * sk,void * mem,int size) sock_kfree_s() argument
2954 sock_kzfree_s(struct sock * sk,void * mem,int size) sock_kzfree_s() argument
2963 sock_wait_for_wmem(struct sock * sk,long timeo) sock_wait_for_wmem() argument
2992 sock_alloc_send_pskb(struct sock * sk,unsigned long header_len,unsigned long data_len,int noblock,int * errcode,int max_page_order) sock_alloc_send_pskb() argument
3036 __sock_cmsg_send(struct sock * sk,struct cmsghdr * cmsg,struct sockcm_cookie * sockc) __sock_cmsg_send() argument
3135 sock_cmsg_send(struct sock * sk,struct msghdr * msg,struct sockcm_cookie * sockc) sock_cmsg_send() argument
3154 sk_enter_memory_pressure(struct sock * sk) sk_enter_memory_pressure() argument
3162 sk_leave_memory_pressure(struct sock * sk) sk_leave_memory_pressure() argument
3221 sk_page_frag_refill(struct sock * sk,struct page_frag * pfrag) sk_page_frag_refill() argument
3235 __lock_sock(struct sock * sk) __lock_sock() argument
3253 __release_sock(struct sock * sk) __release_sock() argument
3290 __sk_flush_backlog(struct sock * sk) __sk_flush_backlog() argument
3314 sk_wait_data(struct sock * sk,long * timeo,const struct sk_buff * skb) sk_wait_data() argument
3343 __sk_mem_raise_allocated(struct sock * sk,int size,int amt,int kind) __sk_mem_raise_allocated() argument
3461 __sk_mem_schedule(struct sock * sk,int size,int kind) __sk_mem_schedule() argument
3480 __sk_mem_reduce_allocated(struct sock * sk,int amount) __sk_mem_reduce_allocated() argument
3500 __sk_mem_reclaim(struct sock * sk,int amount) __sk_mem_reclaim() argument
3508 __sk_charge(struct sock * sk,gfp_t gfp) __sk_charge() argument
3526 sk_set_peek_off(struct sock * sk,int val) sk_set_peek_off() argument
3597 sock_no_sendmsg_locked(struct sock * sk,struct msghdr * m,size_t len) sock_no_sendmsg_locked() argument
3636 sock_def_wakeup(struct sock * sk) sock_def_wakeup() argument
3647 sock_def_error_report(struct sock * sk) sock_def_error_report() argument
3659 sock_def_readable(struct sock * sk) sock_def_readable() argument
3674 sock_def_write_space(struct sock * sk) sock_def_write_space() argument
3700 sock_def_write_space_wfree(struct sock * sk,int wmem_alloc) sock_def_write_space_wfree() argument
3719 sock_def_destruct(struct sock * sk) sock_def_destruct() argument
3723 sk_send_sigurg(struct sock * sk) sk_send_sigurg() argument
3731 sk_reset_timer(struct sock * sk,struct timer_list * timer,unsigned long expires) sk_reset_timer() argument
3739 sk_stop_timer(struct sock * sk,struct timer_list * timer) sk_stop_timer() argument
3746 sk_stop_timer_sync(struct sock * sk,struct timer_list * timer) sk_stop_timer_sync() argument
3753 sock_init_data_uid(struct socket * sock,struct sock * sk,kuid_t uid) sock_init_data_uid() argument
3824 sock_init_data(struct socket * sock,struct sock * sk) sock_init_data() argument
3834 lock_sock_nested(struct sock * sk,int subclass) lock_sock_nested() argument
3864 release_sock(struct sock * sk) release_sock() argument
3883 __lock_sock_fast(struct sock * sk) __lock_sock_fast() argument
3918 struct sock *sk = sock->sk; sock_gettstamp() local
3961 sock_enable_timestamp(struct sock * sk,enum sock_flags flag) sock_enable_timestamp() argument
3978 sock_recv_errqueue(struct sock * sk,struct msghdr * msg,int len,int level,int type) sock_recv_errqueue() argument
4025 struct sock *sk = sock->sk; sock_common_getsockopt() local
4035 struct sock *sk = sock->sk; sock_common_recvmsg() local
4047 struct sock *sk = sock->sk; sock_common_setsockopt() local
4054 sk_common_release(struct sock * sk) sk_common_release() argument
4089 sk_get_meminfo(const struct sock * sk,u32 * mem) sk_get_meminfo() argument
4484 struct sock *sk = p; sk_busy_loop_end() local
4498 sock_bind_add(struct sock * sk,struct sockaddr_unsized * addr,int addr_len) sock_bind_add() argument
4507 sock_ioctl_inout(struct sock * sk,unsigned int cmd,void __user * arg,void * karg,size_t size) sock_ioctl_inout() argument
4530 sock_ioctl_out(struct sock * sk,unsigned int cmd,void __user * arg) sock_ioctl_out() argument
4546 sk_ioctl(struct sock * sk,unsigned int cmd,void __user * arg) sk_ioctl() argument
[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/iucv/
H A Daf_iucv.c57 #define __iucv_sock_wait(sk, condition, timeo, ret) \ argument
82 #define iucv_sock_wait(sk, condition, timeo) \ argument
153 static int iucv_sock_in_state(struct sock *sk, int state, int state2) in iucv_sock_in_state()
166 static inline int iucv_below_msglim(struct sock *sk) in iucv_below_msglim()
182 static void iucv_sock_wake_msglim(struct sock *sk) in iucv_sock_wake_msglim()
273 struct sock *sk; in __iucv_get_sock_by_name() local
282 static void iucv_sock_destruct(struct sock *sk) in iucv_sock_destruct()
301 struct sock *sk; in iucv_sock_cleanup_listen() local
312 static void iucv_sock_link(struct iucv_sock_list *l, struct sock *sk) in iucv_sock_link()
319 static void iucv_sock_unlink(struct iucv_sock_list *l, struct sock *sk) in iucv_sock_unlink()
[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/ipv4/
H A Dtcp_timer.c28 static u32 tcp_clamp_rto_to_user_timeout(const struct sock *sk) in tcp_clamp_rto_to_user_timeout()
50 u32 tcp_clamp_probe0_to_user_timeout(const struct sock *sk, u32 when) in tcp_clamp_probe0_to_user_timeout()
77 static void tcp_write_err(struct sock *sk) in tcp_write_err()
107 static int tcp_out_of_resources(struct sock *sk, bool do_reset) in tcp_out_of_resources()
150 static int tcp_orphan_retries(struct sock *sk, bool alive) in tcp_orphan_retries()
166 static void tcp_mtu_probing(struct inet_connection_sock *icsk, struct sock *sk) in tcp_mtu_probing()
188 static unsigned int tcp_model_timeout(struct sock *sk, in tcp_model_timeout()
215 static bool retransmits_timed_out(struct sock *sk, in retransmits_timed_out()
243 static int tcp_write_timeout(struct sock *sk) in tcp_write_timeout()
309 void tcp_delack_timer_handler(struct sock *sk) in tcp_delack_timer_handler()
[all …]
H A Dtcp_input.c125 void (*cad)(struct sock *sk, u32 ack_seq)) in clean_acked_data_enable() argument
147 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr() argument
182 static void bpf_skops_established(struct sock *sk, in argument
201 bpf_skops_parse_hdr(struct sock * sk,struct sk_buff * skb) bpf_skops_parse_hdr() argument
205 bpf_skops_established(struct sock * sk,int bpf_op,struct sk_buff * skb) bpf_skops_established() argument
211 tcp_gro_dev_warn(const struct sock * sk,const struct sk_buff * skb,unsigned int len) tcp_gro_dev_warn() argument
227 tcp_measure_rcv_mss(struct sock * sk,const struct sk_buff * skb) tcp_measure_rcv_mss() argument
311 tcp_incr_quickack(struct sock * sk,unsigned int max_quickacks) tcp_incr_quickack() argument
323 tcp_enter_quickack_mode(struct sock * sk,unsigned int max_quickacks) tcp_enter_quickack_mode() argument
336 tcp_in_quickack_mode(struct sock * sk) tcp_in_quickack_mode() argument
344 tcp_data_ecn_check(struct sock * sk,const struct sk_buff * skb) tcp_data_ecn_check() argument
496 __tcp_accecn_process(struct sock * sk,const struct sk_buff * skb,u32 delivered_pkts,u32 delivered_bytes,int flag) __tcp_accecn_process() argument
581 tcp_accecn_process(struct sock * sk,const struct sk_buff * skb,u32 delivered_pkts,u32 delivered_bytes,int * flag) tcp_accecn_process() argument
605 tcp_sndbuf_expand(struct sock * sk) tcp_sndbuf_expand() argument
663 __tcp_grow_window(const struct sock * sk,const struct sk_buff * skb,unsigned int skbtruesize) __tcp_grow_window() argument
700 tcp_grow_window(struct sock * sk,const struct sk_buff * skb,bool adjust) tcp_grow_window() argument
740 tcp_init_buffer_space(struct sock * sk) tcp_init_buffer_space() argument
778 tcp_clamp_window(struct sock * sk) tcp_clamp_window() argument
806 tcp_initialize_rcv_mss(struct sock * sk) tcp_initialize_rcv_mss() argument
893 tcp_rcv_rtt_measure_ts(struct sock * sk,const struct sk_buff * skb) tcp_rcv_rtt_measure_ts() argument
911 tcp_rcvbuf_grow(struct sock * sk,u32 newval) tcp_rcvbuf_grow() argument
960 tcp_rcv_space_adjust(struct sock * sk) tcp_rcv_space_adjust() argument
995 tcp_save_lrcv_flowlabel(struct sock * sk,const struct sk_buff * skb) tcp_save_lrcv_flowlabel() argument
1015 tcp_event_data_recv(struct sock * sk,struct sk_buff * skb) tcp_event_data_recv() argument
1070 tcp_rtt_estimator(struct sock * sk,long mrtt_us) tcp_rtt_estimator() argument
1138 tcp_update_pacing_rate(struct sock * sk) tcp_update_pacing_rate() argument
1175 tcp_set_rto(struct sock * sk) tcp_set_rto() argument
1275 tcp_check_sack_reordering(struct sock * sk,const u32 low_seq,const int ts) tcp_check_sack_reordering() argument
1329 tcp_mark_skb_lost(struct sock * sk,struct sk_buff * skb) tcp_mark_skb_lost() argument
1484 tcp_check_dsack(struct sock * sk,const struct sk_buff * ack_skb,struct tcp_sack_block_wire * sp,int num_sacks,u32 prior_snd_una,struct tcp_sacktag_state * state) tcp_check_dsack() argument
1531 tcp_match_skb_to_sack(struct sock * sk,struct sk_buff * skb,u32 start_seq,u32 end_seq) tcp_match_skb_to_sack() argument
1612 tcp_sacktag_one(struct sock * sk,struct tcp_sacktag_state * state,u8 sacked,u32 start_seq,u32 end_seq,int dup_sack,int pcount,u32 plen,u64 xmit_time) tcp_sacktag_one() argument
1724 tcp_rate_gen(struct sock * sk,u32 delivered,u32 lost,bool is_sack_reneg,struct rate_sample * rs) tcp_rate_gen() argument
1808 tcp_rate_skb_delivered(struct sock * sk,struct sk_buff * skb,struct rate_sample * rs) tcp_rate_skb_delivered() argument
1847 tcp_shifted_skb(struct sock * sk,struct sk_buff * prev,struct sk_buff * skb,struct tcp_sacktag_state * state,unsigned int pcount,int shifted,int mss,bool dup_sack) tcp_shifted_skb() argument
1954 tcp_shift_skb_data(struct sock * sk,struct sk_buff * skb,struct tcp_sacktag_state * state,u32 start_seq,u32 end_seq,bool dup_sack) tcp_shift_skb_data() argument
2092 tcp_sacktag_walk(struct sk_buff * skb,struct sock * sk,struct tcp_sack_block * next_dup,struct tcp_sacktag_state * state,u32 start_seq,u32 end_seq,bool dup_sack_in) tcp_sacktag_walk() argument
2165 tcp_sacktag_bsearch(struct sock * sk,u32 seq) tcp_sacktag_bsearch() argument
2186 tcp_sacktag_skip(struct sk_buff * skb,struct sock * sk,u32 skip_to_seq) tcp_sacktag_skip() argument
2196 tcp_maybe_skipping_dsack(struct sk_buff * skb,struct sock * sk,struct tcp_sack_block * next_dup,struct tcp_sacktag_state * state,u32 skip_to_seq) tcp_maybe_skipping_dsack() argument
2220 tcp_sacktag_write_queue(struct sock * sk,const struct sk_buff * ack_skb,u32 prior_snd_una,struct tcp_sacktag_state * state) tcp_sacktag_write_queue() argument
2436 tcp_check_reno_reordering(struct sock * sk,const int addend) tcp_check_reno_reordering() argument
2452 tcp_add_reno_sack(struct sock * sk,int num_dupack,bool ece_ack) tcp_add_reno_sack() argument
2470 tcp_remove_reno_sacks(struct sock * sk,int acked,bool ece_ack) tcp_remove_reno_sacks() argument
2524 tcp_timeout_mark_lost(struct sock * sk) tcp_timeout_mark_lost() argument
2554 tcp_enter_loss(struct sock * sk) tcp_enter_loss() argument
2611 tcp_check_sack_reneging(struct sock * sk,int * ack_flag) tcp_check_sack_reneging() argument
2744 const struct sock *sk = (const struct sock *)tp; tcp_packet_delayed() local
2791 tcp_any_retrans_done(const struct sock * sk) tcp_any_retrans_done() argument
2810 tcp_retrans_stamp_cleanup(struct sock * sk) tcp_retrans_stamp_cleanup() argument
2816 DBGUNDO(struct sock * sk,const char * msg) DBGUNDO() argument
2843 tcp_undo_cwnd_reduction(struct sock * sk,bool unmark_loss) tcp_undo_cwnd_reduction() argument
2877 tcp_is_non_sack_preventing_reopen(struct sock * sk) tcp_is_non_sack_preventing_reopen() argument
2893 tcp_try_undo_recovery(struct sock * sk) tcp_try_undo_recovery() argument
2922 tcp_try_undo_dsack(struct sock * sk) tcp_try_undo_dsack() argument
2938 tcp_try_undo_loss(struct sock * sk,bool frto_undo) tcp_try_undo_loss() argument
2971 tcp_init_cwnd_reduction(struct sock * sk) tcp_init_cwnd_reduction() argument
2985 tcp_cwnd_reduction(struct sock * sk,int newly_acked_sacked,int newly_lost,int flag) tcp_cwnd_reduction() argument
3013 tcp_end_cwnd_reduction(struct sock * sk) tcp_end_cwnd_reduction() argument
3030 tcp_enter_cwr(struct sock * sk) tcp_enter_cwr() argument
3043 tcp_try_keep_open(struct sock * sk) tcp_try_keep_open() argument
3057 tcp_try_to_open(struct sock * sk,int flag) tcp_try_to_open() argument
3074 tcp_mtup_probe_failed(struct sock * sk) tcp_mtup_probe_failed() argument
3083 tcp_mtup_probe_success(struct sock * sk) tcp_mtup_probe_success() argument
3116 tcp_non_congestion_loss_retransmit(struct sock * sk) tcp_non_congestion_loss_retransmit() argument
3135 tcp_simple_retransmit(struct sock * sk) tcp_simple_retransmit() argument
3177 tcp_enter_recovery(struct sock * sk,bool ece_ack) tcp_enter_recovery() argument
3214 tcp_process_loss(struct sock * sk,int flag,int num_dupack,int * rexmit) tcp_process_loss() argument
3268 tcp_try_undo_partial(struct sock * sk,u32 prior_snd_una) tcp_try_undo_partial() argument
3297 tcp_identify_packet_loss(struct sock * sk,int * ack_flag) tcp_identify_packet_loss() argument
3328 tcp_fastretrans_alert(struct sock * sk,const u32 prior_snd_una,int num_dupack,int * ack_flag,int * rexmit) tcp_fastretrans_alert() argument
3443 tcp_update_rtt_min(struct sock * sk,u32 rtt_us,const int flag) tcp_update_rtt_min() argument
3459 tcp_ack_update_rtt(struct sock * sk,const int flag,long seq_rtt_us,long sack_rtt_us,long ca_rtt_us,struct rate_sample * rs) tcp_ack_update_rtt() argument
3501 tcp_synack_rtt_meas(struct sock * sk,struct request_sock * req) tcp_synack_rtt_meas() argument
3513 tcp_cong_avoid(struct sock * sk,u32 ack,u32 acked) tcp_cong_avoid() argument
3524 tcp_rearm_rto(struct sock * sk) tcp_rearm_rto() argument
3553 tcp_set_xmit_timer(struct sock * sk) tcp_set_xmit_timer() argument
3560 tcp_tso_acked(struct sock * sk,struct sk_buff * skb) tcp_tso_acked() argument
3580 tcp_ack_tstamp(struct sock * sk,struct sk_buff * skb,const struct sk_buff * ack_skb,u32 prior_snd_una) tcp_ack_tstamp() argument
3602 tcp_clean_rtx_queue(struct sock * sk,const struct sk_buff * ack_skb,u32 prior_fack,u32 prior_snd_una,struct tcp_sacktag_state * sack,bool ece_ack) tcp_clean_rtx_queue() argument
3807 tcp_ack_probe(struct sock * sk) tcp_ack_probe() argument
3831 tcp_ack_is_dubious(const struct sock * sk,const int flag) tcp_ack_is_dubious() argument
3838 tcp_may_raise_cwnd(const struct sock * sk,const int flag) tcp_may_raise_cwnd() argument
3858 tcp_cong_control(struct sock * sk,u32 ack,u32 acked_sacked,int flag,const struct rate_sample * rs) tcp_cong_control() argument
3951 tcp_ack_update_window(struct sock * sk,const struct sk_buff * skb,u32 ack,u32 ack_seq) tcp_ack_update_window() argument
4031 tcp_send_ack_reflect_ect(struct sock * sk,bool accecn_reflector) tcp_send_ack_reflect_ect() argument
4069 tcp_send_challenge_ack(struct sock * sk,bool accecn_reflector) tcp_send_challenge_ack() argument
4091 tcp_reqsk_send_challenge_ack(struct sock * sk,struct sk_buff * skb,struct request_sock * req) tcp_reqsk_send_challenge_ack() argument
4142 tcp_process_tlp_ack(struct sock * sk,u32 ack,int flag) tcp_process_tlp_ack() argument
4172 tcp_in_ack_event(struct sock * sk,int flag) tcp_in_ack_event() argument
4195 tcp_xmit_recovery(struct sock * sk,int rexmit) tcp_xmit_recovery() argument
4213 tcp_newly_delivered(struct sock * sk,u32 prior_delivered,u32 ecn_count,int flag) tcp_newly_delivered() argument
4250 tcp_rack_update_reo_wnd(struct sock * sk,struct rate_sample * rs) tcp_rack_update_reo_wnd() argument
4276 tcp_ack(struct sock * sk,const struct sk_buff * skb,int flag) tcp_ack() argument
4777 tcp_tsval_replay(const struct sock * sk) tcp_tsval_replay() argument
4791 tcp_disordered_ack_check(const struct sock * sk,const struct sk_buff * skb) tcp_disordered_ack_check() argument
4840 tcp_sequence(const struct sock * sk,u32 seq,u32 end_seq,const struct tcphdr * th) tcp_sequence() argument
4870 tcp_done_with_error(struct sock * sk,int err) tcp_done_with_error() argument
4884 tcp_reset(struct sock * sk,struct sk_buff * skb) tcp_reset() argument
4926 tcp_fin(struct sock * sk) tcp_fin() argument
5007 tcp_dsack_set(struct sock * sk,u32 seq,u32 end_seq) tcp_dsack_set() argument
5027 tcp_dsack_extend(struct sock * sk,u32 seq,u32 end_seq) tcp_dsack_extend() argument
5037 tcp_rcv_spurious_retrans(struct sock * sk,const struct sk_buff * skb) tcp_rcv_spurious_retrans() argument
5072 tcp_send_dupack(struct sock * sk,const struct sk_buff * skb) tcp_send_dupack() argument
5123 tcp_sack_compress_send_ack(struct sock * sk) tcp_sack_compress_send_ack() argument
5150 tcp_sack_new_ofo_skb(struct sock * sk,u32 seq,u32 end_seq) tcp_sack_new_ofo_skb() argument
5244 tcp_try_coalesce(struct sock * sk,struct sk_buff * to,struct sk_buff * from,bool * fragstolen) tcp_try_coalesce() argument
5279 tcp_ooo_try_coalesce(struct sock * sk,struct sk_buff * to,struct sk_buff * from,bool * fragstolen) tcp_ooo_try_coalesce() argument
5297 tcp_drop_reason(struct sock * sk,struct sk_buff * skb,enum skb_drop_reason reason) tcp_drop_reason() argument
5306 tcp_ofo_queue(struct sock * sk) tcp_ofo_queue() argument
5357 tcp_can_ingest(const struct sock * sk,const struct sk_buff * skb) tcp_can_ingest() argument
5364 tcp_try_rmem_schedule(struct sock * sk,const struct sk_buff * skb,unsigned int size) tcp_try_rmem_schedule() argument
5381 tcp_data_queue_ofo(struct sock * sk,struct sk_buff * skb) tcp_data_queue_ofo() argument
5394 READ_ONCE(sk->sk_data_ready)(sk); tcp_data_queue_ofo() local
5532 tcp_queue_rcv(struct sock * sk,struct sk_buff * skb,bool * fragstolen) tcp_queue_rcv() argument
5549 tcp_send_rcvq(struct sock * sk,struct msghdr * msg,size_t size) tcp_send_rcvq() argument
5601 tcp_data_ready(struct sock * sk) tcp_data_ready() argument
5604 READ_ONCE(sk->sk_data_ready)(sk); tcp_data_ready() local
5607 tcp_data_queue(struct sock * sk,struct sk_buff * skb) tcp_data_queue() argument
5660 READ_ONCE(sk->sk_data_ready)(sk); tcp_data_queue() local
5747 tcp_collapse_one(struct sock * sk,struct sk_buff * skb,struct sk_buff_head * list,struct rb_root * root) tcp_collapse_one() argument
5773 tcp_collapse(struct sock * sk,struct sk_buff_head * list,struct rb_root * root,struct sk_buff * head,struct sk_buff * tail,u32 start,u32 end) tcp_collapse() argument
5879 tcp_collapse_ofo_queue(struct sock * sk) tcp_collapse_ofo_queue() argument
5939 tcp_prune_ofo_queue(struct sock * sk,const struct sk_buff * in_skb) tcp_prune_ofo_queue() argument
5993 tcp_prune_queue(struct sock * sk,const struct sk_buff * in_skb) tcp_prune_queue() argument
6040 tcp_should_expand_sndbuf(struct sock * sk) tcp_should_expand_sndbuf() argument
6075 tcp_new_space(struct sock * sk) tcp_new_space() argument
6099 __tcp_check_space(struct sock * sk) __tcp_check_space() argument
6106 tcp_data_snd_check(struct sock * sk) tcp_data_snd_check() argument
6115 __tcp_ack_snd_check(struct sock * sk,int ofo_possible) __tcp_ack_snd_check() argument
6192 tcp_ack_snd_check(struct sock * sk) tcp_ack_snd_check() argument
6211 tcp_check_urg(struct sock * sk,const struct tcphdr * th) tcp_check_urg() argument
6277 tcp_urg(struct sock * sk,struct sk_buff * skb,const struct tcphdr * th) tcp_urg() argument
6297 READ_ONCE(sk->sk_data_ready)(sk); tcp_urg() local
6310 tcp_reset_check(const struct sock * sk,const struct sk_buff * skb) tcp_reset_check() argument
6322 tcp_validate_incoming(struct sock * sk,struct sk_buff * skb,const struct tcphdr * th,int syn_inerr) tcp_validate_incoming() argument
6501 tcp_rcv_established(struct sock * sk,struct sk_buff * skb) tcp_rcv_established() argument
6706 tcp_init_transfer(struct sock * sk,int bpf_op,struct sk_buff * skb) tcp_init_transfer() argument
6734 tcp_finish_connect(struct sock * sk,struct sk_buff * skb) tcp_finish_connect() argument
6765 tcp_rcv_fastopen_synack(struct sock * sk,struct sk_buff * synack,struct tcp_fastopen_cookie * cookie) tcp_rcv_fastopen_synack() argument
6838 tcp_try_undo_spurious_syn(struct sock * sk) tcp_try_undo_spurious_syn() argument
6853 tcp_rcv_synsent_state_process(struct sock * sk,struct sk_buff * skb,const struct tcphdr * th) tcp_rcv_synsent_state_process() argument
7104 tcp_rcv_synrecv_state_fastopen(struct sock * sk) tcp_rcv_synrecv_state_fastopen() argument
7153 tcp_rcv_state_process(struct sock * sk,struct sk_buff * skb) tcp_rcv_state_process() argument
7492 tcp_openreq_init(struct request_sock * req,const struct tcp_options_received * rx_opt,struct sk_buff * skb,const struct sock * sk) tcp_openreq_init() argument
7527 tcp_syn_flood_action(struct sock * sk,const char * proto) tcp_syn_flood_action() argument
7562 tcp_reqsk_record_syn(const struct sock * sk,struct request_sock * req,const struct sk_buff * skb) tcp_reqsk_record_syn() argument
7597 tcp_get_syncookie_mss(struct request_sock_ops * rsk_ops,const struct tcp_request_sock_ops * af_ops,struct sock * sk,struct tcphdr * th) tcp_get_syncookie_mss() argument
7623 tcp_conn_request(struct request_sock_ops * rsk_ops,const struct tcp_request_sock_ops * af_ops,struct sock * sk,struct sk_buff * skb) tcp_conn_request() argument
7776 READ_ONCE(sk->sk_data_ready)(sk); tcp_conn_request() local
[all...]
H A Dinet_connection_sock.c92 bool inet_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2, in inet_rcv_saddr_equal()
111 bool inet_rcv_saddr_any(const struct sock *sk) in inet_rcv_saddr_any()
130 bool inet_sk_get_local_port_range(const struct sock *sk, int *low, int *high) in inet_sk_get_local_port_range()
156 static bool inet_bind_conflict(const struct sock *sk, struct sock *sk2, in inet_bind_conflict()
186 static bool __inet_bhash2_conflict(const struct sock *sk, struct sock *sk2, in __inet_bhash2_conflict()
204 static bool inet_bhash2_conflict(const struct sock *sk, in inet_bhash2_conflict()
226 static int inet_csk_bind_conflict(const struct sock *sk, in inet_csk_bind_conflict()
273 static bool inet_bhash2_addr_any_conflict(const struct sock *sk, int port, int l3mdev, in inet_bhash2_addr_any_conflict()
315 inet_csk_find_open_port(const struct sock *sk, struct inet_bind_bucket **tb_ret, in inet_csk_find_open_port()
412 const struct sock *sk) in sk_reuseport_match()
[all …]
H A Dtcp.c325 void tcp_enter_memory_pressure(struct sock *sk) in tcp_enter_memory_pressure() argument
339 void tcp_leave_memory_pressure(struct sock *sk) in tcp_leave_memory_pressure() argument
402 tcp_md5_destruct_sock(struct sock * sk) tcp_md5_destruct_sock() argument
420 tcp_init_sock(struct sock * sk) tcp_init_sock() argument
481 tcp_tx_timestamp(struct sock * sk,struct sockcm_cookie * sockc) tcp_tx_timestamp() argument
509 tcp_stream_memory_free(const struct sock * sk,int wake) tcp_stream_memory_free() argument
518 tcp_stream_is_readable(struct sock * sk,int target) tcp_stream_is_readable() argument
535 struct sock *sk = sock->sk; tcp_poll() local
639 tcp_ioctl(struct sock * sk,int cmd,int * karg) tcp_ioctl() argument
696 tcp_skb_entail(struct sock * sk,struct sk_buff * skb) tcp_skb_entail() argument
730 tcp_should_autocork(struct sock * sk,struct sk_buff * skb,int size_goal) tcp_should_autocork() argument
740 tcp_push(struct sock * sk,int flags,int mss_now,int nonagle,int size_goal) tcp_push() argument
788 __tcp_splice_read(struct sock * sk,struct tcp_splice_state * tss) __tcp_splice_read() argument
815 struct sock *sk = sock->sk; tcp_splice_read() local
906 sk_forced_mem_schedule(struct sock * sk,int size) sk_forced_mem_schedule() argument
926 tcp_stream_alloc_skb(struct sock * sk,gfp_t gfp,bool force_schedule) tcp_stream_alloc_skb() argument
957 tcp_xmit_size_goal(struct sock * sk,u32 mss_now,int large_allowed) tcp_xmit_size_goal() argument
981 tcp_send_mss(struct sock * sk,int * size_goal,int flags) tcp_send_mss() argument
997 tcp_remove_empty_skb(struct sock * sk) tcp_remove_empty_skb() argument
1010 tcp_downgrade_zcopy_pure(struct sock * sk,struct sk_buff * skb) tcp_downgrade_zcopy_pure() argument
1026 tcp_wmem_schedule(struct sock * sk,int copy) tcp_wmem_schedule() argument
1051 tcp_sendmsg_fastopen(struct sock * sk,struct msghdr * msg,int * copied,size_t size,struct ubuf_info * uarg) tcp_sendmsg_fastopen() argument
1099 tcp_rate_check_app_limited(struct sock * sk) tcp_rate_check_app_limited() argument
1116 tcp_sendmsg_locked(struct sock * sk,struct msghdr * msg,size_t size) tcp_sendmsg_locked() argument
1436 READ_ONCE(sk->sk_write_space)(sk); tcp_sendmsg_locked() local
1446 tcp_sendmsg(struct sock * sk,struct msghdr * msg,size_t size) tcp_sendmsg() argument
1460 struct sock *sk = sock->sk; tcp_splice_eof() local
1478 tcp_recv_urg(struct sock * sk,struct msghdr * msg,int len,int flags) tcp_recv_urg() argument
1522 tcp_peek_sndq(struct sock * sk,struct msghdr * msg,int len) tcp_peek_sndq() argument
1551 __tcp_cleanup_rbuf(struct sock * sk,int copied) __tcp_cleanup_rbuf() argument
1603 tcp_cleanup_rbuf(struct sock * sk,int copied) tcp_cleanup_rbuf() argument
1614 tcp_eat_recv_skb(struct sock * sk,struct sk_buff * skb) tcp_eat_recv_skb() argument
1626 tcp_recv_skb(struct sock * sk,u32 seq,u32 * off) tcp_recv_skb() argument
1662 __tcp_read_sock(struct sock * sk,read_descriptor_t * desc,sk_read_actor_t recv_actor,bool noack,u32 * copied_seq) __tcp_read_sock() argument
1740 tcp_read_sock(struct sock * sk,read_descriptor_t * desc,sk_read_actor_t recv_actor) tcp_read_sock() argument
1748 tcp_read_sock_noack(struct sock * sk,read_descriptor_t * desc,sk_read_actor_t recv_actor,bool noack,u32 * copied_seq) tcp_read_sock_noack() argument
1755 tcp_read_skb(struct sock * sk,skb_read_actor_t recv_actor) tcp_read_skb() argument
1784 tcp_read_done(struct sock * sk,size_t len) tcp_read_done() argument
1829 tcp_set_rcvlowat(struct sock * sk,int val) tcp_set_rcvlowat() argument
1857 tcp_set_rcvbuf(struct sock * sk,int val) tcp_set_rcvbuf() argument
1935 tcp_zerocopy_set_hint_for_skb(struct sock * sk,struct tcp_zerocopy_receive * zc,struct sk_buff * skb,u32 offset) tcp_zerocopy_set_hint_for_skb() argument
1975 receive_fallback_to_copy(struct sock * sk,struct tcp_zerocopy_receive * zc,int inq,struct scm_timestamping_internal * tss) receive_fallback_to_copy() argument
2036 tcp_zc_handle_leftover(struct tcp_zerocopy_receive * zc,struct sock * sk,struct sk_buff * skb,u32 * seq,s32 copybuf_len,struct scm_timestamping_internal * tss) tcp_zc_handle_leftover() argument
2143 tcp_zc_finalize_rx_tstamp(struct sock * sk,struct tcp_zerocopy_receive * zc,struct scm_timestamping_internal * tss) tcp_zc_finalize_rx_tstamp() argument
2195 tcp_zerocopy_receive(struct sock * sk,struct tcp_zerocopy_receive * zc,struct scm_timestamping_internal * tss) tcp_zerocopy_receive() argument
2346 tcp_recv_timestamp(struct msghdr * msg,const struct sock * sk,struct scm_timestamping_internal * tss) tcp_recv_timestamp() argument
2413 tcp_inq_hint(struct sock * sk) tcp_inq_hint() argument
2442 tcp_xa_pool_commit_locked(struct sock * sk,struct tcp_xa_pool * p) tcp_xa_pool_commit_locked() argument
2458 tcp_xa_pool_commit(struct sock * sk,struct tcp_xa_pool * p) tcp_xa_pool_commit() argument
2470 tcp_xa_pool_refill(struct sock * sk,struct tcp_xa_pool * p,unsigned int max_frags) tcp_xa_pool_refill() argument
2499 tcp_recvmsg_dmabuf(struct sock * sk,const struct sk_buff * skb,unsigned int offset,struct msghdr * msg,int remaining_len) tcp_recvmsg_dmabuf() argument
2655 tcp_recvmsg_locked(struct sock * sk,struct msghdr * msg,size_t len,int flags,struct scm_timestamping_internal * tss,int * cmsg_flags) tcp_recvmsg_locked() argument
2930 tcp_recvmsg(struct sock * sk,struct msghdr * msg,size_t len,int flags) tcp_recvmsg() argument
2960 tcp_set_state(struct sock * sk,int state) tcp_set_state() argument
3054 tcp_close_state(struct sock * sk) tcp_close_state() argument
3069 tcp_shutdown(struct sock * sk,int how) tcp_shutdown() argument
3114 tcp_out_of_memory(const struct sock * sk) tcp_out_of_memory() argument
3122 tcp_check_oom(const struct sock * sk,int shift) tcp_check_oom() argument
3136 __tcp_close(struct sock * sk,long timeout) __tcp_close() argument
3307 tcp_close(struct sock * sk,long timeout) tcp_close() argument
3327 tcp_rtx_queue_purge(struct sock * sk) tcp_rtx_queue_purge() argument
3344 tcp_write_queue_purge(struct sock * sk) tcp_write_queue_purge() argument
3360 tcp_disconnect(struct sock * sk,int flags) tcp_disconnect() argument
3507 tcp_can_repair_sock(const struct sock * sk) tcp_can_repair_sock() argument
3546 tcp_repair_options_est(struct sock * sk,sockptr_t optbuf,unsigned int len) tcp_repair_options_est() argument
3598 tcp_enable_tx_delay(struct sock * sk,int val) tcp_enable_tx_delay() argument
3639 __tcp_sock_set_cork(struct sock * sk,bool on) __tcp_sock_set_cork() argument
3653 tcp_sock_set_cork(struct sock * sk,bool on) tcp_sock_set_cork() argument
3667 __tcp_sock_set_nodelay(struct sock * sk,bool on) __tcp_sock_set_nodelay() argument
3677 tcp_sock_set_nodelay(struct sock * sk) tcp_sock_set_nodelay() argument
3685 __tcp_sock_set_quickack(struct sock * sk,int val) __tcp_sock_set_quickack() argument
3702 tcp_sock_set_quickack(struct sock * sk,int val) tcp_sock_set_quickack() argument
3710 tcp_sock_set_syncnt(struct sock * sk,int val) tcp_sock_set_syncnt() argument
3720 tcp_sock_set_user_timeout(struct sock * sk,int val) tcp_sock_set_user_timeout() argument
3733 tcp_sock_set_keepidle_locked(struct sock * sk,int val) tcp_sock_set_keepidle_locked() argument
3756 tcp_sock_set_keepidle(struct sock * sk,int val) tcp_sock_set_keepidle() argument
3767 tcp_sock_set_keepintvl(struct sock * sk,int val) tcp_sock_set_keepintvl() argument
3777 tcp_sock_set_keepcnt(struct sock * sk,int val) tcp_sock_set_keepcnt() argument
3788 tcp_set_window_clamp(struct sock * sk,int val) tcp_set_window_clamp() argument
3820 tcp_sock_set_maxseg(struct sock * sk,int val) tcp_sock_set_maxseg() argument
3836 do_tcp_setsockopt(struct sock * sk,int level,int optname,sockptr_t optval,unsigned int optlen) do_tcp_setsockopt() argument
4145 READ_ONCE(sk->sk_write_space)(sk); do_tcp_setsockopt() local
4171 tcp_setsockopt(struct sock * sk,int level,int optname,sockptr_t optval,unsigned int optlen) tcp_setsockopt() argument
4209 tcp_get_info(struct sock * sk,struct tcp_info * info) tcp_get_info() argument
4408 tcp_get_timestamping_opt_stats(const struct sock * sk,const struct sk_buff * orig_skb,const struct sk_buff * ack_skb) tcp_get_timestamping_opt_stats() argument
4480 do_tcp_getsockopt(struct sock * sk,int level,int optname,sockptr_t optval,sockptr_t optlen) do_tcp_getsockopt() argument
4866 tcp_getsockopt(struct sock * sk,int level,int optname,char __user * optval,int __user * optlen) tcp_getsockopt() argument
4922 tcp_inbound_md5_hash(const struct sock * sk,const struct sk_buff * skb,const void * saddr,const void * daddr,int family,int l3index,const __u8 * hash_location) tcp_inbound_md5_hash() argument
4959 tcp_inbound_md5_hash(const struct sock * sk,const struct sk_buff * skb,const void * saddr,const void * daddr,int family,int l3index,const __u8 * hash_location) tcp_inbound_md5_hash() argument
5023 tcp_inbound_hash(struct sock * sk,const struct request_sock * req,const struct sk_buff * skb,const void * saddr,const void * daddr,int family,int dif,int sdif) tcp_inbound_hash() argument
5088 tcp_done(struct sock * sk) tcp_done() argument
5114 tcp_abort(struct sock * sk,int err) tcp_abort() argument
[all...]
/linux/net/sctp/
H A Dsocket.c101 static void sctp_enter_memory_pressure(struct sock *sk) in sctp_enter_memory_pressure() argument
110 struct sock *sk = asoc->base.sk; in sctp_wspace() local
128 struct sock *sk = asoc->base.sk; sctp_set_owner_w() local
193 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
210 sctp_verify_addr(struct sock * sk,union sctp_addr * addr,int len) sctp_verify_addr() argument
233 sctp_id2assoc(struct sock * sk,sctp_assoc_t id) sctp_id2assoc() argument
270 sctp_addr_id2transport(struct sock * sk,struct sockaddr_storage * addr,sctp_assoc_t id) sctp_addr_id2transport() argument
309 sctp_bind(struct sock * sk,struct sockaddr_unsized * 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_unsized * 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
1560 sctp_error(struct sock * sk,int flags,int err) sctp_error() argument
1595 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
1656 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
1755 struct sock *sk = asoc->base.sk; sctp_sendmsg_check_sflags() local
1794 struct sock *sk = asoc->base.sk; sctp_sendmsg_to_asoc() local
1893 sctp_sendmsg_get_daddr(struct sock * sk,const struct msghdr * msg,struct sctp_cmsgs * cmsgs) sctp_sendmsg_get_daddr() argument
1942 sctp_sendmsg(struct sock * sk,struct msghdr * msg,size_t msg_len) sctp_sendmsg() argument
2098 sctp_recvmsg(struct sock * sk,struct msghdr * msg,size_t len,int flags) sctp_recvmsg() argument
2219 sctp_setsockopt_disable_fragments(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_disable_fragments() argument
2228 sctp_setsockopt_events(struct sock * sk,__u8 * sn_type,unsigned int optlen) sctp_setsockopt_events() argument
2277 sctp_setsockopt_autoclose(struct sock * sk,u32 * optval,unsigned int optlen) sctp_setsockopt_autoclose() argument
2625 sctp_setsockopt_peer_addr_params(struct sock * sk,struct sctp_paddrparams * params,unsigned int optlen) sctp_setsockopt_peer_addr_params() argument
2786 __sctp_setsockopt_delayed_ack(struct sock * sk,struct sctp_sack_info * params) __sctp_setsockopt_delayed_ack() argument
2839 sctp_setsockopt_delayed_ack(struct sock * sk,struct sctp_sack_info * params,unsigned int optlen) sctp_setsockopt_delayed_ack() argument
2877 sctp_setsockopt_initmsg(struct sock * sk,struct sctp_initmsg * sinit,unsigned int optlen) sctp_setsockopt_initmsg() argument
2911 sctp_setsockopt_default_send_param(struct sock * sk,struct sctp_sndrcvinfo * info,unsigned int optlen) sctp_setsockopt_default_send_param() argument
2969 sctp_setsockopt_default_sndinfo(struct sock * sk,struct sctp_sndinfo * info,unsigned int optlen) sctp_setsockopt_default_sndinfo() argument
3027 sctp_setsockopt_primary_addr(struct sock * sk,struct sctp_prim * prim,unsigned int optlen) sctp_setsockopt_primary_addr() argument
3065 sctp_setsockopt_nodelay(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_nodelay() argument
3086 sctp_setsockopt_rtoinfo(struct sock * sk,struct sctp_rtoinfo * rtoinfo,unsigned int optlen) sctp_setsockopt_rtoinfo() argument
3150 sctp_setsockopt_associnfo(struct sock * sk,struct sctp_assocparams * assocparams,unsigned int optlen) sctp_setsockopt_associnfo() argument
3218 sctp_setsockopt_mappedv4(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_mappedv4() argument
3260 sctp_setsockopt_maxseg(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_maxseg() argument
3320 sctp_setsockopt_peer_primary_addr(struct sock * sk,struct sctp_setpeerprim * prim,unsigned int optlen) sctp_setsockopt_peer_primary_addr() argument
3381 sctp_setsockopt_adaptation_layer(struct sock * sk,struct sctp_setadaptation * adapt,unsigned int optlen) sctp_setsockopt_adaptation_layer() argument
3407 sctp_setsockopt_context(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_context() argument
3467 sctp_setsockopt_fragment_interleave(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_fragment_interleave() argument
3498 sctp_setsockopt_partial_delivery_point(struct sock * sk,u32 * val,unsigned int optlen) sctp_setsockopt_partial_delivery_point() argument
3526 sctp_setsockopt_maxburst(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_maxburst() argument
3579 sctp_setsockopt_auth_chunk(struct sock * sk,struct sctp_authchunk * val,unsigned int optlen) sctp_setsockopt_auth_chunk() argument
3609 sctp_setsockopt_hmac_ident(struct sock * sk,struct sctp_hmacalgo * hmacs,unsigned int optlen) sctp_setsockopt_hmac_ident() argument
3638 sctp_setsockopt_auth_key(struct sock * sk,struct sctp_authkey * authkey,unsigned int optlen) sctp_setsockopt_auth_key() argument
3699 sctp_setsockopt_active_key(struct sock * sk,struct sctp_authkeyid * val,unsigned int optlen) sctp_setsockopt_active_key() argument
3747 sctp_setsockopt_del_key(struct sock * sk,struct sctp_authkeyid * val,unsigned int optlen) sctp_setsockopt_del_key() argument
3795 sctp_setsockopt_deactivate_key(struct sock * sk,struct sctp_authkeyid * val,unsigned int optlen) sctp_setsockopt_deactivate_key() argument
3852 sctp_setsockopt_auto_asconf(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_auto_asconf() argument
3884 sctp_setsockopt_paddr_thresholds(struct sock * sk,struct sctp_paddrthlds_v2 * val,unsigned int optlen,bool v2) sctp_setsockopt_paddr_thresholds() argument
3947 sctp_setsockopt_recvrcvinfo(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_recvrcvinfo() argument
3958 sctp_setsockopt_recvnxtinfo(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_recvnxtinfo() argument
3969 sctp_setsockopt_pr_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_pr_supported() argument
3988 sctp_setsockopt_default_prinfo(struct sock * sk,struct sctp_default_prinfo * info,unsigned int optlen) sctp_setsockopt_default_prinfo() argument
4040 sctp_setsockopt_reconfig_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_reconfig_supported() argument
4063 sctp_setsockopt_enable_strreset(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_enable_strreset() argument
4105 sctp_setsockopt_reset_streams(struct sock * sk,struct sctp_reset_streams * params,unsigned int optlen) sctp_setsockopt_reset_streams() argument
4129 sctp_setsockopt_reset_assoc(struct sock * sk,sctp_assoc_t * associd,unsigned int optlen) sctp_setsockopt_reset_assoc() argument
4144 sctp_setsockopt_add_streams(struct sock * sk,struct sctp_add_streams * params,unsigned int optlen) sctp_setsockopt_add_streams() argument
4160 sctp_setsockopt_scheduler(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_scheduler() argument
4203 sctp_setsockopt_scheduler_value(struct sock * sk,struct sctp_stream_value * params,unsigned int optlen) sctp_setsockopt_scheduler_value() argument
4238 sctp_setsockopt_interleaving_supported(struct sock * sk,struct sctp_assoc_value * p,unsigned int optlen) sctp_setsockopt_interleaving_supported() argument
4260 sctp_setsockopt_reuse_port(struct sock * sk,int * val,unsigned int optlen) sctp_setsockopt_reuse_port() argument
4298 sctp_setsockopt_event(struct sock * sk,struct sctp_event * param,unsigned int optlen) sctp_setsockopt_event() argument
4341 sctp_setsockopt_asconf_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_asconf_supported() argument
4371 sctp_setsockopt_auth_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_auth_supported() argument
4405 sctp_setsockopt_ecn_supported(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_ecn_supported() argument
4427 sctp_setsockopt_pf_expose(struct sock * sk,struct sctp_assoc_value * params,unsigned int optlen) sctp_setsockopt_pf_expose() argument
4455 sctp_setsockopt_encap_port(struct sock * sk,struct sctp_udpencaps * encap,unsigned int optlen) sctp_setsockopt_encap_port() argument
4505 sctp_setsockopt_probe_interval(struct sock * sk,struct sctp_probeinterval * params,unsigned int optlen) sctp_setsockopt_probe_interval() argument
4579 sctp_setsockopt(struct sock * sk,int level,int optname,sockptr_t optval,unsigned int optlen) sctp_setsockopt() argument
4815 sctp_connect(struct sock * sk,struct sockaddr * addr,int addr_len,int flags) sctp_connect() argument
4847 sctp_disconnect(struct sock * sk,int flags) sctp_disconnect() argument
4856 sctp_clone_sock(struct sock * sk,struct sctp_association * asoc,enum sctp_socket_type type) sctp_clone_sock() argument
4934 sctp_accept(struct sock * sk,struct proto_accept_arg * arg) sctp_accept() argument
4979 sctp_ioctl(struct sock * sk,int cmd,int * karg) sctp_ioctl() argument
5021 sctp_init_sock(struct sock * sk) sctp_init_sock() argument
5161 sctp_destroy_sock(struct sock * sk) sctp_destroy_sock() argument
5187 sctp_destruct_sock(struct sock * sk) sctp_destruct_sock() argument
5208 sctp_shutdown(struct sock * sk,int how) sctp_shutdown() argument
5227 sctp_get_sctp_info(struct sock * sk,struct sctp_association * asoc,struct sctp_info * info) sctp_get_sctp_info() argument
5486 sctp_getsockopt_sctp_status(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_sctp_status() argument
5566 sctp_getsockopt_peer_addr_info(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_addr_info() argument
5629 sctp_getsockopt_disable_fragments(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_disable_fragments() argument
5651 sctp_getsockopt_events(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_events() argument
5686 sctp_getsockopt_autoclose(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_autoclose() argument
5702 sctp_do_peeloff(struct sock * sk,sctp_assoc_t id,struct socket ** sockp) sctp_do_peeloff() argument
5746 sctp_getsockopt_peeloff_common(struct sock * sk,sctp_peeloff_arg_t * peeloff,struct file ** newfile,unsigned flags) sctp_getsockopt_peeloff_common() argument
5782 sctp_getsockopt_peeloff(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peeloff() argument
5815 sctp_getsockopt_peeloff_flags(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peeloff_flags() argument
5982 sctp_getsockopt_peer_addr_params(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_addr_params() argument
6125 sctp_getsockopt_delayed_ack(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_delayed_ack() argument
6199 sctp_getsockopt_initmsg(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_initmsg() argument
6212 sctp_getsockopt_peer_addrs(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_addrs() argument
6263 sctp_copy_laddrs(struct sock * sk,__u16 port,void * to,size_t space_left,int * bytes_copied) sctp_copy_laddrs() argument
6308 sctp_getsockopt_local_addrs(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_local_addrs() argument
6416 sctp_getsockopt_primary_addr(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_primary_addr() argument
6458 sctp_getsockopt_adaptation_layer(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_adaptation_layer() argument
6497 sctp_getsockopt_default_send_param(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_default_send_param() argument
6543 sctp_getsockopt_default_sndinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_default_sndinfo() argument
6594 sctp_getsockopt_nodelay(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_nodelay() argument
6623 sctp_getsockopt_rtoinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_rtoinfo() argument
6677 sctp_getsockopt_associnfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_associnfo() argument
6746 sctp_getsockopt_mappedv4(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_mappedv4() argument
6769 sctp_getsockopt_context(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_context() argument
6826 sctp_getsockopt_maxseg(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_maxseg() argument
6873 sctp_getsockopt_fragment_interleave(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_fragment_interleave() argument
6896 sctp_getsockopt_partial_delivery_point(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_partial_delivery_point() argument
6920 sctp_getsockopt_maxburst(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_maxburst() argument
6960 sctp_getsockopt_hmac_ident(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_hmac_ident() argument
6996 sctp_getsockopt_active_key(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_active_key() argument
7032 sctp_getsockopt_peer_auth_chunks(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_peer_auth_chunks() argument
7076 sctp_getsockopt_local_auth_chunks(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_local_auth_chunks() argument
7132 sctp_getsockopt_assoc_number(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_assoc_number() argument
7163 sctp_getsockopt_auto_asconf(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_auto_asconf() argument
7188 sctp_getsockopt_assoc_ids(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_assoc_ids() argument
7238 sctp_getsockopt_paddr_thresholds(struct sock * sk,char __user * optval,int len,int __user * optlen,bool v2) sctp_getsockopt_paddr_thresholds() argument
7297 sctp_getsockopt_assoc_stats(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_assoc_stats() argument
7355 sctp_getsockopt_recvrcvinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_recvrcvinfo() argument
7375 sctp_getsockopt_recvnxtinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_recvnxtinfo() argument
7395 sctp_getsockopt_pr_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pr_supported() argument
7434 sctp_getsockopt_default_prinfo(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_default_prinfo() argument
7480 sctp_getsockopt_pr_assocstatus(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pr_assocstatus() argument
7539 sctp_getsockopt_pr_streamstatus(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pr_streamstatus() argument
7603 sctp_getsockopt_reconfig_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_reconfig_supported() argument
7642 sctp_getsockopt_enable_strreset(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_enable_strreset() argument
7681 sctp_getsockopt_scheduler(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_scheduler() argument
7720 sctp_getsockopt_scheduler_value(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_scheduler_value() argument
7762 sctp_getsockopt_interleaving_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_interleaving_supported() argument
7801 sctp_getsockopt_reuse_port(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_reuse_port() argument
7821 sctp_getsockopt_event(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_event() argument
7856 sctp_getsockopt_asconf_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_asconf_supported() argument
7895 sctp_getsockopt_auth_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_auth_supported() argument
7934 sctp_getsockopt_ecn_supported(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_ecn_supported() argument
7973 sctp_getsockopt_pf_expose(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_pf_expose() argument
8012 sctp_getsockopt_encap_port(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_encap_port() argument
8071 sctp_getsockopt_probe_interval(struct sock * sk,int len,char __user * optval,int __user * optlen) sctp_getsockopt_probe_interval() argument
8131 sctp_getsockopt(struct sock * sk,int level,int optname,char __user * optval,int __user * optlen) sctp_getsockopt() argument
8382 sctp_hash(struct sock * sk) sctp_hash() argument
8388 sctp_unhash(struct sock * sk) sctp_unhash() argument
8408 sctp_get_port_local(struct sock * sk,union sctp_addr * addr) sctp_get_port_local() argument
8579 sctp_get_port(struct sock * sk,unsigned short snum) sctp_get_port() argument
8595 sctp_listen_start(struct sock * sk,int backlog) sctp_listen_start() argument
8652 struct sock *sk = sock->sk; sctp_inet_listen() local
8714 struct sock *sk = sock->sk; sctp_poll() local
8799 __sctp_put_port(struct sock * sk) __sctp_put_port() argument
8815 sctp_put_port(struct sock * sk) sctp_put_port() argument
8828 sctp_autobind(struct sock * sk) sctp_autobind() argument
9027 sctp_wait_for_packet(struct sock * sk,int * err,long * timeo_p) sctp_wait_for_packet() argument
9085 sctp_skb_recv_datagram(struct sock * sk,int flags,int * err) sctp_skb_recv_datagram() argument
9140 struct sock *sk = asoc->base.sk; __sctp_write_space() local
9169 sctp_wake_up_waiters(struct sock * sk,struct sctp_association * asoc) sctp_wake_up_waiters() argument
9217 struct sock *sk = asoc->base.sk; sctp_wfree() local
9258 struct sock *sk = skb->sk; sctp_sock_rfree() local
9275 struct sock *sk = asoc->base.sk; sctp_wait_for_sndbuf() local
9343 sctp_data_ready(struct sock * sk) sctp_data_ready() argument
9359 sctp_write_space(struct sock * sk) sctp_write_space() argument
9380 sctp_writeable(const struct sock * sk) sctp_writeable() argument
9390 struct sock *sk = asoc->base.sk; sctp_wait_for_connect() local
9452 sctp_wait_for_accept(struct sock * sk,long timeo) sctp_wait_for_accept() argument
9494 sctp_wait_for_close(struct sock * sk,long timeout) sctp_wait_for_close() argument
9510 sctp_skb_set_owner_r_frag(struct sk_buff * skb,struct sock * sk) sctp_skb_set_owner_r_frag() argument
9694 sctp_v6_destruct_sock(struct sock * sk) sctp_v6_destruct_sock() argument
9699 sctp_v6_init_sock(struct sock * sk) sctp_v6_init_sock() argument
[all...]
/linux/net/mptcp/
H A Dprotocol.c64 static const struct proto_ops *mptcp_fallback_tcp_ops(const struct sock *sk) in mptcp_fallback_tcp_ops()
107 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
136 struct sock *sk = (struct sock *)msk; in __mptcp_nmpc_sk() local
151 static void mptcp_drop(struct sock *sk, struct sk_buff *skb) in mptcp_drop()
163 static bool __mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in __mptcp_try_coalesce()
182 static bool mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in mptcp_try_coalesce()
215 static bool mptcp_rcvbuf_grow(struct sock *sk, u32 newval) in mptcp_rcvbuf_grow()
249 static void mptcp_prune_ofo_queue(struct sock *sk, in mptcp_prune_ofo_queue()
290 static bool mptcp_can_ingest(const struct sock *sk) in mptcp_can_ingest()
296 static bool mptcp_try_rmem_schedule(struct sock *sk, const struct sk_buff *skb) in mptcp_try_rmem_schedule()
[all …]
/linux/net/ieee802154/
H A Dsocket.c82 struct sock *sk = sock->sk; in ieee802154_sock_release() local
94 struct sock *sk = sock->sk; in ieee802154_sock_sendmsg() local
102 struct sock *sk = sock->sk; in ieee802154_sock_bind() local
113 struct sock *sk = sock->sk; in ieee802154_sock_connect() local
124 static int ieee802154_dev_ioctl(struct sock *sk, struct ifreq __user *arg, in ieee802154_dev_ioctl()
155 struct sock *sk = sock->sk; in ieee802154_sock_ioctl() local
173 static int raw_hash(struct sock *sk) in raw_hash()
183 static void raw_unhash(struct sock *sk) in raw_unhash()
191 static void raw_close(struct sock *sk, long timeout) in raw_close()
196 static int raw_bind(struct sock *sk, struct sockaddr_unsized *_uaddr, int len) in raw_bind()
[all …]
/linux/net/dccp/
H A Dqpolicy.c
H A Doutput.c
H A Dproto.c
/linux/net/bluetooth/
H A Dl2cap_sock.c84 struct sock *sk = sock->sk; in l2cap_sock_bind() local
183 struct sock *sk = sock->sk; in l2cap_sock_connect() local
273 struct sock *sk = sock->sk; in l2cap_sock_listen() local
332 struct sock *sk = sock->sk, *nsk; in l2cap_sock_accept() local
393 struct sock *sk = sock->sk; in l2cap_sock_getname() local
456 struct sock *sk = sock->sk; in l2cap_sock_getsockopt_old() local
586 struct sock *sk = sock->sk; in l2cap_sock_getsockopt() local
775 struct sock *sk = sock->sk; in l2cap_sock_setsockopt_old() local
931 struct sock *sk = sock->sk; in l2cap_sock_setsockopt() local
1180 struct sock *sk = sock->sk; in l2cap_sock_sendmsg() local
[all …]
H A Dsco.c47 struct sock *sk; member
62 #define sco_pi(sk) ((struct sco_pinfo *) sk) argument
143 struct sock *sk; sco_sock_timeout() local
171 sco_sock_set_timer(struct sock * sk,long timeout) sco_sock_set_timer() argument
181 sco_sock_clear_timer(struct sock * sk) sco_sock_clear_timer() argument
235 sco_chan_del(struct sock * sk,int err) sco_chan_del() argument
261 struct sock *sk; sco_conn_del() local
285 __sco_chan_add(struct sco_conn * conn,struct sock * sk,struct sock * parent) __sco_chan_add() argument
297 sco_chan_add(struct sco_conn * conn,struct sock * sk,struct sock * parent) sco_chan_add() argument
312 sco_connect(struct sock * sk) sco_connect() argument
404 sco_send_frame(struct sock * sk,struct sk_buff * skb,const struct sockcm_cookie * sockc) sco_send_frame() argument
424 struct sock *sk; sco_recv_frame() local
452 struct sock *sk; __sco_get_sock_listen_by_addr() local
470 struct sock *sk = NULL, *sk1 = NULL; sco_get_sock_listen() local
496 sco_sock_destruct(struct sock * sk) sco_sock_destruct() argument
509 struct sock *sk; sco_sock_cleanup_listen() local
528 sco_sock_kill(struct sock * sk) sco_sock_kill() argument
550 __sco_sock_close(struct sock * sk) __sco_sock_close() argument
575 sco_sock_close(struct sock * sk) sco_sock_close() argument
596 sco_sock_init(struct sock * sk,struct sock * parent) sco_sock_init() argument
616 struct sock *sk; sco_sock_alloc() local
638 struct sock *sk; sco_sock_create() local
661 struct sock *sk = sock->sk; sco_sock_bind() local
694 struct sock *sk = sock->sk; sco_sock_connect() local
734 struct sock *sk = sock->sk; sco_sock_listen() local
776 struct sock *sk = sock->sk, *ch; sco_sock_accept() local
836 struct sock *sk = sock->sk; sco_sock_getname() local
853 struct sock *sk = sock->sk; sco_sock_sendmsg() local
945 struct sock *sk = sock->sk; sco_sock_recvmsg() local
971 struct sock *sk = sock->sk; sco_sock_setsockopt() local
1109 struct sock *sk = sock->sk; sco_sock_getsockopt_old() local
1170 struct sock *sk = sock->sk; sco_sock_getsockopt() local
1354 struct sock *sk = sock->sk; sco_sock_shutdown() local
1384 struct sock *sk = sock->sk; sco_sock_release() local
1408 struct sock *parent, *sk; sco_conn_ready() local
1479 struct sock *sk; sco_connect_ind() local
1578 struct sock *sk; sco_debugfs_show() local
[all...]
H A Diso.c38 struct sock *sk; member
53 #define iso_pi(sk) ((struct iso_pinfo *)sk) argument
188 struct sock *sk = &pi->bt.sk; iso_sock_timeout() local
200 iso_sock_set_timer(struct sock * sk,long timeout) iso_sock_set_timer() argument
213 iso_sock_clear_timer(struct sock * sk) iso_sock_clear_timer() argument
219 iso_sock_disable_timer(struct sock * sk) iso_sock_disable_timer() argument
267 iso_chan_del(struct sock * sk,int err) iso_chan_del() argument
302 struct sock *sk; iso_conn_del() local
340 __iso_chan_add(struct iso_conn * conn,struct sock * sk,struct sock * parent) __iso_chan_add() argument
368 iso_chan_add(struct iso_conn * conn,struct sock * sk,struct sock * parent) iso_chan_add() argument
388 iso_connect_bis(struct sock * sk) iso_connect_bis() argument
492 iso_connect_cis(struct sock * sk) iso_connect_cis() argument
604 iso_sock_get_qos(struct sock * sk) iso_sock_get_qos() argument
612 iso_send_frame(struct sock * sk,struct sk_buff * skb,const struct sockcm_cookie * sockc) iso_send_frame() argument
645 struct sock *sk; iso_recv_frame() local
673 struct sock *sk; __iso_get_sock_listen_by_addr() local
692 struct sock *sk; __iso_get_sock_listen_by_sid() local
722 struct sock *sk = NULL, *sk1 = NULL; iso_get_sock() local
782 struct sock *sk = NULL; iso_get_sock_big() local
818 iso_sock_destruct(struct sock * sk) iso_sock_destruct() argument
832 struct sock *sk; iso_sock_flush_accept_q() local
861 iso_sock_kill(struct sock * sk) iso_sock_kill() argument
891 iso_sock_disconn(struct sock * sk) iso_sock_disconn() argument
921 __iso_sock_close(struct sock * sk) __iso_sock_close() argument
958 iso_sock_close(struct sock * sk) iso_sock_close() argument
967 iso_sock_init(struct sock * sk,struct sock * parent) iso_sock_init() argument
1016 struct sock *sk; iso_sock_alloc() local
1040 struct sock *sk; iso_sock_create() local
1063 struct sock *sk = sock->sk; iso_sock_bind_bc() local
1102 iso_sock_rebind_bis(struct sock * sk,struct sockaddr_iso * sa,int addr_len) iso_sock_rebind_bis() argument
1144 iso_sock_rebind_bc(struct sock * sk,struct sockaddr_iso * sa,int addr_len) iso_sock_rebind_bc() argument
1206 struct sock *sk = sock->sk; iso_sock_bind() local
1263 struct sock *sk = sock->sk; iso_sock_connect() local
1308 iso_listen_bis(struct sock * sk) iso_listen_bis() argument
1379 iso_listen_cis(struct sock * sk) iso_listen_cis() argument
1397 struct sock *sk = sock->sk; iso_sock_listen() local
1444 struct sock *sk = sock->sk, *ch; iso_sock_accept() local
1544 struct sock *sk = sock->sk; iso_sock_getname() local
1582 struct sock *sk = sock->sk; iso_sock_sendmsg() local
1675 iso_conn_big_sync(struct sock * sk) iso_conn_big_sync() argument
1734 struct sock *sk = sock->sk; iso_sock_recvmsg() local
1925 struct sock *sk = sock->sk; iso_sock_setsockopt() local
2024 struct sock *sk = sock->sk; iso_sock_getsockopt() local
2094 struct sock *sk = sock->sk; iso_sock_shutdown() local
2139 struct sock *sk = sock->sk; iso_sock_release() local
2169 iso_sock_ready(struct sock * sk) iso_sock_ready() argument
2186 iso_match_big(struct sock * sk,void * data) iso_match_big() argument
2193 iso_match_big_hcon(struct sock * sk,void * data) iso_match_big_hcon() argument
2200 iso_match_pa_sync_flag(struct sock * sk,void * data) iso_match_pa_sync_flag() argument
2205 iso_match_dst(struct sock * sk,void * data) iso_match_dst() argument
2213 struct sock *sk; iso_conn_ready() local
2398 iso_match_sid(struct sock * sk,void * data) iso_match_sid() argument
2408 iso_match_sid_past(struct sock * sk,void * data) iso_match_sid_past() argument
2418 iso_match_sync_handle(struct sock * sk,void * data) iso_match_sync_handle() argument
2425 iso_match_sync_handle_pa_report(struct sock * sk,void * data) iso_match_sync_handle_pa_report() argument
2440 struct sock *sk; iso_connect_ind() local
2859 struct sock *sk; iso_debugfs_show() local
[all...]
/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.c50 struct sock *sk = d->owner; in rfcomm_sk_data_ready() local
65 struct sock *sk = d->owner, *parent; rfcomm_sk_state_change() local
107 struct sock *sk = NULL; __rfcomm_get_listen_sock_by_addr() local
128 struct sock *sk = NULL, *sk1 = NULL; rfcomm_get_sock_by_channel() local
162 rfcomm_sock_destruct(struct sock * sk) rfcomm_sock_destruct() argument
184 struct sock *sk; rfcomm_sock_cleanup_listen() local
203 rfcomm_sock_kill(struct sock * sk) rfcomm_sock_kill() argument
216 __rfcomm_sock_close(struct sock * sk) __rfcomm_sock_close() argument
243 rfcomm_sock_close(struct sock * sk) rfcomm_sock_close() argument
248 rfcomm_sock_init(struct sock * sk,struct sock * parent) rfcomm_sock_init() argument
284 struct sock *sk; rfcomm_sock_alloc() local
317 struct sock *sk; rfcomm_sock_create() local
339 struct sock *sk = sock->sk; rfcomm_sock_bind() local
387 struct sock *sk = sock->sk; rfcomm_sock_connect() local
434 struct sock *sk = sock->sk; rfcomm_sock_listen() local
485 struct sock *sk = sock->sk, *nsk; rfcomm_sock_accept() local
550 struct sock *sk = sock->sk; rfcomm_sock_getname() local
572 struct sock *sk = sock->sk; rfcomm_sock_sendmsg() local
612 struct sock *sk = sock->sk; rfcomm_sock_recvmsg() local
637 struct sock *sk = sock->sk; rfcomm_sock_setsockopt_old() local
678 struct sock *sk = sock->sk; rfcomm_sock_setsockopt() local
743 struct sock *sk = sock->sk; rfcomm_sock_getsockopt_old() local
822 struct sock *sk = sock->sk; rfcomm_sock_getsockopt() local
907 struct sock *sk = sock->sk; rfcomm_sock_shutdown() local
942 struct sock *sk = sock->sk; rfcomm_sock_release() local
963 struct sock *sk, *parent; rfcomm_connect_ind() local
1021 struct sock *sk; rfcomm_sock_debugfs_show() local
[all...]
/linux/net/tls/
H A Dtls_main.c129 void update_sk_prot(struct sock *sk, struct tls_context *ctx) in update_sk_prot()
139 int wait_on_pending_writer(struct sock *sk, long *timeo) in wait_on_pending_writer()
168 int tls_push_sg(struct sock *sk, in tls_push_sg()
226 static int tls_handle_open_record(struct sock *sk, int flags) in tls_handle_open_record()
236 int tls_process_cmsg(struct sock *sk, struct msghdr *msg, in tls_process_cmsg()
268 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx, in tls_push_partial_record()
281 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx) in tls_free_partial_record()
292 static void tls_write_space(struct sock *sk) in tls_write_space()
323 void tls_ctx_free(struct sock *sk, struct tls_context *ctx) in tls_ctx_free()
338 static void tls_sk_proto_cleanup(struct sock *sk, in tls_sk_proto_cleanup()
[all …]
/linux/net/phonet/
H A Dpep.c71 static struct sk_buff *pep_alloc_skb(struct sock *sk, const void *payload, in pep_alloc_skb()
87 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply()
109 static int pep_indicate(struct sock *sk, u8 id, u8 code, in pep_indicate()
130 static int pipe_handler_request(struct sock *sk, u8 id, u8 code, in pipe_handler_request()
149 static int pipe_handler_send_created_ind(struct sock *sk) in pipe_handler_send_created_ind()
161 static int pep_accept_conn(struct sock *sk, struct sk_buff *skb) in pep_accept_conn()
182 static int pep_reject_conn(struct sock *sk, struct sk_buff *skb, u8 code, in pep_reject_conn()
192 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error()
219 static int pipe_snd_status(struct sock *sk, u8 type, u8 status, gfp_t priority) in pipe_snd_status()
229 static void pipe_grant_credits(struct sock *sk, gfp_t priority) in pipe_grant_credits()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtcp_ca_kfunc.c31 BPF_PROG(init,struct sock * sk) BPF_PROG() argument
39 BPF_PROG(in_ack_event,struct sock * sk,u32 flags) BPF_PROG() argument
45 BPF_PROG(cong_control,struct sock * sk,u32 ack,int flag,const struct rate_sample * rs) BPF_PROG() argument
51 BPF_PROG(cong_avoid,struct sock * sk,u32 ack,u32 acked) BPF_PROG() argument
57 BPF_PROG(sndbuf_expand,struct sock * sk) BPF_PROG() argument
63 BPF_PROG(undo_cwnd,struct sock * sk) BPF_PROG() argument
70 BPF_PROG(cwnd_event,struct sock * sk,enum tcp_ca_event event) BPF_PROG() argument
78 BPF_PROG(ssthresh,struct sock * sk) BPF_PROG() argument
86 BPF_PROG(min_tso_segs,struct sock * sk) BPF_PROG() argument
92 BPF_PROG(set_state,struct sock * sk,u8 new_state) BPF_PROG() argument
100 BPF_PROG(pkts_acked,struct sock * sk,const struct ack_sample * sample) BPF_PROG() argument
[all...]

12345678910>>...23