/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/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/linux/ |
D | virtio_gpu.h | 87 struct virtio_gpu_ctrl_hdr hdr; member 101 struct virtio_gpu_ctrl_hdr hdr; member 106 struct virtio_gpu_ctrl_hdr hdr; member 113 struct virtio_gpu_ctrl_hdr hdr; member 119 struct virtio_gpu_ctrl_hdr hdr; member 125 struct virtio_gpu_ctrl_hdr hdr; member 137 struct virtio_gpu_ctrl_hdr hdr; member 142 struct virtio_gpu_ctrl_hdr hdr; member 148 struct virtio_gpu_ctrl_hdr hdr; member 160 struct virtio_gpu_ctrl_hdr hdr; member [all …]
|
D | vboxguest.h | 37 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 141 struct vbg_ioctl_hdr hdr; member 155 struct vbg_ioctl_hdr hdr; member [all …]
|
D | auto_fs.h | 40 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
|
D | target_core_user.h | 53 struct tcmu_cmd_entry_hdr hdr; member 74 struct tcmu_cmd_entry_hdr hdr; member
|
D | atm_tcp.h | 34 struct atmtcp_hdr hdr; member
|
D | virtio_net.h | 108 struct virtio_net_hdr_v1 hdr; member 133 struct virtio_net_hdr hdr; member
|
D | hyperv.h | 79 struct hv_fcopy_hdr hdr; member 87 struct hv_fcopy_hdr hdr; member
|
D | dns_resolver.h | 60 struct dns_payload_header hdr; member
|
D | if_fddi.h | 88 } hdr; member
|
D | fanotify.h | 91 struct fanotify_event_info_header hdr; member
|
D | if_packet.h | 188 union tpacket_bd_header_u hdr; member
|
D | tcp.h | 41 struct tcphdr hdr; member
|
/bionic/libc/kernel/uapi/scsi/ |
D | scsi_netlink.h | 50 …I_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic … argument
|
D | cxlflash_ioctl.h | 35 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 …]
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | setup.h | 105 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/linux/android/ |
D | binder.h | 55 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/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 | 63 struct ib_user_mad_hdr hdr; member
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | bootparam.h | 136 } __attribute__((packed)) hdr; member 178 struct setup_header hdr; member
|
D | kvm.h | 379 } hdr; member
|
/bionic/libc/kernel/uapi/sound/ |
D | asoc.h | 257 struct snd_soc_tplg_ctl_hdr hdr; member 268 struct snd_soc_tplg_ctl_hdr hdr; member 280 struct snd_soc_tplg_ctl_hdr hdr; member
|