Home
last modified time | relevance | path

Searched defs:rtnh (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/include/net/
Dnexthop.h7 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) in rtnh_ok()
14 static inline struct rtnexthop *rtnh_next(const struct rtnexthop *rtnh, in rtnh_next()
23 static inline struct nlattr *rtnh_attrs(const struct rtnexthop *rtnh) in rtnh_attrs()
28 static inline int rtnh_attrlen(const struct rtnexthop *rtnh) in rtnh_attrlen()
/linux-4.4.14/net/ipv4/
Dfib_semantics.c457 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining) in fib_count_nexthops()
470 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
624 struct rtnexthop *rtnh; in fib_nh_match() local
1279 struct rtnexthop *rtnh; in fib_dump_info() local
/linux-4.4.14/net/mpls/
Daf_mpls.c629 static int mpls_count_nexthops(struct rtnexthop *rtnh, int len, in mpls_count_nexthops()
669 struct rtnexthop *rtnh = cfg->rc_mp; in mpls_nh_build_multi() local
1259 struct rtnexthop *rtnh; in mpls_dump_route() local
/linux-4.4.14/include/uapi/linux/
Drtnetlink.h352 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
354 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
357 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument
/linux-4.4.14/net/ipv6/
Droute.c2830 struct rt6_info *rtnh; in ip6_route_info_append() local
2862 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
2965 struct rtnexthop *rtnh; in ip6_route_multipath_del() local