From dcdbd55c9a2abc0ab1398d2734826839ac918c13 Mon Sep 17 00:00:00 2001 From: kmacy Date: Wed, 12 Dec 2007 20:35:59 +0000 Subject: Add interface for tcp offload to syncache: - make neccessary changes to release offload resources when a syncache entry is removed before connection establishment - disable checks for offloaded connection where insufficient information is available Reviewed by: silby --- sys/netinet/tcp_syncache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/netinet/tcp_syncache.h') diff --git a/sys/netinet/tcp_syncache.h b/sys/netinet/tcp_syncache.h index b58fdc5..0323aa4 100644 --- a/sys/netinet/tcp_syncache.h +++ b/sys/netinet/tcp_syncache.h @@ -40,6 +40,9 @@ int syncache_expand(struct in_conninfo *, struct tcpopt *, struct tcphdr *, struct socket **, struct mbuf *); void syncache_add(struct in_conninfo *, struct tcpopt *, struct tcphdr *, struct inpcb *, struct socket **, struct mbuf *); +void syncache_offload_add(struct in_conninfo *, struct tcpopt *, + struct tcphdr *, struct inpcb *, struct socket **, + struct toe_usrreqs *tu, void *toepcb); void syncache_chkrst(struct in_conninfo *, struct tcphdr *); void syncache_badack(struct in_conninfo *); int syncache_pcbcount(void); -- cgit v1.1