/external/crosvm/net_sys/src/ |
D | inn.rs | 725 pub struct in_pktinfo { struct 733 ::std::mem::size_of::<in_pktinfo>(), in bindgen_test_layout_in_pktinfo() argument 735 concat!("Size of: ", stringify!(in_pktinfo)) in bindgen_test_layout_in_pktinfo() 738 ::std::mem::align_of::<in_pktinfo>(), in bindgen_test_layout_in_pktinfo() 740 concat!("Alignment of ", stringify!(in_pktinfo)) in bindgen_test_layout_in_pktinfo() 743 unsafe { &(*(0 as *const in_pktinfo)).ipi_ifindex as *const _ as usize }, in bindgen_test_layout_in_pktinfo() 747 stringify!(in_pktinfo), in bindgen_test_layout_in_pktinfo() 753 unsafe { &(*(0 as *const in_pktinfo)).ipi_spec_dst as *const _ as usize }, in bindgen_test_layout_in_pktinfo() 757 stringify!(in_pktinfo), in bindgen_test_layout_in_pktinfo() 763 unsafe { &(*(0 as *const in_pktinfo)).ipi_addr as *const _ as usize }, in bindgen_test_layout_in_pktinfo() [all …]
|
/external/dnsmasq/src/ |
D | dhcp.c | 103 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in dhcp_packet() 151 iface_index = ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet() 152 if (((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_addr.s_addr != INADDR_BROADCAST) in dhcp_packet() 231 struct in_pktinfo* pkt; in dhcp_packet() 235 pkt = (struct in_pktinfo*) CMSG_DATA(cmptr); in dhcp_packet() 238 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
|
D | forward.c | 35 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in send_from() 63 struct in_pktinfo* pkt = (struct in_pktinfo*) CMSG_DATA(cmptr); in send_from() 66 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_from() 515 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in receive_query() 562 ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query() 563 if_index = ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_ifindex; in receive_query()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 474 struct in_pktinfo *pi = (struct in_pktinfo *)(CMSG_DATA(cm)); 647 struct in_pktinfo *pi; 665 m.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo)); 667 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); 670 pi = (struct in_pktinfo *)CMSG_DATA(cm);
|
/external/strace/ |
D | msghdr.c | 127 const struct in_pktinfo *info = cmsg_data; in print_cmsg_ip_pktinfo() 224 [IP_PKTINFO] = { print_cmsg_ip_pktinfo, sizeof(struct in_pktinfo) },
|
D | ChangeLog | 27724 msghdr.c: fix printing of struct in_pktinfo. 27726 of struct in_pktinfo.ipi_addr.
|
/external/strace/tests/ |
D | msg_control.c | 539 const unsigned int len = CMSG_SPACE(sizeof(struct in_pktinfo)); in test_ip_pktinfo() 542 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in test_ip_pktinfo() 546 struct in_pktinfo *const info = (struct in_pktinfo *) CMSG_DATA(cmsg); in test_ip_pktinfo()
|
/external/strace/tests-m32/ |
D | msg_control.c | 539 const unsigned int len = CMSG_SPACE(sizeof(struct in_pktinfo)); in test_ip_pktinfo() 542 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in test_ip_pktinfo() 546 struct in_pktinfo *const info = (struct in_pktinfo *) CMSG_DATA(cmsg); in test_ip_pktinfo()
|
/external/strace/tests-mx32/ |
D | msg_control.c | 539 const unsigned int len = CMSG_SPACE(sizeof(struct in_pktinfo)); in test_ip_pktinfo() 542 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in test_ip_pktinfo() 546 struct in_pktinfo *const info = (struct in_pktinfo *) CMSG_DATA(cmsg); in test_ip_pktinfo()
|
/external/openscreen/platform/impl/ |
D | udp_socket_posix.cc | 345 IPAddress GetIPAddressFromPktInfo(const in_pktinfo& pktinfo) { in GetIPAddressFromPktInfo() 372 bool IsPacketInfo<in_pktinfo>(cmsghdr* cmh) { in IsPacketInfo() 473 read_result = ReceiveMessageInternal<sockaddr_in, in_pktinfo>(handle_.fd); in ReceiveMessage()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 580 struct in_pktinfo in recvfrom_flags() struct 589 struct in_pktinfo *tmp; in recvfrom_flags() 592 tmp = (struct in_pktinfo *) CMSG_DATA(cmptr); in recvfrom_flags()
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 221 struct in_pktinfo *pktinfo = in printpacket() 222 (struct in_pktinfo *)CMSG_DATA(cmsg); in printpacket()
|
D | txtimestamp.c | 242 struct in_pktinfo *info = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | nettest.c | 594 struct in_pktinfo *pi; in get_index_from_cmsg() 596 pi = (struct in_pktinfo *)(CMSG_DATA(cm)); in get_index_from_cmsg() 658 struct in_pktinfo *pi; in send_msg_cmsg() 662 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_msg_cmsg() 663 pi = (struct in_pktinfo *)(CMSG_DATA(cm)); in send_msg_cmsg()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1214 struct in_pktinfo *pktinfo4; in init_pktinfo() 1219 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in init_pktinfo() 1220 pktinfo4 = (struct in_pktinfo *)CMSG_DATA(cmsg); in init_pktinfo() 1221 memset(pktinfo4, 0, sizeof(struct in_pktinfo)); in init_pktinfo() 1250 char buf[CMSG_SPACE(sizeof(struct in_pktinfo))]; in sendmsg_to_server()
|
/external/iproute2/include/uapi/linux/ |
D | in.h | 222 struct in_pktinfo { struct
|
/external/libnl/include/linux-private/linux/ |
D | in.h | 222 struct in_pktinfo { struct
|
/external/kernel-headers/original/uapi/linux/ |
D | in.h | 227 struct in_pktinfo { struct
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
D | mod.rs | 443 pub struct in_pktinfo { 629 impl PartialEq for in_pktinfo { 630 fn eq(&self, other: &in_pktinfo) -> bool { 635 impl Eq for in_pktinfo {} 636 impl ::fmt::Debug for in_pktinfo { 644 impl ::hash::Hash for in_pktinfo {
|
/external/rust/crates/nix/src/sys/socket/ |
D | mod.rs | 552 Ipv4PacketInfo(libc::in_pktinfo), 655 let info = ptr::read_unaligned(p as *const libc::in_pktinfo); in decode_from() 790 Ipv4PacketInfo(&'a libc::in_pktinfo),
|
/external/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 642 char cmsgbuf[CMSG_SPACE(sizeof(struct in_pktinfo))]; in recv_function_udp() 758 struct in_pktinfo *info; in recv_function_udp() 764 info = (struct in_pktinfo *)CMSG_DATA(cmsgptr); in recv_function_udp()
|
/external/iputils/ |
D | ping.c | 108 struct in_pktinfo ipi; 109 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 781 let pi = libc::in_pktinfo { in test_sendmsg_ipv4packetinfo() 1257 let mut space = cmsg_space!(libc::in_pktinfo); in test_recv_ipv4pktinfo()
|
/external/rust/crates/libc/src/unix/linux_like/ |
D | mod.rs | 148 pub struct in_pktinfo {
|
/external/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 474 pub struct in_pktinfo {
|