IP Helper--MIB_IFTABLE Structure

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 64316601,邮件 643166601@qq.com

 

MIB_IFTABLE Structure

The MIB_IFTABLE structure contains a table of interface entries.
这个MIB_IFTABLE结构体包含接口表的入口。

Syntax
typedef struct _MIB_IFTABLE { 
DWORD dwNumEntries;  //当前网络接口的总数
MIB_IFROW table[ANY_SIZE]; //指向一个包含MIB_IFROW类型的指针
} MIB_IFTABLE,  *PMIB_IFTABLE;
Members
dwNumEntries
The number of interface entries in the array.
接口入口数组的数量。
table
An array of MIB_IFROW structures containing interface entries.
MIB_IFROW结构体内容接口入口的数组。
Remarks
The GetIfTable function enumerates the interface entries on a local system and returns this information in a MIB_IFTABLE structure.
这个GetIfTable函数枚举在本地系统上接口入口和返回一个MIB_IFTABLE接口信息。
The MIB_IFTABLE structure may contain padding for alignment between the dwNumEntries member and the first MIB_IFROW array entry in the table member.
这个MIB_IFTABLE结构体可以包含对准填充表成员中的dwNumEntries成员和第一个MIB_IFROW数组入口。
Padding for alignment may also be present between the MIB_IFROW array entries in the table member.
对准填充也可以在表成员的MIB_IFROW入口之间。
Any access to a MIB_IFROW array entry should assume padding may exist.
任何访问MIB_IFROW数组入口应该假设填充可能存在。
On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed and the MIB_IFTABLE structure is defined in the Ifmib.h header file not in the Iprtrmib.h header file.
在Microsoft Windows软件开发工具包(SDK)发布Windows Vista和之后,头文件的组织已经改变的MIB_IFTABLE结构是在Ifmib.h头文件中定义而不是在Iprtrmib.h头文件中。
Note that the Ifmib.h header file is automatically included in Ipmib.h header file.
注意这个Ifmib.h头文件自动包含在Ipmib.h头文件中。
This file is automatically included in the Iprtrmib.h header file which is automatically included in the Iphlpapi.h header file.
这个文件是自动地包含在Iprtrmib.h头文件中,它是自动地包含在Iphlpapi.h头文件中。
The Ifmib.h header file should never be used directly.
这个Ifmib.h头文件不应该被直接使用。

Requirements
Client Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation 4.0 SP4 and later, Windows Me, or Windows 98.
Server Requires Windows Server 2008, Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0 SP4 and later.
Header Declared in Ifmib.h on Windows Server 2008 and Windows Vista; include Iphlpapi.h.

Declared in Iprtrmib.h on Windows Server 2003, Windows XP, and Windows 2000; include Iphlpapi.h.
 

See Also
GetIfTable
GetIfTable2
GetIfTable2Ex
MIB_IF_ROW2
MIB_IF_TABLE2
MIB_IFNUMBER
MIB_IFROW

 

Send comments about this topic to Microsoft

Build date: 3/27/2008

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 这是一个错误提示,意思是polkit代理程序助手-1:pam_authenticate失败:身份验证失败。可能是由于身份验证信息不正确或者权限不足导致的。需要检查身份验证信息和权限设置,以解决这个问题。 ### 回答2: “polkit-agent-helper-1: pam_authenticate failed: authentication failure” 意味着发生了认证错误。使用自动包含在 Linux 操作系统中的 PolicyKit 工具时,它会尝试对用户进行身份验证以授权执行权限。当 PolicyKit 尝试对用户进行身份验证时,如果身份验证失败,则会出现此消息。 这种类型的错误通常表示,要执行的操作需要超出当前用户的权限级别,或者当前用户无法通过身份验证请求进行身份验证。这可能会发生在系统管理员试图执行某些受保护的任务时,但是他们的权限不足,或者他们并没有进行身份验证。 要解决这个错误,需要检查当前用户的权限级别和身份验证设置。如果当前用户不具备执行所需操作的权限,您需要在系统管理员帐户下运行该操作。如果当前用户的身份验证已过期或不正确,则需要重新输入正确的凭据以进行身份验证。 解决此错误的另一个常见方法是重启系统,并重新尝试执行所需操作。在某些情况下,由于系统错误或组件故障,PolicyKit 可能无法正常工作。在这种情况下,在尝试执行所需操作之前,您通常需要重新启动系统以重置组件。 总之,要解决“polkit-agent-helper-1: pam_authenticate failed: authentication failure”错误,需要检查当前用户的权限级别和身份验证设置,并确保重新启动系统。如果这些步骤无法解决问题,则需要深入研究系统组件故障的根本原因。 ### 回答3: polkit-agent-helper-1: pam_authenticate failed: authentication failure 是在 Linux 系统中出现的错误信息。这个错误是提示用户不能够进行某种操作,因为没有通过权限验证。如果您碰到这个错误信息,表示您缺少了授权信息,操作系统无法验证您的身份,从而导致了操作失败。 这个错误信息通常出现在您尝试安装或卸载软件包、修改系统配置文件、更改系统设置等需要管理员权限的操作时。例如,当您尝试在终端中使用 sudo 命令执行任务时,可能会出现该错误。 引起 authentication failure 的原因可能有很多种,比如没有正确的凭据、未正确配置 PAM 等等。解决此问题的最好方法是使用 root 帐户执行操作,确保您具有足够的权限。 如果您没有 root 帐户,可以联系系统管理员或其他有权访问您的设备的人。他们可以帮助您解决此问题。如果您是系统管理员,请检查您的 PAM 配置,并确保授权信息正确。还可以使用命令 sudo visudo 确认授权列表是否正确。 总之,polkit-agent-helper-1: pam_authenticate failed: authentication failure 错误是出现在 Linux 系统中需要管理员权限的操作中,通常意味着您没有足够的权限来执行该操作,最好的解决方法是使用 root 帐户或联系系统管理员。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值