rtnexthop 312 include/linux/rtnetlink.h #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ rtnexthop 314 include/linux/rtnetlink.h #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) rtnexthop 315 include/linux/rtnetlink.h #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len)) rtnexthop 38 include/net/ip_fib.h struct rtnexthop *fc_mp; rtnexthop 14 include/net/nexthop.h static inline struct rtnexthop *rtnh_next(const struct rtnexthop *rtnh, rtnexthop 20 include/net/nexthop.h return (struct rtnexthop *) ((char *) rtnh + totlen); rtnexthop 161 net/decnet/dn_fib.c struct rtnexthop *nhp = RTA_DATA(rta); rtnexthop 164 net/decnet/dn_fib.c while(nhlen >= (int)sizeof(struct rtnexthop)) { rtnexthop 176 net/decnet/dn_fib.c struct rtnexthop *nhp = RTA_DATA(rta); rtnexthop 180 net/decnet/dn_fib.c int attrlen = nhlen - sizeof(struct rtnexthop); rtnexthop 228 net/decnet/dn_table.c struct rtnexthop *nhp; rtnexthop 248 net/decnet/dn_table.c int attrlen = nhlen - sizeof(struct rtnexthop); rtnexthop 281 net/decnet/dn_table.c size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); rtnexthop 326 net/decnet/dn_table.c struct rtnexthop *nhp; rtnexthop 335 net/decnet/dn_table.c nhp = (struct rtnexthop *)skb_put(skb, RTA_ALIGN(sizeof(*nhp))); rtnexthop 506 net/ipv4/fib_frontend.c [RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) }, rtnexthop 292 net/ipv4/fib_semantics.c size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); rtnexthop 424 net/ipv4/fib_semantics.c struct rtnexthop *rtnh; rtnexthop 996 net/ipv4/fib_semantics.c struct rtnexthop *rtnh; rtnexthop 1597 net/ipv4/ipmr.c struct rtnexthop *nhp; rtnexthop 1611 net/ipv4/ipmr.c nhp = (struct rtnexthop*)skb_put(skb, RTA_ALIGN(sizeof(*nhp))); rtnexthop 1579 net/ipv6/ip6mr.c struct rtnexthop *nhp; rtnexthop 1593 net/ipv6/ip6mr.c nhp = (struct rtnexthop *)skb_put(skb, RTA_ALIGN(sizeof(*nhp)));