nlmsg_len 42 include/linux/netlink.h __u32 nlmsg_len; /* Length of message including header */ nlmsg_len 83 include/linux/netlink.h #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ nlmsg_len 84 include/linux/netlink.h (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) nlmsg_len 86 include/linux/netlink.h (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ nlmsg_len 87 include/linux/netlink.h (nlh)->nlmsg_len <= (len)) nlmsg_len 88 include/linux/netlink.h #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) nlmsg_len 241 include/linux/netlink.h nlh->nlmsg_len = size; nlmsg_len 220 include/net/genetlink.h return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); nlmsg_len 303 include/net/netlink.h return nlh->nlmsg_len - NLMSG_HDRLEN; nlmsg_len 325 include/net/netlink.h return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen); nlmsg_len 336 include/net/netlink.h nlh->nlmsg_len >= sizeof(struct nlmsghdr) && nlmsg_len 337 include/net/netlink.h nlh->nlmsg_len <= remaining); nlmsg_len 350 include/net/netlink.h int totlen = NLMSG_ALIGN(nlh->nlmsg_len); nlmsg_len 371 include/net/netlink.h if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) nlmsg_len 403 include/net/netlink.h if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) nlmsg_len 455 include/net/netlink.h nlh->nlmsg_len = nlmsg_msg_size(payload); nlmsg_len 534 include/net/netlink.h nlh->nlmsg_len = skb_tail_pointer(skb) - (unsigned char *)nlh; nlmsg_len 19 include/net/rtnetlink.h if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg)) nlmsg_len 704 kernel/audit.c if (nlh->nlmsg_len < sizeof(struct audit_status)) nlmsg_len 765 kernel/audit.c size = nlmsg_len(nlh); nlmsg_len 774 kernel/audit.c if (nlmsg_len(nlh) < sizeof(struct audit_rule)) nlmsg_len 788 kernel/audit.c uid, seq, data, nlmsg_len(nlh), nlmsg_len 793 kernel/audit.c if (nlmsg_len(nlh) < sizeof(struct audit_rule_data)) nlmsg_len 807 kernel/audit.c uid, seq, data, nlmsg_len(nlh), nlmsg_len 822 kernel/audit.c size_t msglen = nlmsg_len(nlh); nlmsg_len 897 kernel/audit.c if (nlh->nlmsg_len < sizeof(struct audit_tty_status)) nlmsg_len 935 kernel/audit.c if (nlh->nlmsg_len < sizeof(*nlh) || skb->len < nlh->nlmsg_len) nlmsg_len 937 kernel/audit.c rlen = NLMSG_ALIGN(nlh->nlmsg_len); nlmsg_len 1457 kernel/audit.c nlh->nlmsg_len = ab->skb->len - NLMSG_SPACE(0); nlmsg_len 148 net/bridge/br_netlink.c if (nlmsg_len(nlh) < sizeof(*ifm)) nlmsg_len 224 net/core/fib_rules.c if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) nlmsg_len 363 net/core/fib_rules.c if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) nlmsg_len 1529 net/core/neighbour.c if (nlmsg_len(nlh) < sizeof(*ndm)) nlmsg_len 1275 net/core/rtnetlink.c if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct rtgenmsg))) nlmsg_len 1306 net/core/rtnetlink.c if (nlh->nlmsg_len < min_len) nlmsg_len 1309 net/core/rtnetlink.c if (nlh->nlmsg_len > min_len) { nlmsg_len 1310 net/core/rtnetlink.c int attrlen = nlh->nlmsg_len - NLMSG_ALIGN(min_len); nlmsg_len 565 net/decnet/dn_fib.c req.nlh.nlmsg_len = sizeof(req); nlmsg_len 1501 net/decnet/dn_route.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 347 net/decnet/dn_table.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 52 net/decnet/netfilter/dn_rtmsg.c nlh->nlmsg_len = skb->tail - old_tail; nlmsg_len 107 net/decnet/netfilter/dn_rtmsg.c if (nlh->nlmsg_len < sizeof(*nlh) || skb->len < nlh->nlmsg_len) nlmsg_len 635 net/ipv4/fib_frontend.c if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && nlmsg_len 859 net/ipv4/fib_frontend.c if (skb->len < NLMSG_SPACE(0) || skb->len < nlh->nlmsg_len || nlmsg_len 860 net/ipv4/fib_frontend.c nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*frn))) nlmsg_len 173 net/ipv4/inet_diag.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 231 net/ipv4/inet_diag.c nlh->nlmsg_len = skb_tail_pointer(skb) - previous_tail; nlmsg_len 496 net/ipv4/inet_diag.c if (cb->nlh->nlmsg_len > 4 + NLMSG_SPACE(sizeof(*r))) { nlmsg_len 533 net/ipv4/inet_diag.c if (cb->nlh->nlmsg_len > 4 + NLMSG_SPACE(sizeof(*r))) { nlmsg_len 608 net/ipv4/inet_diag.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 644 net/ipv4/inet_diag.c if (cb->nlh->nlmsg_len > 4 + NLMSG_SPACE(sizeof(*r))) { nlmsg_len 853 net/ipv4/inet_diag.c nlmsg_len(nlh) < hdrlen) nlmsg_len 338 net/ipv4/ipmr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); nlmsg_len 339 net/ipv4/ipmr.c skb_trim(skb, nlh->nlmsg_len); nlmsg_len 560 net/ipv4/ipmr.c nlh->nlmsg_len = (skb_tail_pointer(skb) - nlmsg_len 564 net/ipv4/ipmr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); nlmsg_len 565 net/ipv4/ipmr.c skb_trim(skb, nlh->nlmsg_len); nlmsg_len 222 net/ipv4/netfilter/ip_queue.c nlh->nlmsg_len = skb->tail - old_tail; nlmsg_len 419 net/ipv4/netfilter/ip_queue.c nlmsglen = nlh->nlmsg_len; nlmsg_len 520 net/ipv6/ip6mr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); nlmsg_len 521 net/ipv6/ip6mr.c skb_trim(skb, nlh->nlmsg_len); nlmsg_len 723 net/ipv6/ip6mr.c nlh->nlmsg_len = skb_tail_pointer(skb) - (u8 *)nlh; nlmsg_len 726 net/ipv6/ip6mr.c nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); nlmsg_len 727 net/ipv6/ip6mr.c skb_trim(skb, nlh->nlmsg_len); nlmsg_len 224 net/ipv6/netfilter/ip6_queue.c nlh->nlmsg_len = skb->tail - old_tail; nlmsg_len 422 net/ipv6/netfilter/ip6_queue.c nlmsglen = nlh->nlmsg_len; nlmsg_len 2255 net/ipv6/route.c if (nlmsg_len(arg->cb->nlh) >= sizeof(struct rtmsg)) { nlmsg_len 407 net/netfilter/nf_conntrack_netlink.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 521 net/netfilter/nf_conntrack_netlink.c nlh->nlmsg_len = skb->tail - b; nlmsg_len 1393 net/netfilter/nf_conntrack_netlink.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 1441 net/netfilter/nf_conntrack_netlink.c nlh->nlmsg_len = skb->tail - b; nlmsg_len 131 net/netfilter/nfnetlink.c if (nlh->nlmsg_len < NLMSG_SPACE(sizeof(struct nfgenmsg))) nlmsg_len 157 net/netfilter/nfnetlink.c if (likely(nlh->nlmsg_len >= min_len)) { nlmsg_len 159 net/netfilter/nfnetlink.c int attrlen = nlh->nlmsg_len - NLMSG_ALIGN(min_len); nlmsg_len 513 net/netfilter/nfnetlink_log.c nlh->nlmsg_len = inst->skb->tail - old_tail; nlmsg_len 377 net/netfilter/nfnetlink_queue.c nlh->nlmsg_len = skb->tail - old_tail; nlmsg_len 1641 net/netlink/af_netlink.c payload += nlmsg_len(nlh); nlmsg_len 1662 net/netlink/af_netlink.c memcpy(&errmsg->msg, nlh, err ? nlh->nlmsg_len : sizeof(*nlh)); nlmsg_len 1679 net/netlink/af_netlink.c if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len) nlmsg_len 1699 net/netlink/af_netlink.c msglen = NLMSG_ALIGN(nlh->nlmsg_len); nlmsg_len 432 net/netlink/genetlink.c if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) nlmsg_len 651 net/sched/act_api.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 798 net/sched/act_api.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 913 net/sched/act_api.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 1088 net/sched/act_api.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 351 net/sched/cls_api.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 411 net/sched/cls_api.c if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm))) nlmsg_len 1187 net/sched/sch_api.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 1474 net/sched/sch_api.c nlh->nlmsg_len = skb_tail_pointer(skb) - b; nlmsg_len 1576 net/sched/sch_api.c if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm))) nlmsg_len 64 net/tipc/netlink.c rep_nlh->nlmsg_len = rep_buf->len; nlmsg_len 83 security/selinux/netlink.c nlh->nlmsg_len = skb->tail - tmp;