FreeBSD/sys/netpfil/ipfw/ip_fw2.c
/*
 * Switches table namespace between global and per-set.
 */
Switches table namespace between global and per-set.
Switches table namespace between global and per - set .
static int
sysctl_ipfw_tables_sets(SYSCTL_HANDLER_ARGS)
{
	int error;
	unsigned int sets;
	sets = V_fw_tables_sets;
	error = sysctl_handle_int(oidp, &sets, 0, req);
	if ((error != 0) || (req->newptr == NULL))
		return (error);
	return (ipfw_switch_tables_namespace(&V_layer3_chain, sets));
}
static int sysctl_ipfw_tables_sets ( SYSCTL_HANDLER_ARGS ) { int error ; unsigned int sets ; sets = V_fw_tables_sets ; error = sysctl_handle_int ( oidp , & sets , 0 , req ) ; if ( ( error != 0 ) || ( req -> newptr == NULL ) ) return ( error ) ; return ( ipfw_switch_tables_namespace ( & V_layer3_chain , sets ) ) ; }
Switches table namespace between global and per-set.
Switches table namespace between global and per - set .
/* Read operation or some error */