Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_offload.h
Show All 30 Lines | |||||
#ifndef _NETINET_TCP_OFFLOAD_H_ | #ifndef _NETINET_TCP_OFFLOAD_H_ | ||||
#define _NETINET_TCP_OFFLOAD_H_ | #define _NETINET_TCP_OFFLOAD_H_ | ||||
#ifndef _KERNEL | #ifndef _KERNEL | ||||
#error "no user-serviceable parts inside" | #error "no user-serviceable parts inside" | ||||
#endif | #endif | ||||
#include <netinet/tcp.h> | |||||
extern int registered_toedevs; | extern int registered_toedevs; | ||||
int tcp_offload_connect(struct socket *, struct sockaddr *); | int tcp_offload_connect(struct socket *, struct sockaddr *); | ||||
void tcp_offload_listen_start(struct tcpcb *); | void tcp_offload_listen_start(struct tcpcb *); | ||||
void tcp_offload_listen_stop(struct tcpcb *); | void tcp_offload_listen_stop(struct tcpcb *); | ||||
void tcp_offload_input(struct tcpcb *, struct mbuf *); | void tcp_offload_input(struct tcpcb *, struct mbuf *); | ||||
int tcp_offload_output(struct tcpcb *); | int tcp_offload_output(struct tcpcb *); | ||||
void tcp_offload_rcvd(struct tcpcb *); | void tcp_offload_rcvd(struct tcpcb *); | ||||
void tcp_offload_ctloutput(struct tcpcb *, int, int); | void tcp_offload_ctloutput(struct tcpcb *, int, int); | ||||
void tcp_offload_tcp_info(struct tcpcb *, struct tcp_info *); | void tcp_offload_tcp_info(struct tcpcb *, struct tcp_info *); | ||||
int tcp_offload_alloc_tls_session(struct tcpcb *, struct ktls_session *, int); | int tcp_offload_alloc_tls_session(struct tcpcb *, struct ktls_session *, int); | ||||
void tcp_offload_detach(struct tcpcb *); | void tcp_offload_detach(struct tcpcb *); | ||||
void tcp_offload_pmtu_update(struct tcpcb *, tcp_seq, int); | |||||
#endif | #endif |