Lines Matching defs:conn

248 	const struct tcp *conn = ctx->tcp;  in net_tcp_endpoint_copy()  local
422 static void tcp_derive_rto(struct tcp *conn) in tcp_derive_rto()
448 static void tcp_new_reno_log(struct tcp *conn, char *step) in tcp_new_reno_log()
455 static void tcp_new_reno_init(struct tcp *conn) in tcp_new_reno_init()
463 static void tcp_new_reno_fast_retransmit(struct tcp *conn) in tcp_new_reno_fast_retransmit()
474 static void tcp_new_reno_timeout(struct tcp *conn) in tcp_new_reno_timeout()
482 static void tcp_new_reno_dup_ack(struct tcp *conn) in tcp_new_reno_dup_ack()
491 static void tcp_new_reno_pkts_acked(struct tcp *conn, uint32_t acked_len) in tcp_new_reno_pkts_acked()
517 static void tcp_ca_init(struct tcp *conn) in tcp_ca_init()
522 static void tcp_ca_fast_retransmit(struct tcp *conn) in tcp_ca_fast_retransmit()
527 static void tcp_ca_timeout(struct tcp *conn) in tcp_ca_timeout()
532 static void tcp_ca_dup_ack(struct tcp *conn) in tcp_ca_dup_ack()
537 static void tcp_ca_pkts_acked(struct tcp *conn, uint32_t acked_len) in tcp_ca_pkts_acked()
543 static void tcp_ca_init(struct tcp *conn) { } in tcp_ca_init()
545 static void tcp_ca_fast_retransmit(struct tcp *conn) { } in tcp_ca_fast_retransmit()
547 static void tcp_ca_timeout(struct tcp *conn) { } in tcp_ca_timeout()
549 static void tcp_ca_dup_ack(struct tcp *conn) { } in tcp_ca_dup_ack()
551 static void tcp_ca_pkts_acked(struct tcp *conn, uint32_t acked_len) { } in tcp_ca_pkts_acked()
559 static void keep_alive_timer_init(struct tcp *conn) in keep_alive_timer_init()
578 static void keep_alive_timer_restart(struct tcp *conn) in keep_alive_timer_restart()
589 static void keep_alive_timer_stop(struct tcp *conn) in keep_alive_timer_stop()
594 static int set_tcp_keep_alive(struct tcp *conn, const void *value, size_t len) in set_tcp_keep_alive()
618 static int set_tcp_keep_idle(struct tcp *conn, const void *value, size_t len) in set_tcp_keep_idle()
638 static int set_tcp_keep_intvl(struct tcp *conn, const void *value, size_t len) in set_tcp_keep_intvl()
658 static int set_tcp_keep_cnt(struct tcp *conn, const void *value, size_t len) in set_tcp_keep_cnt()
678 static int get_tcp_keep_alive(struct tcp *conn, void *value, size_t *len) in get_tcp_keep_alive()
690 static int get_tcp_keep_idle(struct tcp *conn, void *value, size_t *len) in get_tcp_keep_idle()
702 static int get_tcp_keep_intvl(struct tcp *conn, void *value, size_t *len) in get_tcp_keep_intvl()
714 static int get_tcp_keep_cnt(struct tcp *conn, void *value, size_t *len) in get_tcp_keep_cnt()
743 static void tcp_send_queue_flush(struct tcp *conn) in tcp_send_queue_flush()
757 struct tcp *conn = CONTAINER_OF(work, struct tcp, conn_release); in tcp_conn_release() local
835 static int tcp_conn_unref(struct tcp *conn) in tcp_conn_unref()
858 #define tcp_conn_close(conn, status) \ argument
861 static int tcp_conn_close_debug(struct tcp *conn, int status, in tcp_conn_close_debug()
895 static bool tcp_send_process_no_lock(struct tcp *conn) in tcp_send_process_no_lock()
965 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, send_timer); in tcp_send_process() local
979 static void tcp_send_timer_cancel(struct tcp *conn) in tcp_send_timer_cancel()
1007 static void tcp_nbr_reachability_hint(struct tcp *conn) in tcp_nbr_reachability_hint()
1058 static const char *tcp_conn_state(struct tcp *conn, struct net_pkt *pkt) in tcp_conn_state()
1163 static bool tcp_short_window(struct tcp *conn) in tcp_short_window()
1174 static bool tcp_need_window_update(struct tcp *conn) in tcp_need_window_update()
1194 static int tcp_update_recv_wnd(struct tcp *conn, int32_t delta) in tcp_update_recv_wnd()
1223 static size_t tcp_check_pending_data(struct tcp *conn, struct net_pkt *pkt, in tcp_check_pending_data()
1285 static enum net_verdict tcp_data_get(struct tcp *conn, struct net_pkt *pkt, size_t *len) in tcp_data_get()
1341 static int tcp_header_add(struct tcp *conn, struct net_pkt *pkt, uint8_t flags, in tcp_header_add()
1373 static int ip_header_add(struct tcp *conn, struct net_pkt *pkt) in ip_header_add()
1390 static int set_tcp_nodelay(struct tcp *conn, const void *value, size_t len) in set_tcp_nodelay()
1409 static int get_tcp_nodelay(struct tcp *conn, void *value, size_t *len) in get_tcp_nodelay()
1421 static int net_tcp_set_mss_opt(struct tcp *conn, struct net_pkt *pkt) in net_tcp_set_mss_opt()
1541 static int tcp_out_ext(struct tcp *conn, uint8_t flags, struct net_pkt *data, in tcp_out_ext()
1615 static void tcp_out(struct tcp *conn, uint8_t flags) in tcp_out()
1695 static bool tcp_window_full(struct tcp *conn) in tcp_window_full()
1710 static int tcp_unsent_len(struct tcp *conn) in tcp_unsent_len()
1739 static int tcp_send_data(struct tcp *conn) in tcp_send_data()
1797 static int tcp_send_queued_data(struct tcp *conn) in tcp_send_queued_data()
1846 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, recv_queue_timer); in tcp_cleanup_recv_queue() local
1863 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, send_data_timer); in tcp_resend_data() local
1943 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, timewait_timer); in tcp_timewait_timeout() local
1951 static void tcp_establish_timeout(struct tcp *conn) in tcp_establish_timeout()
1962 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, fin_timer); in tcp_fin_timeout() local
1979 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, fin_timer); in tcp_last_ack_timeout() local
1987 static void tcp_setup_last_ack_timer(struct tcp *conn) in tcp_setup_last_ack_timer()
2005 static void tcp_cancel_last_ack_timer(struct tcp *conn) in tcp_cancel_last_ack_timer()
2014 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, keepalive_timer); in tcp_send_keepalive_probe() local
2046 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, persist_timer); in tcp_send_zwp() local
2077 struct tcp *conn = CONTAINER_OF(dwork, struct tcp, ack_timer); in tcp_send_ack() local
2086 static void tcp_conn_ref(struct tcp *conn) in tcp_conn_ref()
2095 struct tcp *conn = NULL; in tcp_conn_alloc() local
2185 struct tcp *conn; in net_tcp_get() local
2212 static bool tcp_conn_cmp(struct tcp *conn, struct net_pkt *pkt) in tcp_conn_cmp()
2221 struct tcp *conn; in tcp_conn_search() local
2246 struct tcp *conn; in tcp_recv() local
2394 struct tcp *conn = NULL; in tcp_conn_new() local
2513 static bool tcp_validate_seq(struct tcp *conn, struct tcphdr *hdr) in tcp_validate_seq()
2519 static int32_t tcp_compute_new_length(struct tcp *conn, struct tcphdr *hdr, size_t len, in tcp_compute_new_length()
2540 static enum tcp_state tcp_enter_time_wait(struct tcp *conn) in tcp_enter_time_wait()
2577 static void tcp_queue_recv_data(struct tcp *conn, struct net_pkt *pkt, in tcp_queue_recv_data()
2713 static enum net_verdict tcp_data_received(struct tcp *conn, struct net_pkt *pkt, in tcp_data_received()
2741 static void tcp_out_of_order_data(struct tcp *conn, struct net_pkt *pkt, in tcp_out_of_order_data()
2762 static void tcp_check_sock_options(struct tcp *conn) in tcp_check_sock_options()
2802 static enum net_verdict tcp_in(struct tcp *conn, struct net_pkt *pkt) in tcp_in()
3630 struct tcp *conn = context->tcp; in net_tcp_put() local
3698 struct tcp *conn = context->tcp; in net_tcp_update_recv_wnd() local
3718 struct tcp *conn = context->tcp; in net_tcp_queue() local
3828 struct tcp *conn; in net_tcp_connect() local
3995 struct tcp *conn = context->tcp; in net_tcp_accept() local
4078 struct tcp *conn = context->tcp; in net_tcp_recv() local
4149 struct tcp *conn = tcp_conn_search(pkt); in tcp_input() local
4174 static size_t tp_tcp_recv_cb(struct tcp *conn, struct net_pkt *pkt) in tp_tcp_recv_cb()
4198 static void tp_init(struct tcp *conn, struct tp *tp) in tp_init()
4214 static void tcp_to_json(struct tcp *conn, void *data, size_t *data_len) in tcp_to_json()
4231 struct tcp *conn = tcp_conn_search(pkt); in tp_input() local
4306 struct tcp *conn = in tp_input() local
4324 struct tcp *conn = in tp_input() local
4390 struct tcp *conn; in net_tcp_foreach() local
4458 uint16_t net_tcp_get_supported_mss(const struct tcp *conn) in net_tcp_get_supported_mss()
4490 static void testing_find_conn(struct tcp *conn, void *user_data) in testing_find_conn()
4544 struct tcp *conn = context->tcp; in net_tcp_set_option() local
4581 struct tcp *conn = context->tcp; in net_tcp_get_option() local
4617 struct tcp *conn = context->tcp; in net_tcp_tx_sem_get() local
4624 struct tcp *conn = context->tcp; in net_tcp_conn_sem_get() local