mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
inpcb: remove unneeded #ifdef INET || INET6
Per sys/conf/files this unit is not compiled for a NOIP kernel.
This commit is contained in:
1 parent
954001a9dd
commit
3ff24c76c1
1 file changed
+1
-5
@@ -82,7 +82,6 @@
|
||||
#include <net/rss_config.h>
|
||||
#include <net/vnet.h>
|
||||
|
||||
#if defined(INET) || defined(INET6)
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_pcb.h>
|
||||
#include <netinet/in_pcb_var.h>
|
||||
@@ -97,9 +96,8 @@
|
||||
#include <netinet6/in6_pcb.h>
|
||||
#include <netinet6/in6_var.h>
|
||||
#include <netinet6/ip6_var.h>
|
||||
#endif /* INET6 */
|
||||
#include <net/route/nhop.h>
|
||||
#endif
|
||||
#include <net/route/nhop.h>
|
||||
|
||||
#include <netipsec/ipsec_support.h>
|
||||
|
||||
@@ -723,7 +721,6 @@ out:
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(INET) || defined(INET6)
|
||||
/*
|
||||
* Assign a local port like in_pcb_lport(), but also used with connect()
|
||||
* and a foreign address and port. If fsa is non-NULL, choose a local port
|
||||
@@ -880,7 +877,6 @@ in_pcb_lport(struct inpcb *inp, struct in_addr *laddrp, u_short *lportp,
|
||||
return (in_pcb_lport_dest(inp, laddrp ? (struct sockaddr *) &laddr :
|
||||
NULL, lportp, NULL, 0, cred, lookupflags));
|
||||
}
|
||||
#endif /* INET || INET6 */
|
||||
|
||||
#ifdef INET
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user