Home | History | Annotate | Download | only in strace

Lines Matching refs:nlmsghdr

64  * Fetch a struct nlmsghdr from the given address.
67 fetch_nlmsghdr(struct tcb *const tcp, struct nlmsghdr *const nlmsghdr,
70 if (len < sizeof(struct nlmsghdr)) {
75 if (umove_or_printaddr(tcp, addr, nlmsghdr))
441 const struct nlmsghdr *const nlmsghdr)
445 tprintf("{len=%u, type=", nlmsghdr->nlmsg_len);
447 decode_nlmsg_type(tcp, nlmsghdr->nlmsg_type, family);
450 decode_nlmsg_flags(nlmsghdr->nlmsg_flags,
451 nlmsghdr->nlmsg_type, family);
453 tprintf(", seq=%u, pid=%u}", nlmsghdr->nlmsg_seq,
454 nlmsghdr->nlmsg_pid);
491 const struct nlmsghdr *const nlmsghdr,
561 const struct nlmsghdr *const nlmsghdr,
565 if (nlmsghdr->nlmsg_type == NLMSG_ERROR) {
567 nlmsghdr->nlmsg_flags & NLM_F_CAPPED);
580 if ((nlmsghdr->nlmsg_type >= NLMSG_MIN_TYPE
581 || nlmsghdr->nlmsg_type == NLMSG_DONE)
584 && netlink_decoders[family](tcp, nlmsghdr, addr, len)) {
588 if (nlmsghdr->nlmsg_type == NLMSG_DONE && len == sizeof(int)) {
603 const struct nlmsghdr *const nlmsghdr,
608 nlmsghdr->nlmsg_len > len ? len : nlmsghdr->nlmsg_len;
613 nlmsghdr);
617 decode_payload(tcp, fd, family, nlmsghdr, addr + NLMSG_HDRLEN,
636 struct nlmsghdr nlmsghdr;
640 for (elt = 0; fetch_nlmsghdr(tcp, &nlmsghdr, addr, len); elt++) {
646 unsigned int nlmsg_len = NLMSG_ALIGN(nlmsghdr.nlmsg_len);
650 if (nlmsghdr.nlmsg_len >= NLMSG_HDRLEN) {
663 &nlmsghdr, addr, len);