Fix loading for case where we don't overload tcp_usrreqs by calling tcp_drop directly

This commit is contained in:
Kip Macy 2008-01-27 04:39:38 +00:00
parent a57927a1e6
commit 6edc218ea1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175712

View File

@ -29,8 +29,11 @@
*/
#ifndef CXGB_TCP_H_
#define CXGB_TCP_H_
#ifdef TCP_USRREQS_OVERLOAD
struct tcpcb *cxgb_tcp_drop(struct tcpcb *tp, int errno);
#else
#define cxgb_tcp_drop tcp_drop
#endif
void cxgb_tcp_ctlinput(int cmd, struct sockaddr *sa, void *vip);
struct tcpcb *cxgb_tcp_close(struct tcpcb *tp);