Home
last modified time | relevance | path

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

12345678910>>...21

/linux/net/core/
H A Dsock.c171 bool sk_ns_capable(const struct sock *sk, in sk_ns_capable()
188 bool sk_capable(const struct sock *sk, int cap) in sk_capable()
203 bool sk_net_capable(const struct sock *sk, int cap) in sk_net_capable()
302 void sk_set_memalloc(struct sock *sk) in sk_set_memalloc()
310 void sk_clear_memalloc(struct sock *sk) in sk_clear_memalloc()
327 int __sk_backlog_rcv(struct sock *sk, struct sk_buff *skb) in __sk_backlog_rcv()
346 void sk_error_report(struct sock *sk) in sk_error_report()
459 static bool sk_set_prio_allowed(const struct sock *sk, int val) in sk_set_prio_allowed()
466 static bool sock_needs_netstamp(const struct sock *sk) in sock_needs_netstamp()
477 static void sock_disable_timestamp(struct sock *sk, unsigned long flags) in sock_disable_timestamp()
[all …]
H A Dsock_reuseport.c24 void reuseport_has_conns_set(struct sock *sk) in reuseport_has_conns_set()
52 static void reuseport_get_incoming_cpu(struct sock *sk, struct sock_reuseport *reuse) in reuseport_get_incoming_cpu()
58 static void reuseport_put_incoming_cpu(struct sock *sk, struct sock_reuseport *reuse) in reuseport_put_incoming_cpu()
64 void reuseport_update_incoming_cpu(struct sock *sk, int val) in reuseport_update_incoming_cpu()
104 static int reuseport_sock_index(struct sock *sk, in reuseport_sock_index()
124 static void __reuseport_add_sock(struct sock *sk, in __reuseport_add_sock()
134 static bool __reuseport_detach_sock(struct sock *sk, in __reuseport_detach_sock()
149 static void __reuseport_add_closed_sock(struct sock *sk, in __reuseport_add_closed_sock()
158 static bool __reuseport_detach_closed_sock(struct sock *sk, in __reuseport_detach_closed_sock()
188 int reuseport_alloc(struct sock *sk, bool bind_inany) in reuseport_alloc()
[all …]
/linux/net/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()
147 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
182 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
201 static void bpf_skops_parse_hdr(struct sock *sk, struct sk_buff *skb) in bpf_skops_parse_hdr()
205 static void bpf_skops_established(struct sock *sk, int bpf_op, in bpf_skops_established()
211 static __cold void tcp_gro_dev_warn(const struct sock *sk, const struct sk_buff *skb, in tcp_gro_dev_warn()
227 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) in tcp_measure_rcv_mss()
311 static void tcp_incr_quickack(struct sock *sk, unsigned int max_quickacks) in tcp_incr_quickack()
323 static void tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks) in tcp_enter_quickack_mode()
336 static bool tcp_in_quickack_mode(struct sock *sk) in tcp_in_quickack_mode()
[all …]
H A Dinet_connection_sock.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_output.c83 static void tcp_event_new_data_sent(struct sock *sk, struct sk_buff *skb) in tcp_event_new_data_sent() argument
113 static inline __u32 tcp_acceptable_seq(const struct sock *sk) in tcp_acceptable_seq() argument
139 tcp_advertise_mss(struct sock * sk) tcp_advertise_mss() argument
160 tcp_cwnd_restart(struct sock * sk,s32 delta) tcp_cwnd_restart() argument
180 tcp_event_data_sent(struct tcp_sock * tp,struct sock * sk) tcp_event_data_sent() argument
198 tcp_event_ack_sent(struct sock * sk,u32 rcv_nxt) tcp_event_ack_sent() argument
223 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
275 tcp_select_window(struct sock * sk) tcp_select_window() argument
342 tcp_ecn_send(struct sock * sk,struct sk_buff * skb,struct tcphdr * th,int tcp_header_len) tcp_ecn_send() argument
380 tcp_init_nondata_skb(struct sk_buff * skb,struct sock * sk,u32 seq,u16 flags) tcp_init_nondata_skb() argument
469 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,u32 remaining) bpf_skops_hdr_opt_len() argument
533 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
578 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,u32 remaining) bpf_skops_hdr_opt_len() argument
588 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
959 tcp_syn_options(struct sock * sk,struct sk_buff * skb,struct tcp_out_options * opts,struct tcp_key * key) tcp_syn_options() argument
1061 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
1151 tcp_established_options(struct sock * sk,struct sk_buff * skb,struct tcp_out_options * opts,struct tcp_key * key) tcp_established_options() argument
1271 tcp_tsq_write(struct sock * sk) tcp_tsq_write() argument
1289 tcp_tsq_handler(struct sock * sk) tcp_tsq_handler() argument
1311 struct sock *sk; tcp_tsq_workfn() local
1337 tcp_release_cb(struct sock * sk) tcp_release_cb() argument
1389 struct sock *sk = skb->sk; tcp_wfree() local
1438 struct sock *sk = (struct sock *)tp; tcp_pace_kick() local
1446 tcp_update_skb_after_send(struct sock * sk,struct sk_buff * skb,u64 prior_wstamp) tcp_update_skb_after_send() argument
1473 tcp_rate_skb_sent(struct sock * sk,struct sk_buff * skb) tcp_rate_skb_sent() argument
1509 tcp_v4_send_check(struct sock * sk,struct sk_buff * skb) tcp_v4_send_check() argument
1519 tcp_v6_send_check(struct sock * sk,struct sk_buff * skb) tcp_v6_send_check() argument
1536 __tcp_transmit_skb(struct sock * sk,struct sk_buff * skb,int clone_it,gfp_t gfp_mask,u32 rcv_nxt) __tcp_transmit_skb() argument
1731 tcp_transmit_skb(struct sock * sk,struct sk_buff * skb,int clone_it,gfp_t gfp_mask) tcp_transmit_skb() argument
1743 tcp_queue_skb(struct sock * sk,struct sk_buff * skb) tcp_queue_skb() argument
1778 tcp_adjust_pcount(struct sock * sk,const struct sk_buff * skb,int decr) tcp_adjust_pcount() argument
1830 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
1844 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
1972 tcp_trim_head(struct sock * sk,struct sk_buff * skb,u32 len) tcp_trim_head() argument
1996 __tcp_mtu_to_mss(struct sock * sk,int pmtu) __tcp_mtu_to_mss() argument
2021 tcp_mtu_to_mss(struct sock * sk,int pmtu) tcp_mtu_to_mss() argument
2029 tcp_mss_to_mtu(struct sock * sk,int mss) tcp_mss_to_mtu() argument
2042 tcp_mtup_init(struct sock * sk) tcp_mtup_init() argument
2079 tcp_sync_mss(struct sock * sk,u32 pmtu) tcp_sync_mss() argument
2103 tcp_current_mss(struct sock * sk) tcp_current_mss() argument
2138 tcp_cwnd_application_limited(struct sock * sk) tcp_cwnd_application_limited() argument
2156 tcp_cwnd_validate(struct sock * sk,bool is_cwnd_limited) tcp_cwnd_validate() argument
2256 tcp_tso_autosize(const struct sock * sk,unsigned int mss_now,int min_tso_segs) tcp_tso_autosize() argument
2276 tcp_tso_segs(struct sock * sk,unsigned int mss_now) tcp_tso_segs() argument
2290 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
2400 tso_fragment(struct sock * sk,struct sk_buff * skb,unsigned int len,unsigned int mss_now,gfp_t gfp) tso_fragment() argument
2452 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
2565 tcp_mtu_check_reprobe(struct sock * sk) tcp_mtu_check_reprobe() argument
2590 tcp_can_coalesce_send_queue_head(struct sock * sk,int len) tcp_can_coalesce_send_queue_head() argument
2608 tcp_clone_payload(struct sock * sk,struct sk_buff * to,int probe_size) tcp_clone_payload() argument
2664 tcp_eat_one_skb(struct sock * sk,struct sk_buff * dst,struct sk_buff * src) tcp_eat_one_skb() argument
2684 tcp_mtu_probe(struct sock * sk) tcp_mtu_probe() argument
2815 tcp_pacing_check(struct sock * sk) tcp_pacing_check() argument
2834 tcp_rtx_queue_empty_or_single_skb(const struct sock * sk) tcp_rtx_queue_empty_or_single_skb() argument
2857 tcp_small_queue_check(struct sock * sk,const struct sk_buff * skb,unsigned int factor) tcp_small_queue_check() argument
2903 tcp_chrono_stop(struct sock * sk,const enum tcp_chrono type) tcp_chrono_stop() argument
2924 tcp_grow_skb(struct sock * sk,struct sk_buff * skb,int amount) tcp_grow_skb() argument
2964 tcp_write_xmit(struct sock * sk,unsigned int mss_now,int nonagle,int push_one,gfp_t gfp) tcp_write_xmit() argument
3099 tcp_schedule_loss_probe(struct sock * sk,bool advancing_rto) tcp_schedule_loss_probe() argument
3152 skb_still_in_host_queue(struct sock * sk,const struct sk_buff * skb) skb_still_in_host_queue() argument
3170 tcp_send_loss_probe(struct sock * sk) tcp_send_loss_probe() argument
3235 __tcp_push_pending_frames(struct sock * sk,unsigned int cur_mss,int nonagle) __tcp_push_pending_frames() argument
3253 tcp_push_one(struct sock * sk,unsigned int mss_now) tcp_push_one() argument
3314 __tcp_select_window(struct sock * sk) __tcp_select_window() argument
3451 tcp_collapse_retrans(struct sock * sk,struct sk_buff * skb) tcp_collapse_retrans() argument
3491 tcp_can_collapse(const struct sock * sk,const struct sk_buff * skb) tcp_can_collapse() argument
3509 tcp_retrans_try_collapse(struct sock * sk,struct sk_buff * to,int space) tcp_retrans_try_collapse() argument
3550 __tcp_retransmit_skb(struct sock * sk,struct sk_buff * skb,int segs) __tcp_retransmit_skb() argument
3695 tcp_retransmit_skb(struct sock * sk,struct sk_buff * skb,int segs) tcp_retransmit_skb() argument
3725 tcp_xmit_retransmit_queue(struct sock * sk) tcp_xmit_retransmit_queue() argument
3801 tcp_send_fin(struct sock * sk) tcp_send_fin() argument
3852 tcp_send_active_reset(struct sock * sk,gfp_t priority,enum sk_rst_reason reason) tcp_send_active_reset() argument
3887 tcp_send_synack(struct sock * sk) tcp_send_synack() argument
3931 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
4081 tcp_ca_dst_init(struct sock * sk,const struct dst_entry * dst) tcp_ca_dst_init() argument
4101 tcp_connect_init(struct sock * sk) tcp_connect_init() argument
4181 tcp_connect_queue_skb(struct sock * sk,struct sk_buff * skb) tcp_connect_queue_skb() argument
4201 tcp_send_syn_data(struct sock * sk,struct sk_buff * syn) tcp_send_syn_data() argument
4298 tcp_connect(struct sock * sk) tcp_connect() argument
4406 tcp_delack_max(const struct sock * sk) tcp_delack_max() argument
4417 tcp_send_delayed_ack(struct sock * sk) tcp_send_delayed_ack() argument
4470 __tcp_send_ack(struct sock * sk,u32 rcv_nxt,u16 flags) __tcp_send_ack() argument
4513 tcp_send_ack(struct sock * sk) tcp_send_ack() argument
4529 tcp_xmit_probe_skb(struct sock * sk,int urgent,int mib) tcp_xmit_probe_skb() argument
4552 tcp_send_window_probe(struct sock * sk) tcp_send_window_probe() argument
4562 tcp_write_wakeup(struct sock * sk,int mib) tcp_write_wakeup() argument
4608 tcp_send_probe0(struct sock * sk) tcp_send_probe0() argument
4642 tcp_rtx_synack(const struct sock * sk,struct request_sock * req) tcp_rtx_synack() argument
[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 iucv_sock_in_state(struct sock * sk,int state,int state2) iucv_sock_in_state() argument
166 iucv_below_msglim(struct sock * sk) iucv_below_msglim() argument
182 iucv_sock_wake_msglim(struct sock * sk) iucv_sock_wake_msglim() argument
270 struct sock *sk; __iucv_get_sock_by_name() local
279 iucv_sock_destruct(struct sock * sk) iucv_sock_destruct() argument
298 struct sock *sk; iucv_sock_cleanup_listen() local
309 iucv_sock_link(struct iucv_sock_list * l,struct sock * sk) iucv_sock_link() argument
316 iucv_sock_unlink(struct iucv_sock_list * l,struct sock * sk) iucv_sock_unlink() argument
324 iucv_sock_kill(struct sock * sk) iucv_sock_kill() argument
335 iucv_sever_path(struct sock * sk,int with_user_data) iucv_sever_path() argument
369 iucv_send_ctrl(struct sock * sk,u8 flags) iucv_send_ctrl() argument
395 iucv_sock_close(struct sock * sk) iucv_sock_close() argument
458 iucv_sock_init(struct sock * sk,struct sock * parent) iucv_sock_init() argument
468 struct sock *sk; iucv_sock_alloc() local
510 iucv_accept_enqueue(struct sock * parent,struct sock * sk) iucv_accept_enqueue() argument
523 iucv_accept_unlink(struct sock * sk) iucv_accept_unlink() argument
540 struct sock *sk; iucv_accept_dequeue() local
587 struct sock *sk = sock->sk; iucv_sock_bind() local
665 iucv_sock_autobind(struct sock * sk) iucv_sock_autobind() argument
690 struct sock *sk = sock->sk; afiucv_path_connect() local
737 struct sock *sk = sock->sk; iucv_sock_connect() local
792 struct sock *sk = sock->sk; iucv_sock_listen() local
819 struct sock *sk = sock->sk, *nsk; iucv_sock_accept() local
873 struct sock *sk = sock->sk; iucv_sock_getname() local
919 struct sock *sk = sock->sk; iucv_sock_sendmsg() local
1158 iucv_process_message(struct sock * sk,struct sk_buff * skb,struct iucv_path * path,struct iucv_message * msg) iucv_process_message() argument
1219 iucv_process_message_q(struct sock * sk) iucv_process_message_q() argument
1240 struct sock *sk = sock->sk; iucv_sock_recvmsg() local
1367 struct sock *sk; iucv_accept_poll() local
1382 struct sock *sk = sock->sk; iucv_sock_poll() local
1420 struct sock *sk = sock->sk; iucv_sock_shutdown() local
1488 struct sock *sk = sock->sk; iucv_sock_release() local
1505 struct sock *sk = sock->sk; iucv_sock_setsockopt() local
1555 struct sock *sk = sock->sk; iucv_sock_getsockopt() local
1613 struct sock *sk, *nsk; iucv_callback_connreq() local
1706 struct sock *sk = path->private; iucv_callback_connack() local
1714 struct sock *sk = path->private; iucv_callback_rx() local
1759 struct sock *sk = path->private; iucv_callback_txdone() local
1803 struct sock *sk = path->private; iucv_callback_connrej() local
1821 struct sock *sk = path->private; iucv_callback_shutdown() local
1864 afiucv_hs_callback_syn(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_syn() argument
1930 afiucv_hs_callback_synack(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_synack() argument
1951 afiucv_hs_callback_synfin(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_synfin() argument
1971 afiucv_hs_callback_fin(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_fin() argument
1994 afiucv_hs_callback_win(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_win() argument
2012 afiucv_hs_callback_rx(struct sock * sk,struct sk_buff * skb) afiucv_hs_callback_rx() argument
2061 struct sock *sk; afiucv_hs_rcv() local
2167 afiucv_hs_callback_txnotify(struct sock * sk,enum iucv_tx_notify n) afiucv_hs_callback_txnotify() argument
2210 struct sock *sk; afiucv_netdev_event() local
2262 struct sock *sk; iucv_sock_create() local
[all...]
/linux/net/sctp/
H A Dsocket.c101 static void sctp_enter_memory_pressure(struct sock *sk) in sctp_enter_memory_pressure()
110 struct sock *sk = asoc->base.sk; in sctp_wspace() local
128 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
193 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
210 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr()
233 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
270 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport()
309 static int sctp_bind(struct sock *sk, struct sockaddr_unsized *addr, 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/mptcp/
H A Dprotocol.c64 static const struct proto_ops *mptcp_fallback_tcp_ops(const struct sock *sk) in mptcp_fallback_tcp_ops()
106 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
135 struct sock *sk = (struct sock *)msk; in __mptcp_nmpc_sk() local
150 static void mptcp_drop(struct sock *sk, struct sk_buff *skb) in mptcp_drop()
162 static bool __mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in __mptcp_try_coalesce()
181 static bool mptcp_try_coalesce(struct sock *sk, struct sk_buff *to, in mptcp_try_coalesce()
214 static bool mptcp_rcvbuf_grow(struct sock *sk, u32 newval) in mptcp_rcvbuf_grow()
248 static void mptcp_prune_ofo_queue(struct sock *sk, in mptcp_prune_ofo_queue()
289 static bool mptcp_can_ingest(const struct sock *sk) in mptcp_can_ingest()
295 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; l2cap_sock_connect() local
273 struct sock *sk = sock->sk; l2cap_sock_listen() local
332 struct sock *sk = sock->sk, *nsk; l2cap_sock_accept() local
393 struct sock *sk = sock->sk; l2cap_sock_getname() local
442 struct sock *sk = sock->sk; l2cap_sock_getsockopt_old() local
562 struct sock *sk = sock->sk; l2cap_sock_getsockopt() local
744 struct sock *sk = sock->sk; l2cap_sock_setsockopt_old() local
898 struct sock *sk = sock->sk; l2cap_sock_setsockopt() local
1148 struct sock *sk = sock->sk; l2cap_sock_sendmsg() local
1188 struct sock *sk = chan->data; l2cap_publish_rx_avail() local
1217 struct sock *sk = sock->sk; l2cap_sock_recvmsg() local
1293 l2cap_sock_put_chan(struct sock * sk) l2cap_sock_put_chan() argument
1308 l2cap_sock_kill(struct sock * sk) l2cap_sock_kill() argument
1322 __l2cap_wait_ack(struct sock * sk,struct l2cap_chan * chan) __l2cap_wait_ack() argument
1370 struct sock *sk = sock->sk; l2cap_sock_shutdown() local
1471 struct sock *sk = sock->sk; l2cap_sock_release() local
1503 struct sock *sk; l2cap_sock_cleanup_listen() local
1564 struct sock *sk, *parent = chan->data; l2cap_sock_new_connection_cb() local
1601 struct sock *sk; l2cap_sock_recv_cb() local
1664 struct sock *sk = chan->data; l2cap_sock_close_cb() local
1674 struct sock *sk = chan->data; l2cap_sock_teardown_cb() local
1729 struct sock *sk = chan->data; l2cap_sock_state_change_cb() local
1744 struct sock *sk = chan->data; l2cap_sock_alloc_skb_cb() local
1772 struct sock *sk = chan->data; l2cap_sock_ready_cb() local
1795 struct sock *parent, *sk = chan->data; l2cap_sock_defer_cb() local
1808 struct sock *sk = chan->data; l2cap_sock_resume_cb() local
1824 struct sock *sk = chan->data; l2cap_sock_set_shutdown_cb() local
1833 struct sock *sk = chan->data; l2cap_sock_get_sndtimeo_cb() local
1843 struct sock *sk = chan->data; l2cap_sock_get_peer_pid_cb() local
1850 struct sock *sk = chan->data; l2cap_sock_suspend_cb() local
1858 struct sock *sk = chan->data; l2cap_sock_filter() local
1887 l2cap_sock_destruct(struct sock * sk) l2cap_sock_destruct() argument
1919 l2cap_sock_init(struct sock * sk,struct sock * parent) l2cap_sock_init() argument
1979 struct sock *sk; l2cap_sock_alloc() local
1999 struct sock *sk; l2cap_sock_create() local
[all...]
H A Dsco.c47 struct sock *sk; member
62 #define sco_pi(sk) ((struct sco_pinfo *) sk) argument
143 struct sock *sk; in sco_sock_timeout() local
171 static void sco_sock_set_timer(struct sock *sk, long timeout) in sco_sock_set_timer()
181 static void sco_sock_clear_timer(struct sock *sk) in sco_sock_clear_timer()
235 static void sco_chan_del(struct sock *sk, int err) in sco_chan_del()
261 struct sock *sk; in sco_conn_del() local
285 static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, in __sco_chan_add()
297 static int sco_chan_add(struct sco_conn *conn, struct sock *sk, in sco_chan_add()
312 static int sco_connect(struct sock *sk) in sco_connect()
[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
597 iso_sock_get_qos(struct sock * sk) iso_sock_get_qos() argument
605 iso_send_frame(struct sock * sk,struct sk_buff * skb,const struct sockcm_cookie * sockc) iso_send_frame() argument
638 struct sock *sk; iso_recv_frame() local
666 struct sock *sk; __iso_get_sock_listen_by_addr() local
685 struct sock *sk; __iso_get_sock_listen_by_sid() local
715 struct sock *sk = NULL, *sk1 = NULL; iso_get_sock() local
775 struct sock *sk = NULL; iso_get_sock_big() local
811 iso_sock_destruct(struct sock * sk) iso_sock_destruct() argument
824 struct sock *sk; iso_sock_cleanup_listen() local
849 iso_sock_kill(struct sock * sk) iso_sock_kill() argument
879 iso_sock_disconn(struct sock * sk) iso_sock_disconn() argument
909 __iso_sock_close(struct sock * sk) __iso_sock_close() argument
946 iso_sock_close(struct sock * sk) iso_sock_close() argument
955 iso_sock_init(struct sock * sk,struct sock * parent) iso_sock_init() argument
1004 struct sock *sk; iso_sock_alloc() local
1028 struct sock *sk; iso_sock_create() local
1051 struct sock *sk = sock->sk; iso_sock_bind_bc() local
1090 iso_sock_rebind_bis(struct sock * sk,struct sockaddr_iso * sa,int addr_len) iso_sock_rebind_bis() argument
1132 iso_sock_rebind_bc(struct sock * sk,struct sockaddr_iso * sa,int addr_len) iso_sock_rebind_bc() argument
1194 struct sock *sk = sock->sk; iso_sock_bind() local
1251 struct sock *sk = sock->sk; iso_sock_connect() local
1296 iso_listen_bis(struct sock * sk) iso_listen_bis() argument
1367 iso_listen_cis(struct sock * sk) iso_listen_cis() argument
1385 struct sock *sk = sock->sk; iso_sock_listen() local
1432 struct sock *sk = sock->sk, *ch; iso_sock_accept() local
1532 struct sock *sk = sock->sk; iso_sock_getname() local
1570 struct sock *sk = sock->sk; iso_sock_sendmsg() local
1663 iso_conn_big_sync(struct sock * sk) iso_conn_big_sync() argument
1722 struct sock *sk = sock->sk; iso_sock_recvmsg() local
1888 struct sock *sk = sock->sk; iso_sock_setsockopt() local
1987 struct sock *sk = sock->sk; iso_sock_getsockopt() local
2057 struct sock *sk = sock->sk; iso_sock_shutdown() local
2102 struct sock *sk = sock->sk; iso_sock_release() local
2132 iso_sock_ready(struct sock * sk) iso_sock_ready() argument
2149 iso_match_big(struct sock * sk,void * data) iso_match_big() argument
2156 iso_match_big_hcon(struct sock * sk,void * data) iso_match_big_hcon() argument
2163 iso_match_pa_sync_flag(struct sock * sk,void * data) iso_match_pa_sync_flag() argument
2168 iso_match_dst(struct sock * sk,void * data) iso_match_dst() argument
2176 struct sock *sk; iso_conn_ready() local
2352 iso_match_sid(struct sock * sk,void * data) iso_match_sid() argument
2362 iso_match_sid_past(struct sock * sk,void * data) iso_match_sid_past() argument
2372 iso_match_sync_handle(struct sock * sk,void * data) iso_match_sync_handle() argument
2379 iso_match_sync_handle_pa_report(struct sock * sk,void * data) iso_match_sync_handle_pa_report() argument
2394 struct sock *sk; iso_connect_ind() local
2813 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; in rfcomm_sk_state_change() local
107 struct sock *sk = NULL; in __rfcomm_get_listen_sock_by_addr() local
128 struct sock *sk = NULL, *sk1 = NULL; in rfcomm_get_sock_by_channel() local
162 static void rfcomm_sock_destruct(struct sock *sk) in rfcomm_sock_destruct()
184 struct sock *sk; in rfcomm_sock_cleanup_listen() local
203 static void rfcomm_sock_kill(struct sock *sk) in rfcomm_sock_kill()
216 static void __rfcomm_sock_close(struct sock *sk) in __rfcomm_sock_close()
243 static void rfcomm_sock_close(struct sock *sk) in rfcomm_sock_close()
250 static void rfcomm_sock_init(struct sock *sk, struct sock *parent) in rfcomm_sock_init()
[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...]
/linux/net/dccp/ccids/
H A Dccid2.c
/linux/net/llc/
H A Dllc_conn.c56 int llc_conn_state_process(struct sock *sk, struct sk_buff *skb) in llc_conn_state_process()
172 void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_send_pdu()
188 void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_rtn_pdu()
205 void llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr, u8 first_p_bit) in llc_conn_resend_i_pdu_as_cmd()
248 void llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr, u8 first_f_bit) in llc_conn_resend_i_pdu_as_rsp()
288 int llc_conn_remove_acked_pdus(struct sock *sk, u8 nr, u16 *how_many_unacked) in llc_conn_remove_acked_pdus()
322 static void llc_conn_send_pdus(struct sock *sk) in llc_conn_send_pdus()
351 static int llc_conn_service(struct sock *sk, struct sk_buff *skb) in llc_conn_service()
381 static const struct llc_conn_state_trans *llc_qualify_conn_ev(struct sock *sk, in llc_qualify_conn_ev()
428 static int llc_exec_conn_trans_actions(struct sock *sk, in llc_exec_conn_trans_actions()
[all …]

12345678910>>...21