/bionic/libc/bionic/ |
D | bionic_netlink.cpp | 65 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 …]
|
D | net_if.cpp | 86 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()
|
D | ifaddrs.cpp | 162 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()
|
/bionic/libc/kernel/uapi/linux/ |
D | virtio_gpu.h | 78 struct virtio_gpu_ctrl_hdr hdr; member 92 struct virtio_gpu_ctrl_hdr hdr; member 97 struct virtio_gpu_ctrl_hdr hdr; member 104 struct virtio_gpu_ctrl_hdr hdr; member 110 struct virtio_gpu_ctrl_hdr hdr; member 116 struct virtio_gpu_ctrl_hdr hdr; member 128 struct virtio_gpu_ctrl_hdr hdr; member 133 struct virtio_gpu_ctrl_hdr hdr; member 139 struct virtio_gpu_ctrl_hdr hdr; member 151 struct virtio_gpu_ctrl_hdr hdr; member [all …]
|
D | vboxguest.h | 25 struct vbg_ioctl_hdr hdr; member 46 struct vbg_ioctl_hdr hdr; member 58 struct vbg_ioctl_hdr hdr; member 67 struct vbg_ioctl_hdr hdr; member 83 struct vbg_ioctl_hdr hdr; member 92 struct vbg_ioctl_hdr hdr; member 106 struct vbg_ioctl_hdr hdr; member 116 struct vbg_ioctl_hdr hdr; member 129 struct vbg_ioctl_hdr hdr; member 143 struct vbg_ioctl_hdr hdr; member [all …]
|
D | virtio_snd.h | 61 struct virtio_snd_hdr hdr; member 65 struct virtio_snd_hdr hdr; member 74 struct virtio_snd_hdr hdr; member 81 struct virtio_snd_info hdr; member 89 struct virtio_snd_jack_hdr hdr; member 94 struct virtio_snd_hdr hdr; member 148 struct virtio_snd_info hdr; member 158 struct virtio_snd_pcm_hdr hdr; member 175 struct virtio_snd_hdr hdr; member 219 struct virtio_snd_info hdr; member [all …]
|
D | auto_fs.h | 28 struct autofs_packet_hdr hdr; member 34 struct autofs_packet_hdr hdr; member 73 struct autofs_packet_hdr hdr; member 79 struct autofs_packet_hdr hdr; member 85 struct autofs_packet_hdr hdr; member 101 struct autofs_packet_hdr hdr; member
|
D | fanotify.h | 91 struct fanotify_event_info_header hdr; member 96 struct fanotify_event_info_header hdr; member 100 struct fanotify_event_info_header hdr; member 116 struct fanotify_response_info_header hdr; member
|
D | target_core_user.h | 43 struct tcmu_cmd_entry_hdr hdr; member 64 struct tcmu_cmd_entry_hdr hdr; member
|
D | atm_tcp.h | 22 struct atmtcp_hdr hdr; member
|
D | hyperv.h | 67 struct hv_fcopy_hdr hdr; member 75 struct hv_fcopy_hdr hdr; member
|
D | virtio_net.h | 103 struct virtio_net_hdr_v1 hdr; member 128 struct virtio_net_hdr hdr; member
|
D | dns_resolver.h | 48 struct dns_payload_header hdr; member
|
D | if_fddi.h | 76 } hdr; member
|
/bionic/tests/ |
D | netinet_ip_icmp_test.cpp | 22 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/ |
D | scsi_netlink.h | 38 …I_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic … argument
|
D | cxlflash_ioctl.h | 23 struct dk_cxlflash_hdr hdr; member 34 struct dk_cxlflash_hdr hdr; member 39 struct dk_cxlflash_hdr hdr; member 47 struct dk_cxlflash_hdr hdr; member 55 struct dk_cxlflash_hdr hdr; member 61 struct dk_cxlflash_hdr hdr; member 69 struct dk_cxlflash_hdr hdr; member 78 struct dk_cxlflash_hdr hdr; member 89 struct dk_cxlflash_hdr hdr; member 101 struct dk_cxlflash_hdr hdr; member [all …]
|
/bionic/libc/kernel/uapi/drm/ |
D | qaic_accel.h | 49 struct qaic_manage_trans_hdr hdr; member 53 struct qaic_manage_trans_hdr hdr; member 60 struct qaic_manage_trans_hdr hdr; member 67 struct qaic_manage_trans_hdr hdr; member 73 struct qaic_manage_trans_hdr hdr; member 78 struct qaic_manage_trans_hdr hdr; member 81 struct qaic_manage_trans_hdr hdr; member 130 struct qaic_attach_slice_hdr hdr; member 147 struct qaic_execute_hdr hdr; member 162 struct qaic_perf_stats_hdr hdr; member
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | setup.h | 93 struct tag_header hdr; member 112 …er_present(tag,member) ((unsigned long) (& ((struct tag *) 0L)->member + 1) <= (tag)->hdr.size * 4) 113 #define tag_next(t) ((struct tag *) ((__u32 *) (t) + (t)->hdr.size)) 115 #define for_each_tag(t,base) for(t = base; t->hdr.size; t = tag_next(t))
|
/bionic/libc/kernel/uapi/linux/android/ |
D | binder.h | 43 struct binder_object_header hdr; member 52 struct binder_object_header hdr; member 61 struct binder_object_header hdr; member 72 struct binder_object_header hdr; member
|
/bionic/libc/kernel/uapi/rdma/ |
D | ib_user_verbs.h | 763 struct ib_uverbs_flow_spec_hdr hdr; member 783 struct ib_uverbs_flow_spec_hdr hdr; member 799 struct ib_uverbs_flow_spec_hdr hdr; member 820 struct ib_uverbs_flow_spec_hdr hdr; member 832 struct ib_uverbs_flow_spec_hdr hdr; member 844 struct ib_uverbs_flow_spec_hdr hdr; member 854 struct ib_uverbs_flow_spec_hdr hdr; member 866 struct ib_uverbs_flow_spec_hdr hdr; member 881 struct ib_uverbs_flow_spec_hdr hdr; member 897 struct ib_uverbs_flow_spec_hdr hdr; member [all …]
|
D | ib_user_mad.h | 51 struct ib_user_mad_hdr hdr; member
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | setup_data.h | 45 } __attribute__((packed)) hdr; member
|
/bionic/libc/kernel/uapi/asm-riscv/asm/ |
D | ptrace.h | 68 struct __riscv_ctx_hdr hdr; member
|
/bionic/libc/kernel/uapi/sound/ |
D | asoc.h | 245 struct snd_soc_tplg_ctl_hdr hdr; member 256 struct snd_soc_tplg_ctl_hdr hdr; member 268 struct snd_soc_tplg_ctl_hdr hdr; member
|