Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dfib_semantics.c654 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining, in fib_count_nexthops()
688 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
839 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
878 struct rtnexthop *rtnh; in fib_nh_match() local
1721 struct rtnexthop *rtnh; in fib_add_nexthop() local
H A Dipmr.c2626 struct rtnexthop *rtnh = nla_data(nla); in ipmr_nla_get_ttls() local
/OK3568_Linux_fs/kernel/net/core/
H A Dlwtunnel.c182 struct rtnexthop *rtnh = (struct rtnexthop *)attr; in lwtunnel_valid_encap_type_attr() local
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Drtnetlink.h384 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
386 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
389 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Drtnetlink.h384 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
386 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
389 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument
/OK3568_Linux_fs/kernel/net/mpls/
H A Daf_mpls.c833 static u8 mpls_count_nexthops(struct rtnexthop *rtnh, int len, in mpls_count_nexthops()
886 struct rtnexthop *rtnh = cfg->rc_mp; in mpls_nh_build_multi() local
2040 struct rtnexthop *rtnh; in mpls_dump_route() local
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drtnetlink.h409 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
411 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
414 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument
/OK3568_Linux_fs/kernel/net/ipv6/
H A Droute.c5100 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
5291 struct rtnexthop *rtnh; in ip6_route_multipath_del() local