Searched refs:NLMSG_LENGTH (Results 1 – 10 of 10) sorted by relevance
85 NLMSG_LENGTH(sizeof(struct ifinfomsg)),86 NLMSG_LENGTH(sizeof(struct ifaddrmsg)),87 NLMSG_LENGTH(sizeof(struct rtmsg)),88 NLMSG_LENGTH(sizeof(struct ndmsg)),89 NLMSG_LENGTH(sizeof(struct rtmsg)),90 NLMSG_LENGTH(sizeof(struct tcmsg)),91 NLMSG_LENGTH(sizeof(struct tcmsg)),92 NLMSG_LENGTH(sizeof(struct tcmsg))304 if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct rtgenmsg))) in rtnetlink_rcv_msg()
65 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro66 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))67 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))145 int size = NLMSG_LENGTH(len); in __nlmsg_put()
361 if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm))) in tc_dump_tfilter()
1031 if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm))) in tc_dump_tclass()
522 nlmsglen - NLMSG_LENGTH(0)); in ipq_rcv_skb()
526 nlmsglen - NLMSG_LENGTH(0)); in ipq_rcv_skb()
575 if (NLMSG_LENGTH(sizeof(struct tcpdiagreq)) > skb->len) in tcpdiag_rcv_msg()
301 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()514 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()
751 nl->nlmsg_len = NLMSG_LENGTH(sizeof(*rtm)); in fib_convert_rtentry()
1673 if (arg->cb->nlh->nlmsg_len >= NLMSG_LENGTH(sizeof(struct rtmsg))) { in rt6_dump_route()