Go to the documentation of this file. 1 #ifndef __NET_NEXTHOP_H
2 #define __NET_NEXTHOP_H
4 #include <linux/rtnetlink.h>
7 static inline int rtnh_ok(
const struct rtnexthop *rtnh,
int remaining)
9 return remaining >=
sizeof(*rtnh) &&
20 return (
struct rtnexthop *) ((
char *) rtnh + totlen);
28 static inline int rtnh_attrlen(
const struct rtnexthop *rtnh)