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

struct nl_cache_ops rtnl_rule_ops [static]

Initial value:

 {
      .co_name          = "route/rule",
      .co_size          = sizeof(struct rtnl_rule),
      .co_hdrsize       = sizeof(struct rtmsg),
      .co_msgtypes            = {
                              { RTM_NEWRULE, "new" },
                              { RTM_DELRULE, "delete" },
                              { RTM_GETRULE, "get" },
                              { -1, NULL },
                          },
      .co_protocol            = NETLINK_ROUTE,
      .co_request_update      = rule_request_update,
      .co_msg_parser          = rule_msg_parser,
      .co_free_data           = rule_free_data,
      .co_dump[NL_DUMP_BRIEF] = rule_dump_brief,
      .co_dump[NL_DUMP_FULL]  = rule_dump_full,
      .co_dump[NL_DUMP_STATS] = rule_dump_stats,
      .co_dump[NL_DUMP_XML]   = rule_dump_xml,
      .co_filter        = rule_filter,
}

Definition at line 918 of file rule.c.


Generated by  Doxygen 1.6.0   Back to index