Home
last modified time | relevance | path

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

/linux/include/net/
H A Drtnh.h8 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) in rtnh_ok()
15 static inline struct rtnexthop *rtnh_next(const struct rtnexthop *rtnh, in rtnh_next()
24 static inline struct nlattr *rtnh_attrs(const struct rtnexthop *rtnh) in rtnh_attrs()
29 static inline int rtnh_attrlen(const struct rtnexthop *rtnh) in rtnh_attrlen()
/linux/net/ipv4/
H A Dfib_semantics.c681 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining, in fib_count_nexthops()
715 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
866 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
905 struct rtnexthop *rtnh; in fib_nh_match() local
1654 struct rtnexthop *rtnh; in fib_add_nexthop() local
/linux/net/core/
H A Dlwtunnel.c185 struct rtnexthop *rtnh = (struct rtnexthop *)attr; in lwtunnel_valid_encap_type_attr() local
/linux/net/mpls/
H A Daf_mpls.c836 mpls_count_nexthops(struct rtnexthop * rtnh,int len,u8 cfg_via_alen,u8 * max_via_alen,u8 * max_labels) mpls_count_nexthops() argument
889 struct rtnexthop *rtnh = cfg->rc_mp; mpls_nh_build_multi() local
2023 struct rtnexthop *rtnh; mpls_dump_route() local
[all...]
/linux/include/uapi/linux/
H A Drtnetlink.h443 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
445 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
448 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument
/linux/tools/include/uapi/linux/
H A Drtnetlink.h443 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
445 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
448 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument