FreeBSD/sbin/atm/atmconfig/diag.c
/*
 * Print the config line for the given interface
 */
Print the config line for the given interface
Print the config line for the given interface
static void
config_line1(const struct diagif *aif)
{
	printf("%-6u%-9s%-8u%-5u%-6u%-5u%-6u%02x:%02x:%02x:%02x:%02x:%02x\n",
	    aif->index, aif->ifname, aif->mib.pcr, (1 << aif->mib.vpi_bits) - 1,
	    (1 << aif->mib.vci_bits) - 1, aif->mib.max_vpcs, aif->mib.max_vccs,
	    aif->mib.esi[0], aif->mib.esi[1], aif->mib.esi[2],
	    aif->mib.esi[3], aif->mib.esi[4], aif->mib.esi[5]);
}
static void config_line1 ( const struct diagif * aif ) { printf ( " \n " , aif -> index , aif -> ifname , aif -> mib . pcr , ( 1 << aif -> mib . vpi_bits ) - 1 , ( 1 << aif -> mib . vci_bits ) - 1 , aif -> mib . max_vpcs , aif -> mib . max_vccs , aif -> mib . esi [ 0 ] , aif -> mib . esi [ 1 ] , aif -> mib . esi [ 2 ] , aif -> mib . esi [ 3 ] , aif -> mib . esi [ 4 ] , aif -> mib . esi [ 5 ] ) ; }
Print the config line for the given interface
Print the config line for the given interface