diff options
author | Marko Zec <zec@FreeBSD.org> | 2008-11-28 23:30:51 +0000 |
---|---|---|
committer | Marko Zec <zec@FreeBSD.org> | 2008-11-28 23:30:51 +0000 |
commit | f02493cbbd6e5e5f9094dc7ef872f773fa8b1a11 (patch) | |
tree | bb923196c85b9e71d363a7650c292edddfbc6beb /sys/netinet/ip_var.h | |
parent | 39a7471508a20f2b15ca3bee3e532de069483811 (diff) | |
download | src-f02493cbbd6e5e5f9094dc7ef872f773fa8b1a11.tar.gz src-f02493cbbd6e5e5f9094dc7ef872f773fa8b1a11.zip |
Unhide declarations of network stack virtualization structs from
underneath #ifdef VIMAGE blocks.
This change introduces some churn in #include ordering and nesting
throughout the network stack and drivers but is not expected to cause
any additional issues.
In the next step this will allow us to instantiate the virtualization
container structures and switch from using global variables to their
"containerized" counterparts.
Reviewed by: bz, julian
Approved by: julian (mentor)
Obtained from: //depot/projects/vimage-commit2/...
X-MFC after: never
Sponsored by: NLnet Foundation, The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=185419
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r-- | sys/netinet/ip_var.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index 3b052547661a..e23fe93379c0 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -234,18 +234,6 @@ extern struct pfil_head inet_pfil_hook; /* packet filter hooks */ void in_delayed_cksum(struct mbuf *m); -static __inline uint16_t ip_newid(void); -extern int ip_do_randomid; - -static __inline uint16_t -ip_newid(void) -{ - if (V_ip_do_randomid) - return ip_randomid(); - - return htons(V_ip_id++); -} - #endif /* _KERNEL */ #endif /* !_NETINET_IP_VAR_H_ */ |