Move CTASSERT from header file to source file, per implementation note now
in the CTASSERT man page. Submitted by: Ryan Stone
This commit is contained in:
parent
0d44ba5d7e
commit
d2035ffb7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183388
@ -69,10 +69,6 @@ struct ip {
|
||||
struct in_addr ip_src,ip_dst; /* source and dest address */
|
||||
} __packed __aligned(4);
|
||||
|
||||
#ifdef CTASSERT
|
||||
CTASSERT(sizeof (struct ip) == 20);
|
||||
#endif
|
||||
|
||||
#define IP_MAXPACKET 65535 /* maximum packet size */
|
||||
|
||||
/*
|
||||
|
@ -85,6 +85,10 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <security/mac/mac_framework.h>
|
||||
|
||||
#ifdef CTASSERT
|
||||
CTASSERT(sizeof(struct ip) == 20);
|
||||
#endif
|
||||
|
||||
int rsvp_on = 0;
|
||||
|
||||
int ipforwarding = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user