FreeBSD/sys/netpfil/ipfw/ip_fw_table.c
/*
 * Finds table config based on either legacy index
 * or name in ntlv.
 * Note @ti structure contains unchecked data from userland.
 *
 * Returns pointer to table_config or NULL.
 */
Finds table config based on either legacy index
or name in ntlv.
Note @ti structure contains unchecked data from userland.

Returns pointer to table_config or NULL.
Finds table config based on either legacy index or name in ntlv . Note @ti structure contains unchecked data from userland . Returns pointer to table_config or NULL .
static struct table_config *
find_table(struct namedobj_instance *ni, struct tid_info *ti)
{
	struct table_config *tc;
	if (find_table_err(ni, ti, &tc) != 0)
		return (NULL);
	return (tc);
}
static struct table_config * find_table ( struct namedobj_instance * ni , struct tid_info * ti ) { struct table_config * tc ; if ( find_table_err ( ni , ti , & tc ) != 0 ) return ( NULL ) ; return ( tc ) ; }
Finds table config based on either legacy index
 or name in ntlv.
Finds table config based on either legacy index or name in ntlv .