interface_ioctl.h

来自「开发snmp的开发包有两个开放的SNMP开发库」· C头文件 代码 · 共 53 行

H
53
字号
/* * ioctl interface data access header * * $Id: interface_ioctl.h 13309 2005-10-29 03:30:43Z rstory $ */#ifndef NETSNMP_ACCESS_INTERFACE_IOCTL_H#define NETSNMP_ACCESS_INTERFACE_IOCTL_H/* * need ipaddress functions to get ipversions of an interface*/config_require(ip-mib/data_access/ipaddress)#ifdef __cplusplusextern          "C" {#endif/**---------------------------------------------------------------------*//**/intnetsnmp_access_interface_ioctl_physaddr_get(int fd,                                            netsnmp_interface_entry *ifentry);intnetsnmp_access_interface_ioctl_flags_get(int fd,                                         netsnmp_interface_entry *ifentry);intnetsnmp_access_interface_ioctl_flags_set(int fd,                                         netsnmp_interface_entry *ifentry,                                         unsigned int flags,                                         int and_complement);intnetsnmp_access_interface_ioctl_mtu_get(int fd,                                       netsnmp_interface_entry *ifentry);oidnetsnmp_access_interface_ioctl_ifindex_get(int fd, const char *name);intnetsnmp_access_interface_ioctl_has_ipv4(int sd, const char *if_name,                                        int if_index, u_int *flags);/**---------------------------------------------------------------------*/# ifdef __cplusplus}#endif#endif /* NETSNMP_ACCESS_INTERFACE_IOCTL_H */

⌨️ 快捷键说明

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