Date: Tue, 9 Jun 2009 10:39:20 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 163882 for review Message-ID: <200906091039.n59AdKMi065782@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163882 Change 163882 by zec@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906091039.n59AdKMi065782>