⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 authconfiguremib.c

📁 dot1x认证源码,包括dot1x数据包的收发,认证的配置,MIB的设计等
💻 C
📖 第 1 页 / 共 5 页
字号:
};

LOCAL idbObjDesc_t dot1xOnlineUserNum_objDesc[] = {
  { dot1xOnlineUserNum, 18, 4, /* localId=17  1.3.6.1.4.1.10293.1.1.2.4.20.1.18 */
    { 0, 0 }, IDB_Unsigned32, IDB_READ,
    (IDB_VALID), authConfigureMibScalarHandler,
    (char *)0, "authConfigureMib:dot1xOnlineUserNum" },
  { 0 }
};

LOCAL idbObjDesc_t dot1xMaxOnlineUserNum_objDesc[] = {
  { dot1xMaxOnlineUserNum, 19, 4, /* localId=18  1.3.6.1.4.1.10293.1.1.2.4.20.1.19 */
    { 0, 0 }, IDB_Unsigned32, IDB_READ,
    (IDB_VALID), authConfigureMibScalarHandler,
    (char *)0, "authConfigureMib:dot1xMaxOnlineUserNum" },
  { 0 }
};

LOCAL idbObjDesc_t webOnlineUserNum_objDesc[] = {
  { webOnlineUserNum, 20, 4, /* localId=19  1.3.6.1.4.1.10293.1.1.2.4.20.1.20 */
    { 0, 0 }, IDB_Unsigned32, IDB_READ,
    (IDB_VALID), authConfigureMibScalarHandler,
    (char *)0, "authConfigureMib:webOnlineUserNum" },
  { 0 }
};

LOCAL idbObjDesc_t webMaxOnlineUserNum_objDesc[] = {
  { webMaxOnlineUserNum, 21, 4, /* localId=20  1.3.6.1.4.1.10293.1.1.2.4.20.1.21 */
    { 0, 0 }, IDB_Unsigned32, IDB_READ,
    (IDB_VALID), authConfigureMibScalarHandler,
    (char *)0, "authConfigureMib:webMaxOnlineUserNum" },
  { 0 }
};

LOCAL idbObjDesc_t mainConfigureTemplateEntry_objDesc[] = {
  { mainConfigureTemplateIndex, 1, 4, /* localId=21  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.1 */
    { 0, 0 }, IDB_Unsigned32, IDB_NOT_ACCESSIBLE,
    (IDB_VALID|IDB_INDEX), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:mainConfigureTemplateIndex" },
  { radiusTemplate, 2, 4, /* localId=22  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.2 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusTemplate" },
  { authTemplate, 3, 4, /* localId=23  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.3 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:authTemplate" },
  { manageTemplate, 4, 4, /* localId=24  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.4 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:manageTemplate" },
  { mainConfigureDesc, 5, 255, /* localId=25  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.5 */
    { 0, 0 }, IDB_OCTET_STRING, (IDB_READ|IDB_WRITE),
    (IDB_VALID|IDB_ISDISPLAY), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:mainConfigureDesc" },
  { mainConfigureRowStatus, 6, 4, /* localId=26  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.6 */
    { 1, 6 }, IDB_RowStatus, (IDB_READ|IDB_WRITE),
    (IDB_VALID), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:mainConfigureRowStatus" },
  { authServerLocation, 7, 4, /* localId=27  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.7 */
    { 1, 2 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:authServerLocation" },
  { secondaryRadiusTemplate, 8, 4, /* localId=28  1.3.6.1.4.1.10293.1.1.2.4.20.2.1.1.8 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), mainConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:secondaryRadiusTemplate" },
  { 0 }
};

LOCAL idbObjDesc_t radiusServerTemplateEntry_objDesc[] = {
  { radiusServerTemplateIndex, 1, 4, /* localId=29  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.1 */
    { 0, 0 }, IDB_Unsigned32, IDB_NOT_ACCESSIBLE,
    (IDB_VALID|IDB_INDEX), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusServerTemplateIndex" },
  { ipAddress, 2, 4, /* localId=30  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.2 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:ipAddress" },
  { acctport, 3, 4, /* localId=31  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.3 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:acctport" },
  { authport, 4, 4, /* localId=32  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.4 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:authport" },
  { secret, 5, 255, /* localId=33  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.5 */
    { 0, 0 }, IDB_OCTET_STRING, (IDB_READ|IDB_WRITE),
    (IDB_VALID|IDB_ISDISPLAY), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:secret" },
  { name, 6, 255, /* localId=34  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.6 */
    { 0, 0 }, IDB_OCTET_STRING, (IDB_READ|IDB_WRITE),
    (IDB_VALID|IDB_ISDISPLAY), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:name" },
  { radiusServerTemplatePeriod, 7, 4, /* localId=35  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.7 */
    { 1, 60 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusServerTemplatePeriod" },
  { radiusServerTemplateTimes, 8, 4, /* localId=36  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.8 */
    { 1, 15 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusServerTemplateTimes" },
  { radiusServerTemplateUpdateSend, 9, 4, /* localId=37  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.9 */
    { 1, 3 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusServerTemplateUpdateSend" },
  { radiusServerTemplateUpdatePeriod, 10, 4, /* localId=38  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.10 */
    { 1, 60 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusServerTemplateUpdatePeriod" },
  { radiusServerTemplateRowStatus, 11, 4, /* localId=39  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.11 */
    { 1, 6 }, IDB_RowStatus, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusServerTemplateRowStatus" },
  { radiusServerMaxDeadNum, 12, 4, /* localId=40  1.3.6.1.4.1.10293.1.1.2.4.20.3.1.1.12 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), radiusServerTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:radiusServerMaxDeadNum" },
  { 0 }
};

LOCAL idbObjDesc_t globalAuthManageTemplateEntry_objDesc[] = {
  { globalAuthManageTemplateIndex, 1, 4, /* localId=41  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.1 */
    { 0, 0 }, IDB_Unsigned32, IDB_NOT_ACCESSIBLE,
    (IDB_VALID|IDB_INDEX), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:globalAuthManageTemplateIndex" },
  { protocol, 2, 4, /* localId=42  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.2 */
    { 1, 2 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:protocol" },
  { template, 3, 4, /* localId=43  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.3 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:template" },
  { description, 4, 255, /* localId=44  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.4 */
    { 0, 0 }, IDB_OCTET_STRING, (IDB_READ|IDB_WRITE),
    (IDB_VALID|IDB_ISDISPLAY), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:description" },
  { globalAuthManageTemplateRowStatus, 5, 4, /* localId=45  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.5 */
    { 1, 6 }, IDB_RowStatus, (IDB_READ|IDB_WRITE),
    (IDB_VALID), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:globalAuthManageTemplateRowStatus" },
  { secondGlobalAuthProtocol, 6, 4, /* localId=46  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.6 */
    { 2, 4 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:secondGlobalAuthProtocol" },
  { webAuthTemplate, 7, 4, /* localId=47  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.7 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:webAuthTemplate" },
  { dot1xAuthTemplate, 8, 4, /* localId=48  1.3.6.1.4.1.10293.1.1.2.4.20.4.1.1.8 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), globalAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:dot1xAuthTemplate" },
  { 0 }
};

LOCAL idbObjDesc_t webAuthManageTemplateEntry_objDesc[] = {
  { webAuthManageTemplateIndex, 1, 4, /* localId=49  1.3.6.1.4.1.10293.1.1.2.4.20.5.1.1.1 */
    { 0, 0 }, IDB_Unsigned32, IDB_NOT_ACCESSIBLE,
    (IDB_VALID|IDB_INDEX), webAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:webAuthManageTemplateIndex" },
  { webServerKey, 2, 255, /* localId=50  1.3.6.1.4.1.10293.1.1.2.4.20.5.1.1.2 */
    { 0, 0 }, IDB_OCTET_STRING, (IDB_READ|IDB_WRITE),
    (IDB_VALID|IDB_ISDISPLAY), webAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:webServerKey" },
  { webPort, 3, 4, /* localId=51  1.3.6.1.4.1.10293.1.1.2.4.20.5.1.1.3 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), webAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:webPort" },
  { webAuthManageTemplateDescription, 4, 255, /* localId=52  1.3.6.1.4.1.10293.1.1.2.4.20.5.1.1.4 */
    { 0, 0 }, IDB_OCTET_STRING, (IDB_READ|IDB_WRITE),
    (IDB_VALID|IDB_ISDISPLAY), webAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:webAuthManageTemplateDescription" },
  { webAuthManageTemplateRowStatus, 5, 4, /* localId=53  1.3.6.1.4.1.10293.1.1.2.4.20.5.1.1.5 */
    { 1, 6 }, IDB_RowStatus, (IDB_READ|IDB_WRITE),
    (IDB_VALID), webAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:webAuthManageTemplateRowStatus" },
  { 0 }
};

LOCAL idbObjDesc_t dot1xAuthManageTemplateEntry_objDesc[] = {
  { dot1xAuthManageTemplateIndex, 1, 4, /* localId=54  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.1 */
    { 0, 0 }, IDB_Unsigned32, IDB_NOT_ACCESSIBLE,
    (IDB_VALID|IDB_INDEX), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:dot1xAuthManageTemplateIndex" },
  { dot1xAuthManageTemplateProtcol, 2, 4, /* localId=55  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.2 */
    { 1, 3 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:dot1xAuthManageTemplateProtcol" },
  { retransmitAuthPeriord, 3, 4, /* localId=56  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.3 */
    { 1, 60 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:retransmitAuthPeriord" },
  { retransmitAuthTimes, 4, 4, /* localId=57  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.4 */
    { 1, 15 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:retransmitAuthTimes" },
  { retransmitReauthPeriord, 5, 4, /* localId=58  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.5 */
    { 1, 60 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:retransmitReauthPeriord" },
  { retransmitReauthTimes, 6, 4, /* localId=59  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.6 */
    { 1, 15 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:retransmitReauthTimes" },
  { reauthType, 7, 4, /* localId=60  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.7 */
    { 1, 2 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:reauthType" },
  { dot1xAuthManageTemplateDescription, 8, 255, /* localId=61  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.8 */
    { 0, 0 }, IDB_OCTET_STRING, (IDB_READ|IDB_WRITE),
    (IDB_VALID|IDB_ISDISPLAY), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:dot1xAuthManageTemplateDescription" },
  { dot1xAuthManageTemplateRowStatus, 9, 4, /* localId=62  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.9 */
    { 1, 6 }, IDB_RowStatus, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:dot1xAuthManageTemplateRowStatus" },
  { dot1xAuthManageTemplateReAuthEn, 10, 4, /* localId=63  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.10 */
    { 1, 2 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:dot1xAuthManageTemplateReAuthEn" },
  { dot1xAuthManageTemplateReAuthPeriod, 11, 4, /* localId=64  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.11 */
    { 0, 300 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:dot1xAuthManageTemplateReAuthPeriod" },
  { failedHoldTime, 12, 4, /* localId=65  1.3.6.1.4.1.10293.1.1.2.4.20.6.1.1.12 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), dot1xAuthManageTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:failedHoldTime" },
  { 0 }
};

LOCAL idbObjDesc_t userManageConfigureTemplateEntry_objDesc[] = {
  { userManageConfigureTemplateIndex, 1, 4, /* localId=66  1.3.6.1.4.1.10293.1.1.2.4.20.7.1.1.1 */
    { 0, 0 }, IDB_Unsigned32, IDB_NOT_ACCESSIBLE,
    (IDB_VALID|IDB_INDEX), userManageConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:userManageConfigureTemplateIndex" },
  { userManageConfigureTemplateProxy, 2, 4, /* localId=67  1.3.6.1.4.1.10293.1.1.2.4.20.7.1.1.2 */
    { 1, 2 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), userManageConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:userManageConfigureTemplateProxy" },
  { notifyMssage, 3, 4, /* localId=68  1.3.6.1.4.1.10293.1.1.2.4.20.7.1.1.3 */
    { 1, 2 }, IDB_INTEGER, (IDB_READ|IDB_WRITE),
    (IDB_VALID), userManageConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:notifyMssage" },
  { notifyMssageTabel, 4, 4, /* localId=69  1.3.6.1.4.1.10293.1.1.2.4.20.7.1.1.4 */
    { 0, 0 }, IDB_Unsigned32, (IDB_READ|IDB_WRITE),
    (IDB_VALID), userManageConfigureTemplateEntryTableHandler,
    (char *)0, "authConfigureMib:notifyMssageTabel" },

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -