Symbol: rtnexthop
include/net/ip_fib.h
48
struct rtnexthop *fc_mp;
include/net/rtnh.h
15
static inline struct rtnexthop *rtnh_next(const struct rtnexthop *rtnh,
include/net/rtnh.h
21
return (struct rtnexthop *) ((char *) rtnh + totlen);
include/net/rtnh.h
24
static inline struct nlattr *rtnh_attrs(const struct rtnexthop *rtnh)
include/net/rtnh.h
29
static inline int rtnh_attrlen(const struct rtnexthop *rtnh)
include/net/rtnh.h
8
static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining)
include/uapi/linux/rtnetlink.h
443
#define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
include/uapi/linux/rtnetlink.h
445
#define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
include/uapi/linux/rtnetlink.h
446
#define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
net/core/lwtunnel.c
185
struct rtnexthop *rtnh = (struct rtnexthop *)attr;
net/ipv4/fib_frontend.c
678
[RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
net/ipv4/fib_semantics.c
1649
struct rtnexthop *rtnh;
net/ipv4/fib_semantics.c
514
size_t nhsize = nla_total_size(sizeof(struct rtnexthop));
net/ipv4/fib_semantics.c
677
static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining,
net/ipv4/fib_semantics.c
711
static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
net/ipv4/fib_semantics.c
862
static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
net/ipv4/fib_semantics.c
901
struct rtnexthop *rtnh;
net/ipv4/ipmr.c
2571
+ MAXVIFS * NLA_ALIGN(sizeof(struct rtnexthop))
net/ipv4/ipmr.c
2829
[RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
net/ipv4/ipmr.c
2844
struct rtnexthop *rtnh = nla_data(nla);
net/ipv4/ipmr_base.c
222
struct rtnexthop *nhp;
net/ipv6/ip6mr.c
2598
+ MAXMIFS * NLA_ALIGN(sizeof(struct rtnexthop))
net/ipv6/route.c
5119
[RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
net/ipv6/route.c
5138
struct rtnexthop *rtnh;
net/ipv6/route.c
5142
rtnh = (struct rtnexthop *)cfg->fc_mp;
net/ipv6/route.c
5422
struct rtnexthop *rtnh;
net/ipv6/route.c
5445
rtnh = (struct rtnexthop *)cfg->fc_mp;
net/ipv6/route.c
5596
struct rtnexthop *rtnh;
net/ipv6/route.c
5603
rtnh = (struct rtnexthop *)cfg->fc_mp;
net/ipv6/route.c
5686
+ NLA_ALIGN(sizeof(struct rtnexthop))
net/mpls/af_mpls.c
2088
struct rtnexthop *rtnh;
net/mpls/af_mpls.c
2313
nhsize += nla_total_size(sizeof(struct rtnexthop));
net/mpls/af_mpls.c
527
struct rtnexthop *rc_mp;
net/mpls/af_mpls.c
868
static u8 mpls_count_nexthops(struct rtnexthop *rtnh, int len,
net/mpls/af_mpls.c
921
struct rtnexthop *rtnh = cfg->rc_mp;
tools/include/uapi/linux/rtnetlink.h
443
#define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
tools/include/uapi/linux/rtnetlink.h
445
#define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
tools/include/uapi/linux/rtnetlink.h
446
#define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))