Searched defs:rtnh (Results  1 – 7 of 7) sorted by relevance
| /Linux-v5.4/include/net/ | 
| D | rtnh.h | 8 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-v5.4/net/ipv4/ | 
| D | fib_semantics.c | 637 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining,  in fib_count_nexthops()658 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,  in fib_get_nhs()
 797 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,  in fib_get_nhs()
 836 	struct rtnexthop *rtnh;  in fib_nh_match()  local
 1660 	struct rtnexthop *rtnh;  in fib_add_nexthop()  local
 
 | 
| D | ipmr.c | 2647 	struct rtnexthop *rtnh = nla_data(nla);  in ipmr_nla_get_ttls()  local
 | 
| /Linux-v5.4/net/core/ | 
| D | lwtunnel.c | 180 	struct rtnexthop *rtnh = (struct rtnexthop *)attr;  in lwtunnel_valid_encap_type_attr()  local
 | 
| /Linux-v5.4/net/mpls/ | 
| D | af_mpls.c | 834 static u8 mpls_count_nexthops(struct rtnexthop *rtnh, int len,  in mpls_count_nexthops()887 	struct rtnexthop *rtnh = cfg->rc_mp;  in mpls_nh_build_multi()  local
 2016 		struct rtnexthop *rtnh;  in mpls_dump_route()  local
 
 | 
| /Linux-v5.4/include/uapi/linux/ | 
| D | rtnetlink.h | 392 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \  argument394 #define RTNH_NEXT(rtnh)	((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))  argument
 397 #define RTNH_DATA(rtnh)   ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))  argument
 
 | 
| /Linux-v5.4/net/ipv6/ | 
| D | route.c | 5030 	struct rtnexthop *rtnh;  in ip6_route_multipath_add()  local5196 	struct rtnexthop *rtnh;  in ip6_route_multipath_del()  local
 
 |