PERFORCE change 163882 for review
Marko Zec
zec at FreeBSD.org
Tue Jun 9 10:39:22 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=163882
Change 163882 by zec at zec_amdx4 on 2009/06/09 10:39:17
Unbreak LINT / VLINT build.
Affected files ...
.. //depot/projects/vimage/src/sys/netinet/ipfw/ip_fw2.c#2 edit
.. //depot/projects/vimage/src/sys/netinet/ipfw/ip_fw_nat.c#2 edit
Differences ...
==== //depot/projects/vimage/src/sys/netinet/ipfw/ip_fw2.c#2 (text+ko) ====
@@ -133,19 +133,6 @@
static uma_zone_t ipfw_dyn_rule_zone;
/*
- * Data structure to cache our ucred related
- * information. This structure only gets used if
- * the user specified UID/GID based constraints in
- * a firewall rule.
- */
-struct ip_fw_ugid {
- gid_t fw_groups[NGROUPS];
- int fw_ngroups;
- uid_t fw_uid;
- int fw_prid;
-};
-
-/*
* list of rules for layer 3
*/
#ifdef VIMAGE_GLOBALS
@@ -161,12 +148,6 @@
ipfw_nat_cfg_t *ipfw_nat_get_cfg_ptr;
ipfw_nat_cfg_t *ipfw_nat_get_log_ptr;
-struct table_entry {
- struct radix_node rn[2];
- struct sockaddr_in addr, mask;
- u_int32_t value;
-};
-
#ifdef VIMAGE_GLOBALS
static int autoinc_step;
#endif
==== //depot/projects/vimage/src/sys/netinet/ipfw/ip_fw_nat.c#2 (text+ko) ====
@@ -609,7 +609,7 @@
NULL, EVENTHANDLER_PRI_ANY);
}
-static void
+void
ipfw_nat_destroy(void)
{
INIT_VNET_IPFW(curvnet);
More information about the p4-projects
mailing list