Lines Matching refs:header
40 auto header = reinterpret_cast<nlmsghdr*>(mData.data()); in NetlinkMessage() local
41 header->nlmsg_len = mData.size(); in NetlinkMessage()
42 header->nlmsg_flags = NLM_F_REQUEST; in NetlinkMessage()
43 header->nlmsg_type = type; in NetlinkMessage()
44 header->nlmsg_seq = sequence; in NetlinkMessage()
45 header->nlmsg_pid = getpid(); in NetlinkMessage()
66 auto header = reinterpret_cast<const nlmsghdr*>(mData.data()); in type() local
67 return header->nlmsg_type; in type()
71 auto header = reinterpret_cast<const nlmsghdr*>(mData.data()); in sequence() local
72 return header->nlmsg_seq; in sequence()
85 auto header = reinterpret_cast<const nlattr*>(attribute); in findAttribute() local
86 if (header->nla_len == 0) { in findAttribute()
92 if (header->nla_type == attributeId) { in findAttribute()
94 *size = header->nla_len; in findAttribute()
97 attribute += header->nla_len; in findAttribute()