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
677
[RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
net/ipv4/fib_semantics.c
1653
struct rtnexthop *rtnh;
net/ipv4/fib_semantics.c
515
size_t nhsize = nla_total_size(sizeof(struct rtnexthop));
net/ipv4/fib_semantics.c
680
static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining,
net/ipv4/fib_semantics.c
714
static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
net/ipv4/fib_semantics.c
865
static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
net/ipv4/fib_semantics.c
904
struct rtnexthop *rtnh;
net/ipv4/ipmr.c
2526
+ maxvif * NLA_ALIGN(sizeof(struct rtnexthop))
net/ipv4/ipmr.c
2775
[RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
net/ipv4/ipmr.c
2790
struct rtnexthop *rtnh = nla_data(nla);
net/ipv4/ipmr_base.c
214
struct rtnexthop *nhp;
net/ipv6/ip6mr.c
2555
+ maxvif * NLA_ALIGN(sizeof(struct rtnexthop))
net/ipv6/route.c
5100
[RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
net/ipv6/route.c
5119
struct rtnexthop *rtnh;
net/ipv6/route.c
5123
rtnh = (struct rtnexthop *)cfg->fc_mp;
net/ipv6/route.c
5403
struct rtnexthop *rtnh;
net/ipv6/route.c
5426
rtnh = (struct rtnexthop *)cfg->fc_mp;
net/ipv6/route.c
5577
struct rtnexthop *rtnh;
net/ipv6/route.c
5584
rtnh = (struct rtnexthop *)cfg->fc_mp;
net/ipv6/route.c
5667
+ NLA_ALIGN(sizeof(struct rtnexthop))
net/mpls/af_mpls.c
2090
struct rtnexthop *rtnh;
net/mpls/af_mpls.c
2314
nhsize += nla_total_size(sizeof(struct rtnexthop));
net/mpls/af_mpls.c
528
struct rtnexthop *rc_mp;
net/mpls/af_mpls.c
872
static u8 mpls_count_nexthops(struct rtnexthop *rtnh, int len,
net/mpls/af_mpls.c
925
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))