|
libnl 1.1.4
|
Modules | |
| Nexthop | |
Variables | |
| struct nl_object_ops | route_obj_ops |
Allocation/Freeing | |
| struct rtnl_route * | rtnl_route_alloc (void) |
| void | rtnl_route_get (struct rtnl_route *route) |
| void | rtnl_route_put (struct rtnl_route *route) |
Attributes | |
| void | rtnl_route_set_table (struct rtnl_route *route, int table) |
| int | rtnl_route_get_table (struct rtnl_route *route) |
| void | rtnl_route_set_scope (struct rtnl_route *route, int scope) |
| int | rtnl_route_get_scope (struct rtnl_route *route) |
| void | rtnl_route_set_tos (struct rtnl_route *route, int tos) |
| int | rtnl_route_get_tos (struct rtnl_route *route) |
| void | rtnl_route_set_realms (struct rtnl_route *route, realm_t realms) |
| realm_t | rtnl_route_get_realms (struct rtnl_route *route) |
| void | rtnl_route_set_protocol (struct rtnl_route *route, int proto) |
| int | rtnl_route_get_protocol (struct rtnl_route *route) |
| void | rtnl_route_set_prio (struct rtnl_route *route, int prio) |
| int | rtnl_route_get_prio (struct rtnl_route *route) |
| void | rtnl_route_set_family (struct rtnl_route *route, int family) |
| int | rtnl_route_get_family (struct rtnl_route *route) |
| int | rtnl_route_set_dst (struct rtnl_route *route, struct nl_addr *addr) |
| struct nl_addr * | rtnl_route_get_dst (struct rtnl_route *route) |
| int | rtnl_route_get_dst_len (struct rtnl_route *route) |
| int | rtnl_route_set_src (struct rtnl_route *route, struct nl_addr *addr) |
| struct nl_addr * | rtnl_route_get_src (struct rtnl_route *route) |
| int | rtnl_route_get_src_len (struct rtnl_route *route) |
| int | rtnl_route_set_gateway (struct rtnl_route *route, struct nl_addr *addr) |
| struct nl_addr * | rtnl_route_get_gateway (struct rtnl_route *route) |
| void | rtnl_route_set_type (struct rtnl_route *route, int type) |
| int | rtnl_route_get_type (struct rtnl_route *route) |
| void | rtnl_route_set_flags (struct rtnl_route *route, unsigned int flags) |
| void | rtnl_route_unset_flags (struct rtnl_route *route, unsigned int flags) |
| unsigned int | rtnl_route_get_flags (struct rtnl_route *route) |
| int | rtnl_route_set_metric (struct rtnl_route *route, int metric, uint32_t value) |
| int | rtnl_route_unset_metric (struct rtnl_route *route, int metric) |
| unsigned int | rtnl_route_get_metric (struct rtnl_route *route, int metric) |
| int | rtnl_route_set_pref_src (struct rtnl_route *route, struct nl_addr *addr) |
| struct nl_addr * | rtnl_route_get_pref_src (struct rtnl_route *route) |
| void | rtnl_route_set_oif (struct rtnl_route *route, int ifindex) |
| int | rtnl_route_get_oif (struct rtnl_route *route) |
| void | rtnl_route_set_iif (struct rtnl_route *route, const char *name) |
| char * | rtnl_route_get_iif (struct rtnl_route *route) |
| void | rtnl_route_add_nexthop (struct rtnl_route *route, struct rtnl_nexthop *nh) |
| void | rtnl_route_remove_nexthop (struct rtnl_nexthop *nh) |
| struct nl_list_head * | rtnl_route_get_nexthops (struct rtnl_route *route) |
| void | rtnl_route_set_cacheinfo (struct rtnl_route *route, struct rtnl_rtcacheinfo *ci) |
| uint32_t | rtnl_route_get_mp_algo (struct rtnl_route *route) |
| void | rtnl_route_set_mp_algo (struct rtnl_route *route, uint32_t algo) |
| struct rtnl_route * rtnl_route_alloc | ( | void | ) |
Definition at line 538 of file route_obj.c.
| void rtnl_route_get | ( | struct rtnl_route * | route | ) |
Definition at line 543 of file route_obj.c.
| void rtnl_route_put | ( | struct rtnl_route * | route | ) |
Definition at line 548 of file route_obj.c.
| void rtnl_route_set_table | ( | struct rtnl_route * | route, |
| int | table | ||
| ) |
Definition at line 560 of file route_obj.c.
| int rtnl_route_get_table | ( | struct rtnl_route * | route | ) |
Definition at line 566 of file route_obj.c.
| void rtnl_route_set_scope | ( | struct rtnl_route * | route, |
| int | scope | ||
| ) |
Definition at line 574 of file route_obj.c.
| int rtnl_route_get_scope | ( | struct rtnl_route * | route | ) |
Definition at line 580 of file route_obj.c.
| void rtnl_route_set_tos | ( | struct rtnl_route * | route, |
| int | tos | ||
| ) |
Definition at line 588 of file route_obj.c.
| int rtnl_route_get_tos | ( | struct rtnl_route * | route | ) |
Definition at line 594 of file route_obj.c.
| void rtnl_route_set_realms | ( | struct rtnl_route * | route, |
| realm_t | realms | ||
| ) |
Definition at line 599 of file route_obj.c.
| realm_t rtnl_route_get_realms | ( | struct rtnl_route * | route | ) |
Definition at line 605 of file route_obj.c.
| void rtnl_route_set_protocol | ( | struct rtnl_route * | route, |
| int | proto | ||
| ) |
Definition at line 610 of file route_obj.c.
| int rtnl_route_get_protocol | ( | struct rtnl_route * | route | ) |
Definition at line 616 of file route_obj.c.
| void rtnl_route_set_prio | ( | struct rtnl_route * | route, |
| int | prio | ||
| ) |
Definition at line 624 of file route_obj.c.
| int rtnl_route_get_prio | ( | struct rtnl_route * | route | ) |
Definition at line 630 of file route_obj.c.
| void rtnl_route_set_family | ( | struct rtnl_route * | route, |
| int | family | ||
| ) |
Definition at line 635 of file route_obj.c.
| int rtnl_route_get_family | ( | struct rtnl_route * | route | ) |
Definition at line 641 of file route_obj.c.
| int rtnl_route_set_dst | ( | struct rtnl_route * | route, |
| struct nl_addr * | addr | ||
| ) |
Definition at line 649 of file route_obj.c.
| struct nl_addr * rtnl_route_get_dst | ( | struct rtnl_route * | route | ) |
Definition at line 668 of file route_obj.c.
| int rtnl_route_get_dst_len | ( | struct rtnl_route * | route | ) |
Definition at line 673 of file route_obj.c.
| int rtnl_route_set_src | ( | struct rtnl_route * | route, |
| struct nl_addr * | addr | ||
| ) |
Definition at line 681 of file route_obj.c.
| struct nl_addr * rtnl_route_get_src | ( | struct rtnl_route * | route | ) |
Definition at line 699 of file route_obj.c.
| int rtnl_route_get_src_len | ( | struct rtnl_route * | route | ) |
Definition at line 704 of file route_obj.c.
| int rtnl_route_set_gateway | ( | struct rtnl_route * | route, |
| struct nl_addr * | addr | ||
| ) |
Definition at line 712 of file route_obj.c.
| struct nl_addr * rtnl_route_get_gateway | ( | struct rtnl_route * | route | ) |
Definition at line 730 of file route_obj.c.
| void rtnl_route_set_type | ( | struct rtnl_route * | route, |
| int | type | ||
| ) |
Definition at line 735 of file route_obj.c.
| int rtnl_route_get_type | ( | struct rtnl_route * | route | ) |
Definition at line 741 of file route_obj.c.
| void rtnl_route_set_flags | ( | struct rtnl_route * | route, |
| unsigned int | flags | ||
| ) |
Definition at line 749 of file route_obj.c.
| void rtnl_route_unset_flags | ( | struct rtnl_route * | route, |
| unsigned int | flags | ||
| ) |
Definition at line 756 of file route_obj.c.
| unsigned int rtnl_route_get_flags | ( | struct rtnl_route * | route | ) |
Definition at line 763 of file route_obj.c.
| int rtnl_route_set_metric | ( | struct rtnl_route * | route, |
| int | metric, | ||
| uint32_t | value | ||
| ) |
Definition at line 768 of file route_obj.c.
| int rtnl_route_unset_metric | ( | struct rtnl_route * | route, |
| int | metric | ||
| ) |
Definition at line 780 of file route_obj.c.
| unsigned int rtnl_route_get_metric | ( | struct rtnl_route * | route, |
| int | metric | ||
| ) |
Definition at line 791 of file route_obj.c.
| int rtnl_route_set_pref_src | ( | struct rtnl_route * | route, |
| struct nl_addr * | addr | ||
| ) |
Definition at line 802 of file route_obj.c.
| struct nl_addr * rtnl_route_get_pref_src | ( | struct rtnl_route * | route | ) |
Definition at line 820 of file route_obj.c.
| void rtnl_route_set_oif | ( | struct rtnl_route * | route, |
| int | ifindex | ||
| ) |
Definition at line 825 of file route_obj.c.
| int rtnl_route_get_oif | ( | struct rtnl_route * | route | ) |
Definition at line 831 of file route_obj.c.
| void rtnl_route_set_iif | ( | struct rtnl_route * | route, |
| const char * | name | ||
| ) |
Definition at line 839 of file route_obj.c.
| char * rtnl_route_get_iif | ( | struct rtnl_route * | route | ) |
Definition at line 845 of file route_obj.c.
| void rtnl_route_add_nexthop | ( | struct rtnl_route * | route, |
| struct rtnl_nexthop * | nh | ||
| ) |
Definition at line 853 of file route_obj.c.
| void rtnl_route_remove_nexthop | ( | struct rtnl_nexthop * | nh | ) |
Definition at line 859 of file route_obj.c.
| struct nl_list_head * rtnl_route_get_nexthops | ( | struct rtnl_route * | route | ) |
Definition at line 864 of file route_obj.c.
| void rtnl_route_set_cacheinfo | ( | struct rtnl_route * | route, |
| struct rtnl_rtcacheinfo * | ci | ||
| ) |
Definition at line 869 of file route_obj.c.
| uint32_t rtnl_route_get_mp_algo | ( | struct rtnl_route * | route | ) |
Definition at line 876 of file route_obj.c.
| void rtnl_route_set_mp_algo | ( | struct rtnl_route * | route, |
| uint32_t | algo | ||
| ) |
Definition at line 884 of file route_obj.c.
| struct nl_object_ops route_obj_ops |
Definition at line 892 of file route_obj.c.