/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NET_RTNH_H #define __NET_RTNH_H #include <linux/rtnetlink.h> #include <net/netlink.h> static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) { … } static inline struct rtnexthop *rtnh_next(const struct rtnexthop *rtnh, int *remaining) { … } static inline struct nlattr *rtnh_attrs(const struct rtnexthop *rtnh) { … } static inline int rtnh_attrlen(const struct rtnexthop *rtnh) { … } #endif