Lines Matching defs:tcp
106 enum tcp_state tcp_stream_get_state(struct tcp_stream *tcp) in tcp_stream_get_state()
116 static void tcp_stream_set_state(struct tcp_stream *tcp, in tcp_stream_set_state()
128 enum tcp_status tcp_stream_get_status(struct tcp_stream *tcp) in tcp_stream_get_status()
138 static void tcp_stream_set_status(struct tcp_stream *tcp, in tcp_stream_set_status()
144 void tcp_stream_restart_rx_timer(struct tcp_stream *tcp) in tcp_stream_restart_rx_timer()
149 static void tcp_stream_init(struct tcp_stream *tcp, in tcp_stream_init()
165 static void tcp_stream_destroy(struct tcp_stream *tcp) in tcp_stream_destroy()
175 struct tcp_stream *tcp = &tcp_stream; in tcp_init() local
196 struct tcp_stream *tcp = &tcp_stream; in tcp_stream_add() local
212 struct tcp_stream *tcp = &tcp_stream; in tcp_stream_get() local
222 void tcp_stream_put(struct tcp_stream *tcp) in tcp_stream_put()
228 u32 tcp_stream_rx_offs(struct tcp_stream *tcp) in tcp_stream_rx_offs()
248 u32 tcp_stream_tx_offs(struct tcp_stream *tcp) in tcp_stream_tx_offs()
268 static void tcp_stream_set_time_handler(struct tcp_stream *tcp, ulong msec, in tcp_stream_set_time_handler()
281 static void tcp_send_packet(struct tcp_stream *tcp, u8 action, in tcp_send_packet()
290 static void tcp_send_repeat(struct tcp_stream *tcp) in tcp_send_repeat()
335 static void tcp_send_packet_with_retry(struct tcp_stream *tcp, u8 action, in tcp_send_packet_with_retry()
349 static inline u8 tcp_stream_fin_needed(struct tcp_stream *tcp, u32 tcp_seq_num) in tcp_stream_fin_needed()
354 static void tcp_steam_tx_try(struct tcp_stream *tcp) in tcp_steam_tx_try()
402 static void tcp_stream_poll(struct tcp_stream *tcp, ulong time) in tcp_stream_poll()
434 struct tcp_stream *tcp; in tcp_streams_poll() local
486 int net_set_ack_options(struct tcp_stream *tcp, union tcp_build_pkt *b) in net_set_ack_options()
541 void net_set_syn_options(struct tcp_stream *tcp, union tcp_build_pkt *b) in net_set_syn_options()
592 int tcp_set_tcp_header(struct tcp_stream *tcp, uchar *pkt, int payload_len, in tcp_set_tcp_header()
673 static void tcp_update_rcv_nxt(struct tcp_stream *tcp) in tcp_update_rcv_nxt()
693 void tcp_hole(struct tcp_stream *tcp, u32 tcp_seq_num, u32 len) in tcp_hole()
775 void tcp_parse_options(struct tcp_stream *tcp, uchar *o, int o_len) in tcp_parse_options()
814 static int tcp_seg_in_wnd(struct tcp_stream *tcp, in tcp_seg_in_wnd()
839 static int tcp_rx_check_ack_num(struct tcp_stream *tcp, u32 tcp_seq_num, in tcp_rx_check_ack_num()
920 static int tcp_rx_user_data(struct tcp_stream *tcp, u32 tcp_seq_num, in tcp_rx_user_data()
967 void tcp_rx_state_machine(struct tcp_stream *tcp, in tcp_rx_state_machine()
1163 struct tcp_stream *tcp; in rxhand_tcp_f() local
1213 struct tcp_stream *tcp; in tcp_stream_connect() local
1229 void tcp_stream_reset(struct tcp_stream *tcp) in tcp_stream_reset()
1240 void tcp_stream_close(struct tcp_stream *tcp) in tcp_stream_close()