Home
last modified time | relevance | path

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

12345678910>>...26

/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/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/include/net/
H A Dsock.h610 static inline bool sk_user_data_is_nocopy(const struct sock *sk) in sk_user_data_is_nocopy()
615 #define __sk_user_data(sk) ((*((void __rcu **)&(sk)->sk_user_data))) argument
628 __locked_read_sk_user_data_with_flags(const struct sock *sk, in __locked_read_sk_user_data_with_flags()
651 __rcu_dereference_sk_user_data_with_flags(const struct sock *sk, in __rcu_dereference_sk_user_data_with_flags()
663 #define rcu_dereference_sk_user_data(sk) \ argument
665 #define __rcu_assign_sk_user_data_with_flags(sk, ptr, flags) \ argument
674 #define rcu_assign_sk_user_data(sk, ptr) \ argument
678 struct net *sock_net(const struct sock *sk) in sock_net()
684 void sock_net_set(struct sock *sk, struct net *net) in sock_net_set()
702 static inline int sk_peek_offset(const struct sock *sk, int flags) in sk_peek_offset()
[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/sctp/
H A Dsocket.c102 static void sctp_enter_memory_pressure(struct sock *sk) in sctp_enter_memory_pressure()
111 struct sock *sk = asoc->base.sk; in sctp_wspace() local
129 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
194 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
211 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
234 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
271 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport()
310 static int sctp_bind(struct sock *sk, struct sockaddr *addr, int addr_len) in sctp_bind()
377 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
506 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add()
[all …]
/linux/net/ipv4/
H A Dtcp_input.c123 void (*cad)(struct sock *sk, u32 ack_seq)) in clean_acked_data_enable()
145 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
180 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
199 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
203 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
209 static __cold void tcp_gro_dev_warn(const struct sock *sk, const struct sk_buff *skb, in tcp_gro_dev_warn()
225 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) in tcp_measure_rcv_mss()
309 static void tcp_incr_quickack(struct sock *sk, unsigned int max_quickacks) in tcp_incr_quickack()
321 static void tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks) in tcp_enter_quickack_mode()
334 static bool tcp_in_quickack_mode(struct sock *sk) in tcp_in_quickack_mode()
[all …]
H A Dtcp_timer.c27 static u32 tcp_clamp_rto_to_user_timeout(const struct sock *sk) in tcp_clamp_rto_to_user_timeout()
49 u32 tcp_clamp_probe0_to_user_timeout(const struct sock *sk, u32 when) in tcp_clamp_probe0_to_user_timeout()
75 static void tcp_write_err(struct sock *sk) in tcp_write_err()
105 static int tcp_out_of_resources(struct sock *sk, bool do_reset) in tcp_out_of_resources()
148 static int tcp_orphan_retries(struct sock *sk, bool alive) in tcp_orphan_retries()
164 static void tcp_mtu_probing(struct inet_connection_sock *icsk, struct sock *sk) in tcp_mtu_probing()
186 static unsigned int tcp_model_timeout(struct sock *sk, in tcp_model_timeout()
213 static bool retransmits_timed_out(struct sock *sk, in retransmits_timed_out()
241 static int tcp_write_timeout(struct sock *sk) in tcp_write_timeout()
307 void tcp_delack_timer_handler(struct sock *sk) in tcp_delack_timer_handler()
[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_output.c67 static void tcp_event_new_data_sent(struct sock *sk, struct sk_buff *skb) in tcp_event_new_data_sent() argument
97 static inline __u32 tcp_acceptable_seq(const struct sock *sk) in tcp_acceptable_seq() argument
123 tcp_advertise_mss(struct sock * sk) tcp_advertise_mss() argument
144 tcp_cwnd_restart(struct sock * sk,s32 delta) tcp_cwnd_restart() argument
164 tcp_event_data_sent(struct tcp_sock * tp,struct sock * sk) tcp_event_data_sent() argument
182 tcp_event_ack_sent(struct sock * sk,u32 rcv_nxt) tcp_event_ack_sent() argument
207 tcp_select_initial_window(const struct sock * sk,int __space,__u32 mss,__u32 * rcv_wnd,__u32 * __window_clamp,int wscale_ok,__u8 * rcv_wscale,__u32 init_rcv_wnd) tcp_select_initial_window() argument
260 tcp_select_window(struct sock * sk) tcp_select_window() argument
323 tcp_ecn_send_synack(struct sock * sk,struct sk_buff * skb) tcp_ecn_send_synack() argument
336 tcp_ecn_send_syn(struct sock * sk,struct sk_buff * skb) tcp_ecn_send_syn() argument
360 tcp_ecn_clear_syn(struct sock * sk,struct sk_buff * skb) tcp_ecn_clear_syn() argument
379 tcp_ecn_send(struct sock * sk,struct sk_buff * skb,struct tcphdr * th,int tcp_header_len) tcp_ecn_send() argument
486 bpf_skops_hdr_opt_len(struct sock * sk,struct sk_buff * skb,struct request_sock * req,struct sk_buff * syn_skb,enum tcp_synack_type synack_type,struct tcp_out_options * opts,unsigned int * remaining) bpf_skops_hdr_opt_len() argument
550 bpf_skops_write_hdr_opt(struct sock * sk,struct sk_buff * skb,struct request_sock * req,struct sk_buff * syn_skb,enum tcp_synack_type synack_type,struct tcp_out_options * opts) bpf_skops_write_hdr_opt() argument
595 bpf_skops_hdr_opt_len(struct sock * sk,struct sk_buff * skb,struct request_sock * req,struct sk_buff * syn_skb,enum tcp_synack_type synack_type,struct tcp_out_options * opts,unsigned int * remaining) bpf_skops_hdr_opt_len() argument
604 bpf_skops_write_hdr_opt(struct sock * sk,struct sk_buff * skb,struct request_sock * req,struct sk_buff * syn_skb,enum tcp_synack_type synack_type,struct tcp_out_options * opts) bpf_skops_write_hdr_opt() argument
819 tcp_syn_options(struct sock * sk,struct sk_buff * skb,struct tcp_out_options * opts,struct tcp_key * key) tcp_syn_options() argument
904 tcp_synack_options(const struct sock * sk,struct request_sock * req,unsigned int mss,struct sk_buff * skb,struct tcp_out_options * opts,const struct tcp_key * key,struct tcp_fastopen_cookie * foc,enum tcp_synack_type synack_type,struct sk_buff * syn_skb) tcp_synack_options() argument
986 tcp_established_options(struct sock * sk,struct sk_buff * skb,struct tcp_out_options * opts,struct tcp_key * key) tcp_established_options() argument
1079 tcp_tsq_write(struct sock * sk) tcp_tsq_write() argument
1097 tcp_tsq_handler(struct sock * sk) tcp_tsq_handler() argument
1119 struct sock *sk; tcp_tasklet_func() local
1150 tcp_release_cb(struct sock * sk) tcp_release_cb() argument
1203 struct sock *sk = skb->sk; tcp_wfree() local
1251 struct sock *sk = (struct sock *)tp; tcp_pace_kick() local
1259 tcp_update_skb_after_send(struct sock * sk,struct sk_buff * skb,u64 prior_wstamp) tcp_update_skb_after_send() argument
1298 __tcp_transmit_skb(struct sock * sk,struct sk_buff * skb,int clone_it,gfp_t gfp_mask,u32 rcv_nxt) __tcp_transmit_skb() argument
1494 tcp_transmit_skb(struct sock * sk,struct sk_buff * skb,int clone_it,gfp_t gfp_mask) tcp_transmit_skb() argument
1506 tcp_queue_skb(struct sock * sk,struct sk_buff * skb) tcp_queue_skb() argument
1540 tcp_adjust_pcount(struct sock * sk,const struct sk_buff * skb,int decr) tcp_adjust_pcount() argument
1597 tcp_insert_write_queue_after(struct sk_buff * skb,struct sk_buff * buff,struct sock * sk,enum tcp_queue tcp_queue) tcp_insert_write_queue_after() argument
1611 tcp_fragment(struct sock * sk,enum tcp_queue tcp_queue,struct sk_buff * skb,u32 len,unsigned int mss_now,gfp_t gfp) tcp_fragment() argument
1739 tcp_trim_head(struct sock * sk,struct sk_buff * skb,u32 len) tcp_trim_head() argument
1763 __tcp_mtu_to_mss(struct sock * sk,int pmtu) __tcp_mtu_to_mss() argument
1788 tcp_mtu_to_mss(struct sock * sk,int pmtu) tcp_mtu_to_mss() argument
1797 tcp_mss_to_mtu(struct sock * sk,int mss) tcp_mss_to_mtu() argument
1810 tcp_mtup_init(struct sock * sk) tcp_mtup_init() argument
1847 tcp_sync_mss(struct sock * sk,u32 pmtu) tcp_sync_mss() argument
1872 tcp_current_mss(struct sock * sk) tcp_current_mss() argument
1907 tcp_cwnd_application_limited(struct sock * sk) tcp_cwnd_application_limited() argument
1925 tcp_cwnd_validate(struct sock * sk,bool is_cwnd_limited) tcp_cwnd_validate() argument
2025 tcp_tso_autosize(const struct sock * sk,unsigned int mss_now,int min_tso_segs) tcp_tso_autosize() argument
2045 tcp_tso_segs(struct sock * sk,unsigned int mss_now) tcp_tso_segs() argument
2059 tcp_mss_split_point(const struct sock * sk,const struct sk_buff * skb,unsigned int mss_now,unsigned int max_segs,int nonagle) tcp_mss_split_point() argument
2169 tso_fragment(struct sock * sk,struct sk_buff * skb,unsigned int len,unsigned int mss_now,gfp_t gfp) tso_fragment() argument
2221 tcp_tso_should_defer(struct sock * sk,struct sk_buff * skb,bool * is_cwnd_limited,bool * is_rwnd_limited,u32 max_segs) tcp_tso_should_defer() argument
2323 tcp_mtu_check_reprobe(struct sock * sk) tcp_mtu_check_reprobe() argument
2348 tcp_can_coalesce_send_queue_head(struct sock * sk,int len) tcp_can_coalesce_send_queue_head() argument
2366 tcp_clone_payload(struct sock * sk,struct sk_buff * to,int probe_size) tcp_clone_payload() argument
2421 tcp_eat_one_skb(struct sock * sk,struct sk_buff * dst,struct sk_buff * src) tcp_eat_one_skb() argument
2441 tcp_mtu_probe(struct sock * sk) tcp_mtu_probe() argument
2572 tcp_pacing_check(struct sock * sk) tcp_pacing_check() argument
2591 tcp_rtx_queue_empty_or_single_skb(const struct sock * sk) tcp_rtx_queue_empty_or_single_skb() argument
2614 tcp_small_queue_check(struct sock * sk,const struct sk_buff * skb,unsigned int factor) tcp_small_queue_check() argument
2672 tcp_chrono_start(struct sock * sk,const enum tcp_chrono type) tcp_chrono_start() argument
2685 tcp_chrono_stop(struct sock * sk,const enum tcp_chrono type) tcp_chrono_stop() argument
2706 tcp_grow_skb(struct sock * sk,struct sk_buff * skb,int amount) tcp_grow_skb() argument
2746 tcp_write_xmit(struct sock * sk,unsigned int mss_now,int nonagle,int push_one,gfp_t gfp) tcp_write_xmit() argument
2876 tcp_schedule_loss_probe(struct sock * sk,bool advancing_rto) tcp_schedule_loss_probe() argument
2929 skb_still_in_host_queue(struct sock * sk,const struct sk_buff * skb) skb_still_in_host_queue() argument
2947 tcp_send_loss_probe(struct sock * sk) tcp_send_loss_probe() argument
3012 __tcp_push_pending_frames(struct sock * sk,unsigned int cur_mss,int nonagle) __tcp_push_pending_frames() argument
3030 tcp_push_one(struct sock * sk,unsigned int mss_now) tcp_push_one() argument
3091 __tcp_select_window(struct sock * sk) __tcp_select_window() argument
3228 tcp_collapse_retrans(struct sock * sk,struct sk_buff * skb) tcp_collapse_retrans() argument
3269 tcp_can_collapse(const struct sock * sk,const struct sk_buff * skb) tcp_can_collapse() argument
3287 tcp_retrans_try_collapse(struct sock * sk,struct sk_buff * to,int space) tcp_retrans_try_collapse() argument
3328 __tcp_retransmit_skb(struct sock * sk,struct sk_buff * skb,int segs) __tcp_retransmit_skb() argument
3455 tcp_retransmit_skb(struct sock * sk,struct sk_buff * skb,int segs) tcp_retransmit_skb() argument
3485 tcp_xmit_retransmit_queue(struct sock * sk) tcp_xmit_retransmit_queue() argument
3565 sk_forced_mem_schedule(struct sock * sk,int size) sk_forced_mem_schedule() argument
3584 tcp_send_fin(struct sock * sk) tcp_send_fin() argument
3635 tcp_send_active_reset(struct sock * sk,gfp_t priority,enum sk_rst_reason reason) tcp_send_active_reset() argument
3670 tcp_send_synack(struct sock * sk) tcp_send_synack() argument
3714 tcp_make_synack(const struct sock * sk,struct dst_entry * dst,struct request_sock * req,struct tcp_fastopen_cookie * foc,enum tcp_synack_type synack_type,struct sk_buff * syn_skb) tcp_make_synack() argument
3864 tcp_ca_dst_init(struct sock * sk,const struct dst_entry * dst) tcp_ca_dst_init() argument
3884 tcp_connect_init(struct sock * sk) tcp_connect_init() argument
3957 tcp_connect_queue_skb(struct sock * sk,struct sk_buff * skb) tcp_connect_queue_skb() argument
3977 tcp_send_syn_data(struct sock * sk,struct sk_buff * syn) tcp_send_syn_data() argument
4074 tcp_connect(struct sock * sk) tcp_connect() argument
4178 tcp_delack_max(const struct sock * sk) tcp_delack_max() argument
4189 tcp_send_delayed_ack(struct sock * sk) tcp_send_delayed_ack() argument
4242 __tcp_send_ack(struct sock * sk,u32 rcv_nxt,u16 flags) __tcp_send_ack() argument
4284 tcp_send_ack(struct sock * sk) tcp_send_ack() argument
4300 tcp_xmit_probe_skb(struct sock * sk,int urgent,int mib) tcp_xmit_probe_skb() argument
4323 tcp_send_window_probe(struct sock * sk) tcp_send_window_probe() argument
4333 tcp_write_wakeup(struct sock * sk,int mib) tcp_write_wakeup() argument
4379 tcp_send_probe0(struct sock * sk) tcp_send_probe0() argument
4413 tcp_rtx_synack(const struct sock * sk,struct request_sock * req) tcp_rtx_synack() argument
[all...]
/linux/net/mptcp/
H A Dprotocol.c60 static const struct proto_ops *mptcp_fallback_tcp_ops(const struct sock *sk) in mptcp_fallback_tcp_ops()
73 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
102 struct sock *sk = (struct sock *)msk; in __mptcp_nmpc_sk() local
117 static void mptcp_drop(struct sock *sk, struct sk_buff *skb) in mptcp_drop()
123 static bool mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in mptcp_try_coalesce()
166 struct sock *sk = (struct sock *)msk; in mptcp_data_queue_ofo() local
280 struct sock *sk = (struct sock *)msk; in __mptcp_move_skb() local
332 static void mptcp_stop_rtx_timer(struct sock *sk) in mptcp_stop_rtx_timer()
340 static void mptcp_close_wake_up(struct sock *sk) in mptcp_close_wake_up()
354 static bool mptcp_pending_data_fin_ack(struct sock *sk) in mptcp_pending_data_fin_ack()
[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
154 struct sock *sk; in iso_sock_timeout() local
177 static void iso_sock_set_timer(struct sock *sk, long timeout) in iso_sock_set_timer()
187 static void iso_sock_clear_timer(struct sock *sk) in iso_sock_clear_timer()
230 static void iso_chan_del(struct sock *sk, int err) in iso_chan_del()
264 struct sock *sk; in iso_conn_del() local
290 static int __iso_chan_add(struct iso_conn *conn, struct sock *sk, in __iso_chan_add()
312 static int iso_chan_add(struct iso_conn *conn, struct sock *sk, in iso_chan_add()
332 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; in sco_sock_timeout() local
173 static void sco_sock_set_timer(struct sock *sk, long timeout) in sco_sock_set_timer()
183 static void sco_sock_clear_timer(struct sock *sk) in sco_sock_clear_timer()
231 static void sco_chan_del(struct sock *sk, int err) in sco_chan_del()
257 struct sock *sk; in sco_conn_del() local
283 static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, in __sco_chan_add()
295 static int sco_chan_add(struct sco_conn *conn, struct sock *sk, in sco_chan_add()
310 static int sco_connect(struct sock *sk) in sco_connect()
[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/net/dccp/
H A Dqpolicy.c
H A Doutput.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()
273 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx, in tls_push_partial_record()
286 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx) in tls_free_partial_record()
297 static void tls_write_space(struct sock *sk) in tls_write_space()
328 void tls_ctx_free(struct sock *sk, struct tls_context *ctx) in tls_ctx_free()
343 static void tls_sk_proto_cleanup(struct sock *sk, in tls_sk_proto_cleanup()
[all …]
/linux/net/phonet/
H A Dpep.c69 static struct sk_buff *pep_alloc_skb(struct sock *sk, const void *payload, in pep_alloc_skb()
85 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply()
107 static int pep_indicate(struct sock *sk, u8 id, u8 code, in pep_indicate()
128 static int pipe_handler_request(struct sock *sk, u8 id, u8 code, in pipe_handler_request()
147 static int pipe_handler_send_created_ind(struct sock *sk) in pipe_handler_send_created_ind()
159 static int pep_accept_conn(struct sock *sk, struct sk_buff *skb) in pep_accept_conn()
180 static int pep_reject_conn(struct sock *sk, struct sk_buff *skb, u8 code, in pep_reject_conn()
190 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error()
217 static int pipe_snd_status(struct sock *sk, u8 type, u8 status, gfp_t priority) in pipe_snd_status()
227 static void pipe_grant_credits(struct sock *sk, gfp_t priority) in pipe_grant_credits()
[all …]

12345678910>>...26