+ struct iff_flag {
+ unsigned int flag;
+ const char *name;
+ };
+
+ static const struct iff_flag flags[] = {
+ { IFF_UP, "UP", },
+ { IFF_BROADCAST, "BROADCAST", },
+ { IFF_DEBUG, "DEBUG", },
+ { IFF_LOOPBACK, "LOOPBACK", },
+ { IFF_POINTOPOINT, "POINTOPOINT", },
+ { IFF_NOTRAILERS, "NOTRAILERS", },
+ { IFF_RUNNING, "RUNNING", },
+ { IFF_NOARP, "NOARP", },
+ { IFF_PROMISC, "PROMISC", },
+ { IFF_ALLMULTI, "ALLMULTI", },
+ { IFF_MASTER, "MASTER", },
+ { IFF_SLAVE, "SLAVE", },
+ { IFF_MULTICAST, "MULTICAST", },
+ { IFF_PORTSEL, "PORTSEL", },
+ { IFF_AUTOMEDIA, "AUTOMEDIA", },
+ { IFF_DYNAMIC, "DYNAMIC", },
+ };
+