NLMSG_LENGTH 81 include/linux/netlink.h #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) NLMSG_LENGTH 82 include/linux/netlink.h #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) NLMSG_LENGTH 237 include/linux/netlink.h int size = NLMSG_LENGTH(len); NLMSG_LENGTH 401 net/core/rtnetlink.c [RTM_FAM(RTM_NEWLINK)] = NLMSG_LENGTH(sizeof(struct ifinfomsg)), NLMSG_LENGTH 402 net/core/rtnetlink.c [RTM_FAM(RTM_NEWADDR)] = NLMSG_LENGTH(sizeof(struct ifaddrmsg)), NLMSG_LENGTH 403 net/core/rtnetlink.c [RTM_FAM(RTM_NEWROUTE)] = NLMSG_LENGTH(sizeof(struct rtmsg)), NLMSG_LENGTH 404 net/core/rtnetlink.c [RTM_FAM(RTM_NEWRULE)] = NLMSG_LENGTH(sizeof(struct fib_rule_hdr)), NLMSG_LENGTH 405 net/core/rtnetlink.c [RTM_FAM(RTM_NEWQDISC)] = NLMSG_LENGTH(sizeof(struct tcmsg)), NLMSG_LENGTH 406 net/core/rtnetlink.c [RTM_FAM(RTM_NEWTCLASS)] = NLMSG_LENGTH(sizeof(struct tcmsg)), NLMSG_LENGTH 407 net/core/rtnetlink.c [RTM_FAM(RTM_NEWTFILTER)] = NLMSG_LENGTH(sizeof(struct tcmsg)), NLMSG_LENGTH 408 net/core/rtnetlink.c [RTM_FAM(RTM_NEWACTION)] = NLMSG_LENGTH(sizeof(struct tcamsg)), NLMSG_LENGTH 409 net/core/rtnetlink.c [RTM_FAM(RTM_GETMULTICAST)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), NLMSG_LENGTH 410 net/core/rtnetlink.c [RTM_FAM(RTM_GETANYCAST)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), NLMSG_LENGTH 1275 net/core/rtnetlink.c if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct rtgenmsg))) NLMSG_LENGTH 860 net/ipv4/fib_frontend.c nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*frn))) NLMSG_LENGTH 338 net/ipv4/ipmr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); NLMSG_LENGTH 564 net/ipv4/ipmr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); NLMSG_LENGTH 457 net/ipv4/netfilter/ip_queue.c nlmsglen - NLMSG_LENGTH(0)); NLMSG_LENGTH 520 net/ipv6/ip6mr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); NLMSG_LENGTH 726 net/ipv6/ip6mr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); NLMSG_LENGTH 460 net/ipv6/netfilter/ip6_queue.c nlmsglen - NLMSG_LENGTH(0)); NLMSG_LENGTH 411 net/sched/cls_api.c if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm))) NLMSG_LENGTH 1576 net/sched/sch_api.c if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm)))