Lines Matching refs:nl
412 const struct nlmsghdr *nl = buf; in sysdecode_netlink() local
424 if (nl->nlmsg_len < sizeof(struct nlmsghdr) || nl->nlmsg_len > remaining) in sysdecode_netlink()
440 if (nl->nlmsg_len < sizeof(struct nlmsghdr) || in sysdecode_netlink()
441 nl->nlmsg_len > remaining) { in sysdecode_netlink()
447 sysdecode_nlm_flag(fp, nl->nlmsg_flags); in sysdecode_netlink()
449 fprintf(fp, ",seq=%u,pid=%u", nl->nlmsg_seq, nl->nlmsg_pid); in sysdecode_netlink()
451 fprintf(fp, ",len=%u,type=", nl->nlmsg_len); in sysdecode_netlink()
454 switch (nl->nlmsg_type) { in sysdecode_netlink()
475 ((const char *)nl + sizeof(struct nlmsghdr)); in sysdecode_netlink()
488 size_t nla_len = nl->nlmsg_len - cur_len; in sysdecode_netlink()
492 (const void *)((const char *)nl + cur_len); in sysdecode_netlink()
530 fprintf(fp, "%u", nl->nlmsg_type); in sysdecode_netlink()
534 const char *family = lookup_value(family_table, nl->nlmsg_type); in sysdecode_netlink()
542 ((const char *)nl + in sysdecode_netlink()
544 const size_t nlm_len = nl->nlmsg_len - in sysdecode_netlink()
555 size_t aligned_len = NLMSG_ALIGN(nl->nlmsg_len); in sysdecode_netlink()
561 nl = (const struct nlmsghdr *)(const void *)((const char *)nl + aligned_len); in sysdecode_netlink()