Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_lro.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | struct lro_entry { | ||||
uint32_t p_len; /* IP header payload length. */ | uint32_t p_len; /* IP header payload length. */ | ||||
uint32_t ulp_csum; /* TCP, etc. checksum. */ | uint32_t ulp_csum; /* TCP, etc. checksum. */ | ||||
uint32_t next_seq; /* tcp_seq */ | uint32_t next_seq; /* tcp_seq */ | ||||
uint32_t ack_seq; /* tcp_seq */ | uint32_t ack_seq; /* tcp_seq */ | ||||
uint32_t tsval; | uint32_t tsval; | ||||
uint32_t tsecr; | uint32_t tsecr; | ||||
uint16_t window; | uint16_t window; | ||||
uint16_t timestamp; /* flag, not a TCP hdr field. */ | uint16_t timestamp; /* flag, not a TCP hdr field. */ | ||||
uint8_t ecn; /* ECN bits from IP TOS field */ | |||||
struct timeval mtime; | struct timeval mtime; | ||||
}; | }; | ||||
LIST_HEAD(lro_head, lro_entry); | LIST_HEAD(lro_head, lro_entry); | ||||
#define le_ip4 leip.ip4 | #define le_ip4 leip.ip4 | ||||
#define le_ip6 leip.ip6 | #define le_ip6 leip.ip6 | ||||
#define source_ip4 lesource.s_ip4 | #define source_ip4 lesource.s_ip4 | ||||
#define dest_ip4 ledest.d_ip4 | #define dest_ip4 ledest.d_ip4 | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |