• Home
  • Raw
  • Download

Lines Matching refs:rtnl_route

65 	struct rtnl_route *r = (struct rtnl_route *) c;  in route_constructor()
79 struct rtnl_route *r = (struct rtnl_route *) c; in route_free_data()
97 struct rtnl_route *dst = (struct rtnl_route *) _dst; in route_clone()
98 struct rtnl_route *src = (struct rtnl_route *) _src; in route_clone()
135 struct rtnl_route *r = (struct rtnl_route *) a; in route_dump_line()
213 struct rtnl_route *r = (struct rtnl_route *) a; in route_dump_details()
287 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_stats()
305 struct rtnl_route *route = (struct rtnl_route *) obj; in route_keygen()
351 struct rtnl_route *route = (struct rtnl_route *)obj; in route_id_attrs_get()
365 struct rtnl_route *a = (struct rtnl_route *) _a; in route_compare()
366 struct rtnl_route *b = (struct rtnl_route *) _b; in route_compare()
470 struct rtnl_route *new_route = (struct rtnl_route *) new_obj; in route_update()
471 struct rtnl_route *old_route = (struct rtnl_route *) old_obj; in route_update()
608 struct rtnl_route *rtnl_route_alloc(void) in rtnl_route_alloc()
610 return (struct rtnl_route *) nl_object_alloc(&route_obj_ops); in rtnl_route_alloc()
613 void rtnl_route_get(struct rtnl_route *route) in rtnl_route_get()
618 void rtnl_route_put(struct rtnl_route *route) in rtnl_route_put()
630 void rtnl_route_set_table(struct rtnl_route *route, uint32_t table) in rtnl_route_set_table()
636 uint32_t rtnl_route_get_table(struct rtnl_route *route) in rtnl_route_get_table()
641 void rtnl_route_set_scope(struct rtnl_route *route, uint8_t scope) in rtnl_route_set_scope()
647 uint8_t rtnl_route_get_scope(struct rtnl_route *route) in rtnl_route_get_scope()
652 void rtnl_route_set_tos(struct rtnl_route *route, uint8_t tos) in rtnl_route_set_tos()
658 uint8_t rtnl_route_get_tos(struct rtnl_route *route) in rtnl_route_get_tos()
663 void rtnl_route_set_protocol(struct rtnl_route *route, uint8_t protocol) in rtnl_route_set_protocol()
669 uint8_t rtnl_route_get_protocol(struct rtnl_route *route) in rtnl_route_get_protocol()
674 void rtnl_route_set_priority(struct rtnl_route *route, uint32_t prio) in rtnl_route_set_priority()
680 uint32_t rtnl_route_get_priority(struct rtnl_route *route) in rtnl_route_get_priority()
685 int rtnl_route_set_family(struct rtnl_route *route, uint8_t family) in rtnl_route_set_family()
700 uint8_t rtnl_route_get_family(struct rtnl_route *route) in rtnl_route_get_family()
705 int rtnl_route_set_dst(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_dst()
724 struct nl_addr *rtnl_route_get_dst(struct rtnl_route *route) in rtnl_route_get_dst()
729 int rtnl_route_set_src(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_src()
750 struct nl_addr *rtnl_route_get_src(struct rtnl_route *route) in rtnl_route_get_src()
755 int rtnl_route_set_type(struct rtnl_route *route, uint8_t type) in rtnl_route_set_type()
766 uint8_t rtnl_route_get_type(struct rtnl_route *route) in rtnl_route_get_type()
771 void rtnl_route_set_flags(struct rtnl_route *route, uint32_t flags) in rtnl_route_set_flags()
778 void rtnl_route_unset_flags(struct rtnl_route *route, uint32_t flags) in rtnl_route_unset_flags()
785 uint32_t rtnl_route_get_flags(struct rtnl_route *route) in rtnl_route_get_flags()
790 int rtnl_route_set_metric(struct rtnl_route *route, int metric, uint32_t value) in rtnl_route_set_metric()
807 int rtnl_route_unset_metric(struct rtnl_route *route, int metric) in rtnl_route_unset_metric()
820 int rtnl_route_get_metric(struct rtnl_route *route, int metric, uint32_t *value) in rtnl_route_get_metric()
834 int rtnl_route_set_pref_src(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_pref_src()
852 struct nl_addr *rtnl_route_get_pref_src(struct rtnl_route *route) in rtnl_route_get_pref_src()
857 void rtnl_route_set_iif(struct rtnl_route *route, int ifindex) in rtnl_route_set_iif()
863 int rtnl_route_get_iif(struct rtnl_route *route) in rtnl_route_get_iif()
868 void rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_add_nexthop()
875 void rtnl_route_remove_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) in rtnl_route_remove_nexthop()
883 struct nl_list_head *rtnl_route_get_nexthops(struct rtnl_route *route) in rtnl_route_get_nexthops()
891 int rtnl_route_get_nnexthops(struct rtnl_route *route) in rtnl_route_get_nnexthops()
899 void rtnl_route_foreach_nexthop(struct rtnl_route *r, in rtnl_route_foreach_nexthop()
912 struct rtnl_nexthop *rtnl_route_nexthop_n(struct rtnl_route *r, int n) in rtnl_route_nexthop_n()
927 void rtnl_route_set_ttl_propagate(struct rtnl_route *route, uint8_t ttl_prop) in rtnl_route_set_ttl_propagate()
933 int rtnl_route_get_ttl_propagate(struct rtnl_route *route) in rtnl_route_get_ttl_propagate()
962 int rtnl_route_guess_scope(struct rtnl_route *route) in rtnl_route_guess_scope()
1026 static int parse_multipath(struct rtnl_route *route, struct nlattr *attr) in parse_multipath()
1113 int rtnl_route_parse(struct nlmsghdr *nlh, struct rtnl_route **result) in rtnl_route_parse()
1115 _nl_auto_rtnl_route struct rtnl_route *route = NULL; in rtnl_route_parse()
1330 int rtnl_route_build_msg(struct nl_msg *msg, struct rtnl_route *route) in rtnl_route_build_msg()
1472 .oo_size = sizeof(struct rtnl_route),