Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_lro.h
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | |||||
int tcp_lro_init_args(struct lro_ctrl *, struct ifnet *, unsigned, unsigned); | int tcp_lro_init_args(struct lro_ctrl *, struct ifnet *, unsigned, unsigned); | ||||
void tcp_lro_free(struct lro_ctrl *); | void tcp_lro_free(struct lro_ctrl *); | ||||
void tcp_lro_flush_inactive(struct lro_ctrl *, const struct timeval *); | void tcp_lro_flush_inactive(struct lro_ctrl *, const struct timeval *); | ||||
void tcp_lro_flush(struct lro_ctrl *, struct lro_entry *); | void tcp_lro_flush(struct lro_ctrl *, struct lro_entry *); | ||||
void tcp_lro_flush_all(struct lro_ctrl *); | void tcp_lro_flush_all(struct lro_ctrl *); | ||||
int tcp_lro_rx(struct lro_ctrl *, struct mbuf *, uint32_t); | int tcp_lro_rx(struct lro_ctrl *, struct mbuf *, uint32_t); | ||||
void tcp_lro_queue_mbuf(struct lro_ctrl *, struct mbuf *); | void tcp_lro_queue_mbuf(struct lro_ctrl *, struct mbuf *); | ||||
/* append version of functions above */ | |||||
void tcp_lro_flush_inactive_append(struct lro_ctrl *, struct mbuf ***, const struct timeval *); | |||||
void tcp_lro_flush_append(struct lro_ctrl *, struct mbuf ***, struct lro_entry *); | |||||
void tcp_lro_flush_all_append(struct lro_ctrl *, struct mbuf ***); | |||||
void tcp_lro_queue_mbuf_append(struct lro_ctrl *, struct mbuf ***, struct mbuf *); | |||||
#define TCP_LRO_NO_ENTRIES -2 | #define TCP_LRO_NO_ENTRIES -2 | ||||
#define TCP_LRO_CANNOT -1 | #define TCP_LRO_CANNOT -1 | ||||
#define TCP_LRO_NOT_SUPPORTED 1 | #define TCP_LRO_NOT_SUPPORTED 1 | ||||
#endif /* _TCP_LRO_H_ */ | #endif /* _TCP_LRO_H_ */ |