Route Object
[Routing]


Modules

 Nexthop

Variables

struct nl_object_ops route_obj_ops

Detailed Description

Attributes
 Name                                           Default
 -------------------------------------------------------------
 routing table                                  RT_TABLE_MAIN
 scope                                          RT_SCOPE_NOWHERE
 tos                                            0
 realms                                         0
 protocol                                       RTPROT_STATIC
 prio                                           0
 family                                         AF_UNSPEC
 type                                           RTN_UNICAST
 oif                                            RTNL_LINK_NOT_FOUND
 iif                                            NULL
 mpalgo                                         IP_MP_ALG_NONE

Variable Documentation

struct nl_object_ops route_obj_ops

Initial value:

 {
        .oo_name                = "route/route",
        .oo_size                = sizeof(struct rtnl_route),
        .oo_constructor         = route_constructor,
        .oo_free_data           = route_free_data,
        .oo_clone               = route_clone,
        .oo_dump[NL_DUMP_BRIEF] = route_dump_brief,
        .oo_dump[NL_DUMP_FULL]  = route_dump_full,
        .oo_dump[NL_DUMP_STATS] = route_dump_stats,
        .oo_dump[NL_DUMP_XML]   = route_dump_xml,
        .oo_dump[NL_DUMP_ENV]   = route_dump_env,
        .oo_compare             = route_compare,
        .oo_attrs2str           = route_attrs2str,
        .oo_id_attrs            = (ROUTE_ATTR_FAMILY | ROUTE_ATTR_TOS |
                                   ROUTE_ATTR_TABLE | ROUTE_ATTR_DST),
}

Definition at line 892 of file route_obj.c.


Generated on Thu May 28 01:01:27 2009 for libnl by  doxygen 1.5.7.1