/bionic/libc/bionic/ |
D | bionic_netlink.cpp | 68 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()
|
D | ifaddrs.cpp | 160 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()
|
D | net_if.cpp | 96 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/ |
D | virtio_gpu.h | 84 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 …]
|
D | auto_fs4.h | 54 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
|
D | auto_fs.h | 42 struct autofs_packet_hdr hdr; member 50 struct autofs_packet_hdr hdr; member
|
D | atm_tcp.h | 37 struct atmtcp_hdr hdr; member
|
D | if_fddi.h | 90 } hdr; member
|
D | target_core_user.h | 55 struct tcmu_cmd_entry_hdr hdr; member
|
D | hyperv.h | 94 struct hv_fcopy_hdr hdr; member 104 struct hv_fcopy_hdr hdr; member
|
D | virtio_net.h | 99 struct virtio_net_hdr hdr; member
|
D | tcp.h | 46 struct tcphdr hdr; member
|
D | if_packet.h | 226 union tpacket_bd_header_u hdr; member
|
/bionic/libc/kernel/uapi/scsi/ |
D | scsi_netlink.h | 57 …I_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic … argument
|
D | cxlflash_ioctl.h | 34 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/ |
D | i2400m.h | 294 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/ |
D | setup.h | 126 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/ |
D | asoc.h | 199 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/ |
D | ib_user_mad.h | 74 struct ib_user_mad_hdr hdr; member
|
D | ib_user_verbs.h | 835 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/ |
D | bootparam.h | 169 struct setup_header hdr; member
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 125 HEADER hdr; member 242 hp = &answer->hdr; in getanswer()
|
D | getaddrinfo.c | 206 HEADER hdr; member 1344 hp = &answer->hdr; in getanswer()
|