Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 23 of 23) sorted by relevance

/bionic/libc/bionic/
Dbionic_netlink.cpp68 nlmsghdr hdr; in SendRequest() member
72 request.hdr.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; in SendRequest()
73 request.hdr.nlmsg_type = type; in SendRequest()
74 request.hdr.nlmsg_len = sizeof(request); in SendRequest()
83 nlmsghdr* hdr = reinterpret_cast<nlmsghdr*>(data_); in ReadResponses() local
84 for (; NLMSG_OK(hdr, static_cast<size_t>(bytes_read)); hdr = NLMSG_NEXT(hdr, bytes_read)) { in ReadResponses()
85 if (hdr->nlmsg_type == NLMSG_DONE) return true; in ReadResponses()
86 if (hdr->nlmsg_type == NLMSG_ERROR) return false; in ReadResponses()
87 callback(context, hdr); in ReadResponses()
Difaddrs.cpp160 static void __getifaddrs_callback(void* context, nlmsghdr* hdr) { in __getifaddrs_callback() argument
163 if (hdr->nlmsg_type == RTM_NEWLINK) { in __getifaddrs_callback()
164 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr)); in __getifaddrs_callback()
173 size_t rta_len = IFLA_PAYLOAD(hdr); in __getifaddrs_callback()
193 } else if (hdr->nlmsg_type == RTM_NEWADDR) { in __getifaddrs_callback()
194 ifaddrmsg* msg = reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(hdr)); in __getifaddrs_callback()
215 size_t rta_len = IFA_PAYLOAD(hdr); in __getifaddrs_callback()
Dnet_if.cpp96 static void __if_nameindex_callback(void* context, nlmsghdr* hdr) { in __if_nameindex_callback() argument
98 if (hdr->nlmsg_type == RTM_NEWLINK) { in __if_nameindex_callback()
99 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr)); in __if_nameindex_callback()
107 size_t rta_len = IFLA_PAYLOAD(hdr); in __if_nameindex_callback()
/bionic/libc/kernel/uapi/linux/
Dvirtio_gpu.h84 struct virtio_gpu_ctrl_hdr hdr; member
101 struct virtio_gpu_ctrl_hdr hdr; member
107 struct virtio_gpu_ctrl_hdr hdr; member
116 struct virtio_gpu_ctrl_hdr hdr; member
124 struct virtio_gpu_ctrl_hdr hdr; member
131 struct virtio_gpu_ctrl_hdr hdr; member
146 struct virtio_gpu_ctrl_hdr hdr; member
152 struct virtio_gpu_ctrl_hdr hdr; member
160 struct virtio_gpu_ctrl_hdr hdr; member
175 struct virtio_gpu_ctrl_hdr hdr; member
[all …]
Dauto_fs4.h54 struct autofs_packet_hdr hdr; member
61 struct autofs_packet_hdr hdr; member
69 struct autofs_packet_hdr hdr; member
89 struct autofs_packet_hdr hdr; member
Dauto_fs.h42 struct autofs_packet_hdr hdr; member
50 struct autofs_packet_hdr hdr; member
Datm_tcp.h37 struct atmtcp_hdr hdr; member
Dif_fddi.h90 } hdr; member
Dtarget_core_user.h55 struct tcmu_cmd_entry_hdr hdr; member
Dhyperv.h94 struct hv_fcopy_hdr hdr; member
104 struct hv_fcopy_hdr hdr; member
Dvirtio_net.h99 struct virtio_net_hdr hdr; member
Dtcp.h46 struct tcphdr hdr; member
Dif_packet.h226 union tpacket_bd_header_u hdr; member
/bionic/libc/kernel/uapi/scsi/
Dscsi_netlink.h57 …I_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic … argument
Dcxlflash_ioctl.h34 struct dk_cxlflash_hdr hdr; member
47 struct dk_cxlflash_hdr hdr; member
54 struct dk_cxlflash_hdr hdr; member
64 struct dk_cxlflash_hdr hdr; member
74 struct dk_cxlflash_hdr hdr; member
81 struct dk_cxlflash_hdr hdr; member
91 struct dk_cxlflash_hdr hdr; member
102 struct dk_cxlflash_hdr hdr; member
116 struct dk_cxlflash_hdr hdr; member
131 struct dk_cxlflash_hdr hdr; member
/bionic/libc/kernel/uapi/linux/wimax/
Di2400m.h294 struct i2400m_tlv_hdr hdr; member
299 struct i2400m_tlv_hdr hdr; member
307 struct i2400m_tlv_hdr hdr; member
320 struct i2400m_tlv_hdr hdr; member
332 struct i2400m_tlv_hdr hdr; member
342 struct i2400m_tlv_hdr hdr; member
347 struct i2400m_tlv_hdr hdr; member
360 struct i2400m_tlv_hdr hdr; member
365 struct i2400m_tlv_hdr hdr; member
370 struct i2400m_tlv_hdr hdr; member
[all …]
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsetup.h126 struct tag_header hdr; member
150 …er_present(tag,member) ((unsigned long) (& ((struct tag *) 0L)->member + 1) <= (tag)->hdr.size * 4)
151 #define tag_next(t) ((struct tag *) ((__u32 *) (t) + (t)->hdr.size))
154 #define for_each_tag(t,base) for(t = base; t->hdr.size; t = tag_next(t))
/bionic/libc/kernel/uapi/sound/
Dasoc.h199 struct snd_soc_tplg_ctl_hdr hdr; member
212 struct snd_soc_tplg_ctl_hdr hdr; member
227 struct snd_soc_tplg_ctl_hdr hdr; member
/bionic/libc/kernel/uapi/rdma/
Dib_user_mad.h74 struct ib_user_mad_hdr hdr; member
Dib_user_verbs.h835 struct ib_uverbs_flow_spec_hdr hdr; member
855 struct ib_uverbs_flow_spec_hdr hdr; member
875 struct ib_uverbs_flow_spec_hdr hdr; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dbootparam.h169 struct setup_header hdr; member
/bionic/libc/dns/net/
Dgethnamaddr.c125 HEADER hdr; member
242 hp = &answer->hdr; in getanswer()
Dgetaddrinfo.c206 HEADER hdr; member
1344 hp = &answer->hdr; in getanswer()