Home | History | Annotate | Download | only in route

Lines Matching refs:rtnl_route

66 	struct rtnl_route *r = (struct rtnl_route *) c;
79 struct rtnl_route *r = (struct rtnl_route *) c;
97 struct rtnl_route *dst = (struct rtnl_route *) _dst;
98 struct rtnl_route *src = (struct rtnl_route *) _src;
127 struct rtnl_route *r = (struct rtnl_route *) a;
207 struct rtnl_route *r = (struct rtnl_route *) a;
277 struct rtnl_route *route = (struct rtnl_route *) obj;
294 struct rtnl_route *route = (struct rtnl_route *) obj;
360 struct rtnl_route *a = (struct rtnl_route *) _a;
361 struct rtnl_route *b = (struct rtnl_route *) _b;
490 struct rtnl_route *rtnl_route_alloc(void)
492 return (struct rtnl_route *) nl_object_alloc(&route_obj_ops);
495 void rtnl_route_get(struct rtnl_route *route)
500 void rtnl_route_put(struct rtnl_route *route)
512 void rtnl_route_set_table(struct rtnl_route *route, uint32_t table)
518 uint32_t rtnl_route_get_table(struct rtnl_route *route)
523 void rtnl_route_set_scope(struct rtnl_route *route, uint8_t scope)
529 uint8_t rtnl_route_get_scope(struct rtnl_route *route)
534 void rtnl_route_set_tos(struct rtnl_route *route, uint8_t tos)
540 uint8_t rtnl_route_get_tos(struct rtnl_route *route)
545 void rtnl_route_set_protocol(struct rtnl_route *route, uint8_t protocol)
551 uint8_t rtnl_route_get_protocol(struct rtnl_route *route)
556 void rtnl_route_set_priority(struct rtnl_route *route, uint32_t prio)
562 uint32_t rtnl_route_get_priority(struct rtnl_route *route)
567 int rtnl_route_set_family(struct rtnl_route *route, uint8_t family)
578 uint8_t rtnl_route_get_family(struct rtnl_route *route)
583 int rtnl_route_set_dst(struct rtnl_route *route, struct nl_addr *addr)
602 struct nl_addr *rtnl_route_get_dst(struct rtnl_route *route)
607 int rtnl_route_set_src(struct rtnl_route *route, struct nl_addr *addr)
628 struct nl_addr *rtnl_route_get_src(struct rtnl_route *route)
633 int rtnl_route_set_type(struct rtnl_route *route, uint8_t type)
644 uint8_t rtnl_route_get_type(struct rtnl_route *route)
649 void rtnl_route_set_flags(struct rtnl_route *route, uint32_t flags)
656 void rtnl_route_unset_flags(struct rtnl_route *route, uint32_t flags)
663 uint32_t rtnl_route_get_flags(struct rtnl_route *route)
668 int rtnl_route_set_metric(struct rtnl_route *route, int metric, uint32_t value)
685 int rtnl_route_unset_metric(struct rtnl_route *route, int metric)
698 int rtnl_route_get_metric(struct rtnl_route *route, int metric, uint32_t *value)
712 int rtnl_route_set_pref_src(struct rtnl_route *route, struct nl_addr *addr)
730 struct nl_addr *rtnl_route_get_pref_src(struct rtnl_route *route)
735 void rtnl_route_set_iif(struct rtnl_route *route, int ifindex)
741 int rtnl_route_get_iif(struct rtnl_route *route)
746 void rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh)
753 void rtnl_route_remove_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh)
759 struct nl_list_head *rtnl_route_get_nexthops(struct rtnl_route *route)
764 int rtnl_route_get_nnexthops(struct rtnl_route *route)
769 void rtnl_route_foreach_nexthop(struct rtnl_route *r,
782 struct rtnl_nexthop *rtnl_route_nexthop_n(struct rtnl_route *r, int n)
817 int rtnl_route_guess_scope(struct rtnl_route *route)
850 static int parse_multipath(struct rtnl_route *route, struct nlattr *attr)
911 int rtnl_route_parse(struct nlmsghdr *nlh, struct rtnl_route **result)
914 struct rtnl_route *route;
1079 int rtnl_route_build_msg(struct nl_msg *msg, struct rtnl_route *route)
1180 .oo_size = sizeof(struct rtnl_route),