Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.15/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()
196 int llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns(struct sock *sk, in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns()
208 int llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns(struct sock *sk, in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns()
220 int llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns(struct sock *sk, in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns()
263 int llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns(struct sock *sk, in llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns()
298 int llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns(struct sock *sk, in llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns()
[all …]
H A Dllc_c_ac.c61 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_ind()
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()
128 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_ind()
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()
188 int llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2(struct sock *sk, in llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2()
766 void llc_conn_set_p_flag(struct sock *sk, u8 value) in llc_conn_set_p_flag()
1321 static void llc_conn_tmr_common_cb(struct sock *sk, u8 type) in llc_conn_tmr_common_cb()
1364 int llc_conn_ac_rst_vs(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_vs()
1390 int llc_conn_disc(struct sock *sk, struct sk_buff *skb) in llc_conn_disc()
[all …]
/linux-6.15/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()
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()
156 struct sock *sk = &nr->sock; in nr_t2timer_expiry() local
170 struct sock *sk = &nr->sock; in nr_t4timer_expiry() local
181 struct sock *sk = &nr->sock; in nr_idletimer_expiry() local
[all …]
/linux-6.15/net/core/
H A Dsock.c2187 struct sock *sk; in sk_prot_alloc() local
2252 struct sock *sk; in sk_alloc() local
2608 struct sock *sk = skb->sk; in sock_wfree() local
2646 struct sock *sk = skb->sk; in __sock_wfree() local
2706 struct sock *sk = skb->sk; in sock_rfree() local
2730 struct sock *sk = skb->sk; in sock_pfree() local
2800 struct sock *sk = skb->sk; in sock_ofree() local
3765 struct sock *sk = sock->sk; in sock_gettstamp() local
3864 struct sock *sk = sock->sk; in sock_common_getsockopt() local
3874 struct sock *sk = sock->sk; in sock_common_recvmsg() local
[all …]
H A Dsock_reuseport.c24 void reuseport_has_conns_set(struct sock *sk) in reuseport_has_conns_set()
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()
188 int reuseport_alloc(struct sock *sk, bool bind_inany) in reuseport_alloc()
258 struct sock *sk; in reuseport_grow() local
427 void reuseport_detach_sock(struct sock *sk) in reuseport_detach_sock()
462 void reuseport_stop_listen_sock(struct sock *sk) in reuseport_stop_listen_sock()
535 struct sock *sk = reuse->socks[i]; in reuseport_select_sock_by_hash() local
568 struct sock *reuseport_select_sock(struct sock *sk, in reuseport_select_sock()
[all …]
/linux-6.15/include/net/
H A Dsock.h647 #define rcu_dereference_sk_user_data(sk) \ argument
662 struct net *sock_net(const struct sock *sk) in sock_net()
1772 struct sock *sk = (struct sock *)csk; in sock_allow_reclassification() local
1858 const struct sock *sk) in sockcm_init()
2110 __sk_dst_get(const struct sock *sk) in __sk_dst_get()
2117 sk_dst_get(const struct sock *sk) in sk_dst_get()
2168 __sk_dst_reset(struct sock *sk) in __sk_dst_reset()
2174 sk_dst_reset(struct sock *sk) in sk_dst_reset()
2192 struct sock *sk = skb->sk; in sock_confirm_neigh() local
2821 sk_is_refcounted(struct sock *sk) in sk_is_refcounted()
[all …]
/linux-6.15/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 = from_timer(sk, t, sk_timer); in x25_heartbeat_expiry() local
[all …]
/linux-6.15/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()
167 struct sock *sk = &rose->sock; in rose_timer_expiry() local
[all …]
/linux-6.15/net/iucv/
H A Daf_iucv.c268 struct sock *sk; in __iucv_get_sock_by_name() local
296 struct sock *sk; in iucv_sock_cleanup_listen() local
452 struct sock *sk; in iucv_sock_alloc() local
524 struct sock *sk; in iucv_accept_dequeue() local
570 struct sock *sk = sock->sk; in iucv_sock_bind() local
673 struct sock *sk = sock->sk; in afiucv_path_connect() local
1350 struct sock *sk; in iucv_accept_poll() local
1591 struct sock *sk, *nsk; in iucv_callback_connreq() local
2038 struct sock *sk; in afiucv_hs_rcv() local
2183 struct sock *sk; in afiucv_netdev_event() local
[all …]
/linux-6.15/net/ipv4/
H A Dtcp_timer.c75 static void tcp_write_err(struct sock *sk) in tcp_write_err()
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()
363 struct sock *sk = &icsk->icsk_inet.sk; in tcp_delack_timer() local
387 static void tcp_probe_timer(struct sock *sk) in tcp_probe_timer()
531 void tcp_retransmit_timer(struct sock *sk) in tcp_retransmit_timer()
691 void tcp_write_timer_handler(struct sock *sk) in tcp_write_timer_handler()
730 struct sock *sk = &icsk->icsk_inet.sk; in tcp_write_timer() local
781 struct sock *sk = from_timer(sk, t, sk_timer); in tcp_keepalive_timer() local
870 struct sock *sk = (struct sock *)tp; in tcp_compressed_ack_kick() local
[all …]
H A Dtcp_input.c754 void tcp_rcv_space_adjust(struct sock *sk) in tcp_rcv_space_adjust()
993 static void tcp_set_rto(struct sock *sk) in tcp_set_rto()
1396 static u8 tcp_sacktag_one(struct sock *sk, in tcp_sacktag_one()
1836 struct sock *sk, in tcp_maybe_skipping_dsack()
2200 void tcp_enter_loss(struct sock *sk) in tcp_enter_loss()
2758 void tcp_enter_cwr(struct sock *sk) in tcp_enter_cwr()
3272 void tcp_rearm_rto(struct sock *sk) in tcp_rearm_rto()
4596 void tcp_fin(struct sock *sk) in tcp_fin()
5247 void tcp_data_ready(struct sock *sk) in tcp_data_ready()
5757 void tcp_check_space(struct sock *sk) in tcp_check_space()
[all …]
H A Dtcp_bbr.c215 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()
304 static u32 bbr_tso_segs_goal(struct sock *sk) in bbr_tso_segs_goal()
321 static void bbr_save_cwnd(struct sock *sk) in bbr_save_cwnd()
457 static u32 bbr_ack_aggregation_cwnd(struct sock *sk) in bbr_ack_aggregation_cwnd()
601 static void bbr_update_cycle_phase(struct sock *sk, in bbr_update_cycle_phase()
610 static void bbr_reset_startup_mode(struct sock *sk) in bbr_reset_startup_mode()
626 static void bbr_reset_mode(struct sock *sk) in bbr_reset_mode()
987 static void bbr_update_gains(struct sock *sk) in bbr_update_gains()
[all …]
H A Dtcp_output.c164 struct sock *sk) in tcp_event_data_sent()
1119 struct sock *sk; in tcp_tasklet_func() local
1150 void tcp_release_cb(struct sock *sk) in tcp_release_cb()
1203 struct sock *sk = skb->sk; in tcp_wfree() local
1251 struct sock *sk = (struct sock *)tp; in tcp_pace_kick() local
1597 struct sock *sk, in tcp_insert_write_queue_after()
1810 void tcp_mtup_init(struct sock *sk) in tcp_mtup_init()
3584 void tcp_send_fin(struct sock *sk) in tcp_send_fin()
3670 int tcp_send_synack(struct sock *sk) in tcp_send_synack()
4074 int tcp_connect(struct sock *sk) in tcp_connect()
[all …]
/linux-6.15/net/sctp/
H A Dsocket.c111 struct sock *sk = asoc->base.sk; in sctp_wspace() local
129 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
912 struct sock *sk = sctp_opt2sk(sp); in sctp_asconf_mgmt() local
1074 struct sock *sk = ep->base.sk; in sctp_connect_new_asoc() local
1757 struct sock *sk = asoc->base.sk; in sctp_sendmsg_check_sflags() local
1796 struct sock *sk = asoc->base.sk; in sctp_sendmsg_to_asoc() local
8600 struct sock *sk = sock->sk; in sctp_inet_listen() local
8662 struct sock *sk = sock->sk; in sctp_poll() local
9088 struct sock *sk = asoc->base.sk; in __sctp_write_space() local
9164 struct sock *sk = asoc->base.sk; in sctp_wfree() local
[all …]
/linux-6.15/net/mptcp/
H A Dprotocol.c71 struct sock *sk = (struct sock *)msk; in __mptcp_socket_create() local
100 struct sock *sk = (struct sock *)msk; in __mptcp_nmpc_sk() local
164 struct sock *sk = (struct sock *)msk; in mptcp_data_queue_ofo() local
278 struct sock *sk = (struct sock *)msk; in __mptcp_move_skb() local
494 struct sock *sk = (struct sock *)msk; in mptcp_cleanup_rbuf() local
575 struct sock *sk = (struct sock *)msk; in __mptcp_move_skbs_from_subflow() local
3429 struct sock *sk = subflow->conn; in mptcp_subflow_process_delegated() local
3480 struct sock *sk; in mptcp_finish_connect() local
3743 struct sock *ssk, *sk = sock->sk; in mptcp_bind() local
3770 struct sock *sk = sock->sk; in mptcp_listen() local
[all …]
/linux-6.15/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
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()
364 struct sock *sk; in ieee802154_raw_deliver() local
436 struct sock sk; member
795 struct sock *sk, *prev = NULL; in ieee802154_dgram_deliver() local
[all …]
/linux-6.15/net/bluetooth/
H A Diso.c31 struct sock *sk; member
154 struct sock *sk; in iso_sock_timeout() local
264 struct sock *sk; in iso_conn_del() local
554 struct sock *sk; in iso_recv_frame() local
578 struct sock *sk; in __iso_get_sock_listen_by_addr() local
597 struct sock *sk; in __iso_get_sock_listen_by_sid() local
718 struct sock *sk; in iso_sock_cleanup_listen() local
882 struct sock *sk; in iso_sock_alloc() local
904 struct sock *sk; in iso_sock_create() local
2056 struct sock *sk; in iso_connect_ind() local
[all …]
H A Dsco.c49 struct sock *sk; member
145 struct sock *sk; in sco_sock_timeout() local
257 struct sock *sk; in sco_conn_del() local
401 struct sock *sk; in sco_recv_frame() local
425 struct sock *sk; in __sco_get_sock_listen_by_addr() local
477 struct sock *sk; in sco_sock_cleanup_listen() local
560 struct sock *sk; in sco_sock_alloc() local
582 struct sock *sk; in sco_sock_create() local
605 struct sock *sk = sock->sk; in sco_sock_bind() local
1400 struct sock *sk; in sco_connect_ind() local
[all …]
H A Dl2cap_sock.c85 struct sock *sk = sock->sk; in l2cap_sock_bind() local
184 struct sock *sk = sock->sk; in l2cap_sock_connect() local
274 struct sock *sk = sock->sk; in l2cap_sock_listen() local
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
1445 struct sock *sk; in l2cap_sock_cleanup_listen() local
1502 struct sock *sk; in l2cap_sock_recv_cb() local
1888 struct sock *sk; in l2cap_sock_alloc() local
[all …]
/linux-6.15/include/linux/
H A Dbpf-cgroup.h185 static inline bool cgroup_bpf_sock_enabled(struct sock *sk, in cgroup_bpf_sock_enabled()
196 #define BPF_CGROUP_RUN_PROG_INET_INGRESS(sk, skb) \ argument
221 #define BPF_CGROUP_RUN_SK_PROG(sk, atype) \ argument
230 #define BPF_CGROUP_RUN_PROG_INET_SOCK(sk) \ argument
283 #define BPF_CGROUP_PRE_CONNECT_ENABLED(sk) \ argument
336 #define BPF_CGROUP_RUN_PROG_SOCK_OPS_SK(sock_ops, sk) \ argument
492 #define BPF_CGROUP_PRE_CONNECT_ENABLED(sk) (0) argument
494 #define BPF_CGROUP_RUN_PROG_INET_EGRESS(sk,skb) ({ 0; }) argument
495 #define BPF_CGROUP_RUN_PROG_INET_SOCK(sk) ({ 0; }) argument
498 #define BPF_CGROUP_RUN_PROG_INET4_POST_BIND(sk) ({ 0; }) argument
[all …]
/linux-6.15/net/dccp/
H A Dqpolicy.c20 static bool qpolicy_simple_full(struct sock *sk) in qpolicy_simple_full()
26 static struct sk_buff *qpolicy_simple_top(struct sock *sk) in qpolicy_simple_top()
36 static struct sk_buff *qpolicy_prio_best_skb(struct sock *sk) in qpolicy_prio_best_skb()
46 static struct sk_buff *qpolicy_prio_worst_skb(struct sock *sk) in qpolicy_prio_worst_skb()
56 static bool qpolicy_prio_full(struct sock *sk) in qpolicy_prio_full()
95 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_push()
100 bool dccp_qpolicy_full(struct sock *sk) in dccp_qpolicy_full()
105 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_drop()
113 struct sk_buff *dccp_qpolicy_top(struct sock *sk) in dccp_qpolicy_top()
118 struct sk_buff *dccp_qpolicy_pop(struct sock *sk) in dccp_qpolicy_pop()
[all …]
H A Doutput.c22 static inline void dccp_event_ack_sent(struct sock *sk) in dccp_event_ack_sent()
42 static int dccp_transmit_skb(struct sock *sk, struct sk_buff *skb) in dccp_transmit_skb()
161 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) in dccp_sync_mss()
197 void dccp_write_space(struct sock *sk) in dccp_write_space()
245 static void dccp_xmit_packet(struct sock *sk) in dccp_xmit_packet()
350 void dccp_write_xmit(struct sock *sk) in dccp_write_xmit()
386 int dccp_retransmit_skb(struct sock *sk) in dccp_retransmit_skb()
541 int dccp_connect(struct sock *sk) in dccp_connect()
581 void dccp_send_ack(struct sock *sk) in dccp_send_ack()
638 void dccp_send_sync(struct sock *sk, const u64 ackno, in dccp_send_sync()
[all …]
/linux-6.15/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()
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()
293 struct sock *sk, in vmci_transport_notify_pkt_send_init()
304 struct sock *sk, in vmci_transport_notify_pkt_send_post_enqueue()
343 struct sock *sk, in vmci_transport_notify_pkt_handle_pkt()
390 struct sock *sk, in vmci_transport_notify_pkt_recv_pre_dequeue()
399 struct sock *sk, in vmci_transport_notify_pkt_send_pre_block()
[all …]
H A Dvmci_transport_notify.c165 vmci_transport_handle_read(struct sock *sk, in vmci_transport_handle_read()
301 vmci_transport_handle_wrote(struct sock *sk, in vmci_transport_handle_wrote()
392 struct sock *sk, in vmci_transport_notify_pkt_recv_init()
428 struct sock *sk, in vmci_transport_notify_pkt_recv_pre_block()
454 struct sock *sk, in vmci_transport_notify_pkt_recv_pre_dequeue()
474 struct sock *sk, in vmci_transport_notify_pkt_recv_post_dequeue()
507 struct sock *sk, in vmci_transport_notify_pkt_send_init()
520 struct sock *sk, in vmci_transport_notify_pkt_send_pre_block()
532 struct sock *sk, in vmci_transport_notify_pkt_send_pre_enqueue()
548 struct sock *sk, in vmci_transport_notify_pkt_send_post_enqueue()
[all …]
/linux-6.15/net/bluetooth/rfcomm/
H A Dsock.c52 struct sock *sk = d->owner; in rfcomm_sk_data_ready() local
108 struct sock *sk = NULL; in __rfcomm_get_listen_sock_by_addr() local
175 struct sock *sk; in rfcomm_sock_cleanup_listen() local
275 struct sock *sk; in rfcomm_sock_alloc() local
308 struct sock *sk; in rfcomm_sock_create() local
330 struct sock *sk = sock->sk; in rfcomm_sock_bind() local
377 struct sock *sk = sock->sk; in rfcomm_sock_connect() local
424 struct sock *sk = sock->sk; in rfcomm_sock_listen() local
535 struct sock *sk = sock->sk; in rfcomm_sock_getname() local
934 struct sock *sk, *parent; in rfcomm_connect_ind() local
[all …]

12345678910>>...29