FreeBSD/sys/netpfil/ipfw/ip_fw_table.c
/*
 * Creates and references table with default parameters.
 * Saves table config, algo and allocated kidx info @ptc, @pta and
 * @pkidx if non-zero.
 * Used for table auto-creation to support old binaries.
 *
 * Returns 0 on success.
 */
Creates and references table with default parameters.
Saves table config, algo and allocated kidx info @ptc, @pta and
@pkidx if non-zero.
Used for table auto-creation to support old binaries.

Returns 0 on success.
Creates and references table with default parameters . Saves table config algo and allocated kidx info @ptc @pta and @pkidx if non - zero . Used for table auto - creation to support old binaries . Returns 0 on success .
static int
create_table_compat(struct ip_fw_chain *ch, struct tid_info *ti,
    uint16_t *pkidx)
{
	ipfw_xtable_info xi;
	int error;
	memset(&xi, 0, sizeof(xi));
	xi.vmask = IPFW_VTYPE_LEGACY;
	error = create_table_internal(ch, ti, NULL, &xi, pkidx, 1);
	if (error != 0)
		return (error);
	return (0);
}
static int create_table_compat ( struct ip_fw_chain * ch , struct tid_info * ti , uint16_t * pkidx ) { ipfw_xtable_info xi ; int error ; memset ( & xi , 0 , sizeof ( xi ) ) ; xi . vmask = IPFW_VTYPE_LEGACY ; error = create_table_internal ( ch , ti , NULL , & xi , pkidx , 1 ) ; if ( error != 0 ) return ( error ) ; return ( 0 ) ; }
Creates and references table with default parameters.
Creates and references table with default parameters .
/* Set default value mask for legacy clients */