Home
last modified time | relevance | path

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

12

/bionic/libc/kernel/uapi/linux/
Dvirtio_gpu.h74 struct virtio_gpu_ctrl_hdr hdr; member
88 struct virtio_gpu_ctrl_hdr hdr; member
93 struct virtio_gpu_ctrl_hdr hdr; member
100 struct virtio_gpu_ctrl_hdr hdr; member
106 struct virtio_gpu_ctrl_hdr hdr; member
112 struct virtio_gpu_ctrl_hdr hdr; member
124 struct virtio_gpu_ctrl_hdr hdr; member
129 struct virtio_gpu_ctrl_hdr hdr; member
135 struct virtio_gpu_ctrl_hdr hdr; member
147 struct virtio_gpu_ctrl_hdr hdr; member
[all …]
Dvboxguest.h37 struct vbg_ioctl_hdr hdr; member
58 struct vbg_ioctl_hdr hdr; member
70 struct vbg_ioctl_hdr hdr; member
79 struct vbg_ioctl_hdr hdr; member
95 struct vbg_ioctl_hdr hdr; member
104 struct vbg_ioctl_hdr hdr; member
118 struct vbg_ioctl_hdr hdr; member
128 struct vbg_ioctl_hdr hdr; member
142 struct vbg_ioctl_hdr hdr; member
153 struct vbg_ioctl_hdr hdr; member
Dauto_fs.h40 struct autofs_packet_hdr hdr; member
46 struct autofs_packet_hdr hdr; member
85 struct autofs_packet_hdr hdr; member
91 struct autofs_packet_hdr hdr; member
97 struct autofs_packet_hdr hdr; member
113 struct autofs_packet_hdr hdr; member
Dvirtio_net.h108 struct virtio_net_hdr_v1 hdr; member
133 struct virtio_net_hdr hdr; member
Dhyperv.h79 struct hv_fcopy_hdr hdr; member
87 struct hv_fcopy_hdr hdr; member
Datm_tcp.h34 struct atmtcp_hdr hdr; member
Ddns_resolver.h60 struct dns_payload_header hdr; member
Dif_fddi.h88 } hdr; member
Dtarget_core_user.h51 struct tcmu_cmd_entry_hdr hdr; member
Dfanotify.h88 struct fanotify_event_info_header hdr; member
Dif_packet.h187 union tpacket_bd_header_u hdr; member
Dtcp.h41 struct tcphdr hdr; member
/bionic/libc/bionic/
Dbionic_netlink.cpp65 nlmsghdr hdr; in SendRequest() member
69 request.hdr.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; in SendRequest()
70 request.hdr.nlmsg_type = type; in SendRequest()
71 request.hdr.nlmsg_len = sizeof(request); in SendRequest()
80 nlmsghdr* hdr = reinterpret_cast<nlmsghdr*>(data_); in ReadResponses() local
81 for (; NLMSG_OK(hdr, static_cast<size_t>(bytes_read)); hdr = NLMSG_NEXT(hdr, bytes_read)) { in ReadResponses()
82 if (hdr->nlmsg_type == NLMSG_DONE) return true; in ReadResponses()
83 if (hdr->nlmsg_type == NLMSG_ERROR) { in ReadResponses()
84 nlmsgerr* err = reinterpret_cast<nlmsgerr*>(NLMSG_DATA(hdr)); in ReadResponses()
85 errno = (hdr->nlmsg_len >= NLMSG_LENGTH(sizeof(nlmsgerr))) ? -err->error : EIO; in ReadResponses()
[all …]
Difaddrs.cpp162 static void __getifaddrs_callback(void* context, nlmsghdr* hdr) { in __getifaddrs_callback() argument
165 if (hdr->nlmsg_type == RTM_NEWLINK) { in __getifaddrs_callback()
166 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr)); in __getifaddrs_callback()
175 size_t rta_len = IFLA_PAYLOAD(hdr); in __getifaddrs_callback()
195 } else if (hdr->nlmsg_type == RTM_NEWADDR) { in __getifaddrs_callback()
196 ifaddrmsg* msg = reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(hdr)); in __getifaddrs_callback()
220 size_t rta_len = IFA_PAYLOAD(hdr); in __getifaddrs_callback()
Dnet_if.cpp86 static void __if_nameindex_callback(void* context, nlmsghdr* hdr) { in __if_nameindex_callback() argument
88 if (hdr->nlmsg_type == RTM_NEWLINK) { in __if_nameindex_callback()
89 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr)); in __if_nameindex_callback()
97 size_t rta_len = IFLA_PAYLOAD(hdr); in __if_nameindex_callback()
/bionic/tests/
Dnetinet_ip_icmp_test.cpp22 icmphdr hdr = { .type = ICMP_ECHO }; in TEST() local
23 ASSERT_EQ(ICMP_ECHO, hdr.type); in TEST()
24 ASSERT_EQ(0, hdr.code); in TEST()
25 ASSERT_EQ(0, hdr.checksum); in TEST()
26 ASSERT_EQ(0, hdr.un.echo.id); in TEST()
27 ASSERT_EQ(0, hdr.un.echo.sequence); in TEST()
28 ASSERT_EQ(0U, hdr.un.gateway); in TEST()
29 ASSERT_EQ(0, hdr.un.frag.mtu); in TEST()
/bionic/libc/kernel/uapi/scsi/
Dcxlflash_ioctl.h35 struct dk_cxlflash_hdr hdr; member
46 struct dk_cxlflash_hdr hdr; member
51 struct dk_cxlflash_hdr hdr; member
59 struct dk_cxlflash_hdr hdr; member
67 struct dk_cxlflash_hdr hdr; member
73 struct dk_cxlflash_hdr hdr; member
81 struct dk_cxlflash_hdr hdr; member
90 struct dk_cxlflash_hdr hdr; member
101 struct dk_cxlflash_hdr hdr; member
113 struct dk_cxlflash_hdr hdr; member
[all …]
Dscsi_netlink.h50 …I_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic … argument
/bionic/libc/kernel/uapi/linux/wimax/
Di2400m.h239 struct i2400m_tlv_hdr hdr; member
243 struct i2400m_tlv_hdr hdr; member
250 struct i2400m_tlv_hdr hdr; member
260 struct i2400m_tlv_hdr hdr; member
270 struct i2400m_tlv_hdr hdr; member
278 struct i2400m_tlv_hdr hdr; member
282 struct i2400m_tlv_hdr hdr; member
292 struct i2400m_tlv_hdr hdr; member
296 struct i2400m_tlv_hdr hdr; member
300 struct i2400m_tlv_hdr hdr; member
[all …]
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsetup.h105 struct tag_header hdr; member
124 …er_present(tag,member) ((unsigned long) (& ((struct tag *) 0L)->member + 1) <= (tag)->hdr.size * 4)
125 #define tag_next(t) ((struct tag *) ((__u32 *) (t) + (t)->hdr.size))
127 #define for_each_tag(t,base) for(t = base; t->hdr.size; t = tag_next(t))
/bionic/libc/kernel/uapi/rdma/
Dib_user_verbs.h759 struct ib_uverbs_flow_spec_hdr hdr; member
779 struct ib_uverbs_flow_spec_hdr hdr; member
795 struct ib_uverbs_flow_spec_hdr hdr; member
816 struct ib_uverbs_flow_spec_hdr hdr; member
828 struct ib_uverbs_flow_spec_hdr hdr; member
840 struct ib_uverbs_flow_spec_hdr hdr; member
850 struct ib_uverbs_flow_spec_hdr hdr; member
862 struct ib_uverbs_flow_spec_hdr hdr; member
877 struct ib_uverbs_flow_spec_hdr hdr; member
893 struct ib_uverbs_flow_spec_hdr hdr; member
[all …]
Dib_user_mad.h63 struct ib_user_mad_hdr hdr; member
/bionic/libc/kernel/uapi/linux/android/
Dbinder.h55 struct binder_object_header hdr; member
64 struct binder_object_header hdr; member
73 struct binder_object_header hdr; member
84 struct binder_object_header hdr; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dbootparam.h136 } __attribute__((packed)) hdr; member
178 struct setup_header hdr; member
/bionic/libc/kernel/uapi/sound/
Dasoc.h253 struct snd_soc_tplg_ctl_hdr hdr; member
264 struct snd_soc_tplg_ctl_hdr hdr; member
276 struct snd_soc_tplg_ctl_hdr hdr; member

12