Home
last modified time | relevance | path

Searched refs:rtnexthop (Results 1 – 3 of 3) sorted by relevance

/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()
20 return (struct rtnexthop *) ((char *) rtnh + totlen); 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()
Dip_fib.h38 struct rtnexthop *fc_mp;
/include/linux/
Drtnetlink.h305 struct rtnexthop { struct
322 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
324 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
325 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))