• Home
  • Raw
  • Download

Lines Matching +full:packet +full:- +full:oriented

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * NET Generic infrastructure for INET connection oriented protocols.
56 /** inet_connection_sock - INET connection oriented sock
79 * @icsk_probes_tstamp: Probe timestamp (cleared by non-zero window ack)
118 __u32 lrcvtime; /* timestamp of last received data packet */
155 return (void *)inet_csk(sk)->icsk_ca_priv; in inet_csk_ca()
178 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_SCHED; in inet_csk_schedule_ack()
183 return inet_csk(sk)->icsk_ack.pending & ICSK_ACK_SCHED; in inet_csk_ack_scheduled()
188 memset(&inet_csk(sk)->icsk_ack, 0, sizeof(inet_csk(sk)->icsk_ack)); in inet_csk_delack_init()
199 icsk->icsk_pending = 0; in inet_csk_clear_xmit_timer()
201 sk_stop_timer(sk, &icsk->icsk_retransmit_timer); in inet_csk_clear_xmit_timer()
204 icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timer()
205 icsk->icsk_ack.retry = 0; in inet_csk_clear_xmit_timer()
207 sk_stop_timer(sk, &icsk->icsk_delack_timer); in inet_csk_clear_xmit_timer()
232 icsk->icsk_pending = what; in inet_csk_reset_xmit_timer()
233 icsk->icsk_timeout = jiffies + when; in inet_csk_reset_xmit_timer()
234 sk_reset_timer(sk, &icsk->icsk_retransmit_timer, icsk->icsk_timeout); in inet_csk_reset_xmit_timer()
236 icsk->icsk_ack.pending |= ICSK_ACK_TIMER; in inet_csk_reset_xmit_timer()
237 icsk->icsk_ack.timeout = jiffies + when; in inet_csk_reset_xmit_timer()
238 sk_reset_timer(sk, &icsk->icsk_delack_timer, icsk->icsk_ack.timeout); in inet_csk_reset_xmit_timer()
248 u64 when = (u64)icsk->icsk_rto << icsk->icsk_backoff; in inet_csk_rto_backoff()
274 reqsk_queue_added(&inet_csk(sk)->icsk_accept_queue); in inet_csk_reqsk_queue_added()
279 return reqsk_queue_len(&inet_csk(sk)->icsk_accept_queue); in inet_csk_reqsk_queue_len()
284 return inet_csk_reqsk_queue_len(sk) >= sk->sk_max_ack_backlog; in inet_csk_reqsk_queue_is_full()
294 this_cpu_inc(*sk->sk_prot->orphan_count); in inet_csk_prepare_for_destroy_sock()
305 return !reqsk_queue_empty(&inet_csk(sk)->icsk_accept_queue) ? in inet_csk_listen_poll()
324 inet_csk(sk)->icsk_ack.pingpong = TCP_PINGPONG_THRESH; in inet_csk_enter_pingpong_mode()
329 inet_csk(sk)->icsk_ack.pingpong = 0; in inet_csk_exit_pingpong_mode()
334 return inet_csk(sk)->icsk_ack.pingpong >= TCP_PINGPONG_THRESH; in inet_csk_in_pingpong_mode()
341 if (icsk->icsk_ack.pingpong < U8_MAX) in inet_csk_inc_pingpong_cnt()
342 icsk->icsk_ack.pingpong++; in inet_csk_inc_pingpong_cnt()
347 return inet_sk(sk)->is_icsk && !!inet_csk(sk)->icsk_ulp_ops; in inet_csk_has_ulp()