Lines Matching defs:route
277 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_stats() local
294 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_env() local
495 void rtnl_route_get(struct rtnl_route *route) in rtnl_route_get()
500 void rtnl_route_put(struct rtnl_route *route) in rtnl_route_put()
512 void rtnl_route_set_table(struct rtnl_route *route, uint32_t table) in rtnl_route_set_table()
518 uint32_t rtnl_route_get_table(struct rtnl_route *route) in rtnl_route_get_table()
523 void rtnl_route_set_scope(struct rtnl_route *route, uint8_t scope) in rtnl_route_set_scope()
529 uint8_t rtnl_route_get_scope(struct rtnl_route *route) in rtnl_route_get_scope()
534 void rtnl_route_set_tos(struct rtnl_route *route, uint8_t tos) in rtnl_route_set_tos()
540 uint8_t rtnl_route_get_tos(struct rtnl_route *route) in rtnl_route_get_tos()
545 void rtnl_route_set_protocol(struct rtnl_route *route, uint8_t protocol) in rtnl_route_set_protocol()
551 uint8_t rtnl_route_get_protocol(struct rtnl_route *route) in rtnl_route_get_protocol()
556 void rtnl_route_set_priority(struct rtnl_route *route, uint32_t prio) in rtnl_route_set_priority()
562 uint32_t rtnl_route_get_priority(struct rtnl_route *route) in rtnl_route_get_priority()
567 int rtnl_route_set_family(struct rtnl_route *route, uint8_t family) in rtnl_route_set_family()
578 uint8_t rtnl_route_get_family(struct rtnl_route *route) in rtnl_route_get_family()
583 int rtnl_route_set_dst(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_dst()
602 struct nl_addr *rtnl_route_get_dst(struct rtnl_route *route) in rtnl_route_get_dst()
607 int rtnl_route_set_src(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_src()
628 struct nl_addr *rtnl_route_get_src(struct rtnl_route *route) in rtnl_route_get_src()
633 int rtnl_route_set_type(struct rtnl_route *route, uint8_t type) in rtnl_route_set_type()
644 uint8_t rtnl_route_get_type(struct rtnl_route *route) in rtnl_route_get_type()
649 void rtnl_route_set_flags(struct rtnl_route *route, uint32_t flags) in rtnl_route_set_flags()
656 void rtnl_route_unset_flags(struct rtnl_route *route, uint32_t flags) in rtnl_route_unset_flags()
663 uint32_t rtnl_route_get_flags(struct rtnl_route *route) in rtnl_route_get_flags()
668 int rtnl_route_set_metric(struct rtnl_route *route, int metric, uint32_t value) in rtnl_route_set_metric()
685 int rtnl_route_unset_metric(struct rtnl_route *route, int metric) in rtnl_route_unset_metric()
698 int rtnl_route_get_metric(struct rtnl_route *route, int metric, uint32_t *value) in rtnl_route_get_metric()
712 int rtnl_route_set_pref_src(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_pref_src()
730 struct nl_addr *rtnl_route_get_pref_src(struct rtnl_route *route) in rtnl_route_get_pref_src()
735 void rtnl_route_set_iif(struct rtnl_route *route, int ifindex) in rtnl_route_set_iif()
741 int rtnl_route_get_iif(struct rtnl_route *route) in rtnl_route_get_iif()
746 void rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_add_nexthop()
753 void rtnl_route_remove_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_remove_nexthop()
759 struct nl_list_head *rtnl_route_get_nexthops(struct rtnl_route *route) in rtnl_route_get_nexthops()
764 int rtnl_route_get_nnexthops(struct rtnl_route *route) in rtnl_route_get_nnexthops()
817 int rtnl_route_guess_scope(struct rtnl_route *route) in rtnl_route_guess_scope()
850 static int parse_multipath(struct rtnl_route *route, struct nlattr *attr) in parse_multipath()
914 struct rtnl_route *route; in rtnl_route_parse() local
1079 int rtnl_route_build_msg(struct nl_msg *msg, struct rtnl_route *route) in rtnl_route_build_msg()