FreeBSD kernel IPv4 code
|
Go to the source code of this file.
Macros | |
#define | SEQ_LT(a, b) ((int)((a)-(b)) < 0) |
#define | SEQ_LEQ(a, b) ((int)((a)-(b)) <= 0) |
#define | SEQ_GT(a, b) ((int)((a)-(b)) > 0) |
#define | SEQ_GEQ(a, b) ((int)((a)-(b)) >= 0) |
#define | SEQ_MIN(a, b) ((SEQ_LT(a, b)) ? (a) : (b)) |
#define | SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b)) |
#define | WIN_LT(a, b) (ntohs(a) < ntohs(b)) |
#define | WIN_LEQ(a, b) (ntohs(a) <= ntohs(b)) |
#define | WIN_GT(a, b) (ntohs(a) > ntohs(b)) |
#define | WIN_GEQ(a, b) (ntohs(a) >= ntohs(b)) |
#define | WIN_MIN(a, b) ((WIN_LT(a, b)) ? (a) : (b)) |
#define | WIN_MAX(a, b) ((WIN_GT(a, b)) ? (a) : (b)) |
#define | TSTMP_LT(a, b) ((int)((a)-(b)) < 0) |
#define | TSTMP_GT(a, b) ((int)((a)-(b)) > 0) |
#define | TSTMP_GEQ(a, b) ((int)((a)-(b)) >= 0) |
#define | tcp_rcvseqinit(tp) (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1 |
#define | tcp_sendseqinit(tp) |
#define | TCP_TS_TO_TICKS(_t) ((_t) * hz / 1000) |
#define | TCP_PAWS_IDLE (24 * 24 * 60 * 60 * 1000) |
Functions | |
static __inline uint32_t | tcp_ts_getticks (void) |
#define tcp_rcvseqinit | ( | tp | ) | (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1 |
#define tcp_sendseqinit | ( | tp | ) |
|
static |
Definition at line 89 of file tcp_seq.h.
Referenced by __ctf_process_rst(), cc_ack_received(), ctf_ack_war_checks(), ctf_ts_check(), ctf_ts_check_ac(), ertt_add_tx_segment_info_hook(), ertt_packet_measurement_hook(), marked_packet_rtt(), rack_do_close_wait(), rack_do_closing(), rack_do_compressed_ack_processing(), rack_do_established(), rack_do_fastnewdata(), rack_do_fin_wait_1(), rack_do_fin_wait_2(), rack_do_lastack(), rack_do_syn_recv(), rack_do_syn_sent(), rack_fastack(), rack_init(), rack_output(), syncache_respond(), syncache_socket(), tcp_autorcvbuf(), tcp_default_output(), tcp_do_segment(), tcp_respond(), and tcp_twrespond().