📄 atmvcctablesetupxp.c
字号:
23, // Vci COMPOSEKEY(4, 23, 23), // 32 bit ATM egress key { 0x0000000, // TAT 0x040, // maxCTD 0x20, // Increment 0x08, // Limit } } }, { // Ingress VC Index = 61 COMPOSEKEY(5,124,124), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_CBR, // unsigned TrafficClass 35, ATM_QOS1_CBR_QUEUE, // queueId 0, //Padding 24, // Vpi 24, // Vci COMPOSEKEY(4, 24, 24), // 32 bit ATM egress key { 0x0000000, // TAT 0x040, // maxCTD 0x20, // Increment 0x08, // Limit } } }, //RTVBR { // Ingress VC Index = 62 COMPOSEKEY(5,130,130), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_RTVBR, // unsigned TrafficClass 36, ATM_QOS1_RTVBR_QUEUE, // queueId 0, //Padding 30, // Vpi 30, // Vci COMPOSEKEY(4, 30, 30), // 32 bit ATM egress key { 0x0000000, // TAT 0x40, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 63 COMPOSEKEY(5,131,131), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_RTVBR, // unsigned TrafficClass 37, ATM_QOS1_RTVBR_QUEUE, // queueId 0, //Padding 31, // Vpi 31, // Vci COMPOSEKEY(4, 31, 31), // 32 bit ATM egress key { 0x0000000, // TAT 0x40, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 64 COMPOSEKEY(5,132,132), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_RTVBR, // unsigned TrafficClass 38, ATM_QOS1_RTVBR_QUEUE, // queueId 0, //Padding 32, // Vpi 32, // Vci COMPOSEKEY(4, 32, 32), // 32 bit ATM egress key { 0x0000000, // TAT 0x40, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 65 COMPOSEKEY(5,133,133), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_RTVBR, // unsigned TrafficClass 39, ATM_QOS1_RTVBR_QUEUE, // queueId 0, //Padding 33, // Vpi 33, // Vci COMPOSEKEY(4, 33, 33), // 32 bit ATM egress key { 0x0000000, // TAT 0x40, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 66 COMPOSEKEY(5,134,134), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_RTVBR, // unsigned TrafficClass 40, ATM_QOS1_RTVBR_QUEUE, // queueId 0, //Padding 34, // Vpi 34, // Vci COMPOSEKEY(4, 34, 34), // 32 bit ATM egress key { 0x0000000, // TAT 0x40, // maxCTD 0x40, // Increment 0x88, // Limit } } }, //NRTVBR { // Ingress VC Index = 67 COMPOSEKEY(5,140,140), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_NRTVBR, // unsigned TrafficClass 41, ATM_QOS1_NRTVBR_QUEUE, // queueId 0, //Padding 40, // Vpi 40, // Vci COMPOSEKEY(4, 40, 40), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 68 COMPOSEKEY(5,141,141), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_NRTVBR, // unsigned TrafficClass 42, ATM_QOS1_NRTVBR_QUEUE, // queueId 0, //Padding 41, // Vpi 41, // Vci COMPOSEKEY(4, 41, 41), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 69 COMPOSEKEY(5,142,142), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_NRTVBR, // unsigned TrafficClass 43, ATM_QOS1_NRTVBR_QUEUE, // queueId 0, //Padding 42, // Vpi 42, // Vci COMPOSEKEY(4, 42, 42), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 70 COMPOSEKEY(5,143,143), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_NRTVBR, // unsigned TrafficClass 44, ATM_QOS1_NRTVBR_QUEUE, // queueId 0, //Padding 43, // Vpi 43, // Vci COMPOSEKEY(4, 43, 43), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x40, // Increment 0x88, // Limit } } }, { // Ingress VC Index = 71 COMPOSEKEY(5,144,144), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_NRTVBR, // unsigned TrafficClass 45, ATM_QOS1_NRTVBR_QUEUE, // queueId 0, //Padding 44, // Vpi 44, // Vci COMPOSEKEY(4, 44, 44), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x40, // Increment 0x88, // Limit } } }, //UBR { // Ingress VC Index = 72 COMPOSEKEY(5,150,150), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_UBR, // unsigned TrafficClass 46, ATM_QOS1_UBR_QUEUE, // queueId 0, //Padding 50, // Vpi 50, // Vci COMPOSEKEY(4, 50, 50), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x20, // Increment 0x40, // Limit } } }, { // Ingress VC Index = 73 COMPOSEKEY(5,151,151), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_UBR, // unsigned TrafficClass 47, ATM_QOS1_UBR_QUEUE, // queueId 0, //Padding 51, // Vpi 51, // Vci COMPOSEKEY(4, 51, 51), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x20, // Increment 0x40, // Limit } } }, { // Ingress VC Index = 74 COMPOSEKEY(5,152,152), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_UBR, // unsigned TrafficClass 48, ATM_QOS1_UBR_QUEUE, // queueId 0, //Padding 52, // Vpi 52, // Vci COMPOSEKEY(4, 52, 52), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x20, // Increment 0x40, // Limit } } }, { // Ingress VC Index = 75 COMPOSEKEY(5,153,153), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_UBR, // unsigned TrafficClass 49, ATM_QOS1_UBR_QUEUE, // queueId 0, //Padding 53, // Vpi 53, // Vci COMPOSEKEY(4, 53, 53), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x20, // Increment 0x40, // Limit } } }, { // Ingress VC Index = 76 COMPOSEKEY(5,154,154), // COMPOSEKEY(CPID,VPI,VCI); { 1 << VCFLAGS_VALID_CONNECTION_BIT, // unsigned Flags VC_CLASS_USER_UBR, // unsigned TrafficClass 50, ATM_QOS1_UBR_QUEUE, // queueId 0, //Padding 54, // Vpi 54, // Vci COMPOSEKEY(4, 54, 54), // 32 bit ATM egress key { 0x0000000, // TAT 0x03E0, // maxCTD 0x20, // Increment 0x40, // Limit } } }, { // Ingress VC Index = 77 0, // COMPOSEKEY(CPID,VPI,VCI); { 0, 0, 0, 0, 0, 0, 0, COMPOSEKEY(0, 0, 0), // 32 bit ATM egress key { 0, 0, 0, 0, } } }};VcUnicastIngressInit * atmSwitchUnicastTables[1] ={ atmSwitchUnicastTables1,};/* Function : setTable() * * Description : This function calls atmEntryAdd() which populates * the complex Hash-Trie-Key Table. * * Arguements : A pointer to the structure containing Table Entries * * Returns : none */ void setTable(VcUnicastIngressInit *vuii){ while(vuii->index) { if (!atmEntryAdd(vuii)) { ksPrintf("Table insertion failed"); } vuii++; }} /* * Function : atmVccTableSetup() * * Description : This function is called by atmXpMain to setup table entries. * This in turn calls setTable for each set of entries. * * Arguements : none * * Returns : none */void atmVccTableSetup(){ setTable(atmSwitchUnicastTables[0]);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -