Home
last modified time | relevance | path

Searched refs:rtnh_len (Results 1 – 6 of 6) sorted by relevance

/linux/include/net/
A Drtnh.h11 rtnh->rtnh_len >= sizeof(*rtnh) && in rtnh_ok()
12 rtnh->rtnh_len <= remaining; in rtnh_ok()
18 int totlen = NLA_ALIGN(rtnh->rtnh_len); in rtnh_next()
31 return rtnh->rtnh_len - NLA_ALIGN(sizeof(*rtnh)); in rtnh_attrlen()
/linux/include/uapi/linux/
A Drtnetlink.h401 unsigned short rtnh_len; member
424 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
425 ((int)(rtnh)->rtnh_len) <= (len))
426 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
/linux/net/decnet/
A Ddn_table.c255 if (attrlen < 0 || (nhlen -= nhp->rtnh_len) < 0) in dn_fib_nh_match()
367 nhp->rtnh_len = skb_tail_pointer(skb) - (unsigned char *)nhp; in dn_fib_dump_info()
/linux/net/ipv4/
A Dipmr_base.c249 nhp->rtnh_len = sizeof(*nhp); in mr_fill_mroute()
A Dfib_semantics.c1723 rtnh->rtnh_len = nlmsg_get_pos(skb) - (void *)rtnh; in fib_add_nexthop()
/linux/net/mpls/
A Daf_mpls.c2075 rtnh->rtnh_len = nlmsg_get_pos(skb) - (void *)rtnh; in mpls_dump_route()

Completed in 17 milliseconds