Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

struct nla_policy link_policy[IFLA_MAX+1] [static]

Initial value:

 {
      [IFLA_IFNAME]     = { .type = NLA_STRING,
                      .maxlen = IFNAMSIZ },
      [IFLA_MTU]  = { .type = NLA_U32 },
      [IFLA_TXQLEN]     = { .type = NLA_U32 },
      [IFLA_LINK] = { .type = NLA_U32 },
      [IFLA_WEIGHT]     = { .type = NLA_U32 },
      [IFLA_MASTER]     = { .type = NLA_U32 },
      [IFLA_OPERSTATE]= { .type = NLA_U8 },
      [IFLA_LINKMODE] = { .type = NLA_U8 },
      [IFLA_LINKINFO]   = { .type = NLA_NESTED },
      [IFLA_QDISC]      = { .type = NLA_STRING,
                      .maxlen = IFQDISCSIZ },
      [IFLA_STATS]      = { .minlen = sizeof(struct rtnl_link_stats) },
      [IFLA_MAP]  = { .minlen = sizeof(struct rtnl_link_ifmap) },
}

Definition at line 233 of file link.c.


Generated by  Doxygen 1.6.0   Back to index