Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_mib.h
| Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
| * MIB tags at the net.link.generic.system level | * MIB tags at the net.link.generic.system level | ||||
| */ | */ | ||||
| #define IFMIB_IFCOUNT 1 /* number of interfaces configured */ | #define IFMIB_IFCOUNT 1 /* number of interfaces configured */ | ||||
| /* | /* | ||||
| * MIB tags as the net.link level | * MIB tags as the net.link level | ||||
| * All of the other values are IFT_* names defined in if_types.h. | * All of the other values are IFT_* names defined in if_types.h. | ||||
| */ | */ | ||||
| #define NETLINK_GENERIC 0 /* functions not specific to a type of iface */ | #define NETLINK_GENERIC_MIB 0 /* functions not specific to a type of iface */ | ||||
| /* | /* | ||||
| * The reason why the IFDATA_LINKSPECIFIC stuff is not under the | * The reason why the IFDATA_LINKSPECIFIC stuff is not under the | ||||
| * net.link.<iftype> branches is twofold: | * net.link.<iftype> branches is twofold: | ||||
| * 1) It's easier to code this way, and doesn't require duplication. | * 1) It's easier to code this way, and doesn't require duplication. | ||||
| * 2) The fourth level under net.link.<iftype> is <pf>; that is to say, | * 2) The fourth level under net.link.<iftype> is <pf>; that is to say, | ||||
| * the net.link.<iftype> tree instruments the adaptation layers between | * the net.link.<iftype> tree instruments the adaptation layers between | ||||
| * <iftype> and a particular protocol family (e.g., net.link.ether.inet | * <iftype> and a particular protocol family (e.g., net.link.ether.inet | ||||
| ▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines | |||||