Home
last modified time | relevance | path

Searched refs:UNALIGNED_MEMCPY (Results 1 – 7 of 7) sorted by relevance

/external/tcpdump/
Dprint-isakmp.c794 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in4, &ip->ip_src, sizeof(struct in_addr)); in cookie_record()
795 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in4, &ip->ip_dst, sizeof(struct in_addr)); in cookie_record()
800 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in6, &ip6->ip6_src, sizeof(struct in6_addr)); in cookie_record()
801 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in6, &ip6->ip6_dst, sizeof(struct in6_addr)); in cookie_record()
806 UNALIGNED_MEMCPY(&cookiecache[ninitiator].initiator, in, sizeof(*in)); in cookie_record()
997 UNALIGNED_MEMCPY(&sa, ext, sizeof(sa)); in ikev1_sa_print()
1023 UNALIGNED_MEMCPY(&ident, ext + 1, sizeof(ident)); in ikev1_sa_print()
1054 UNALIGNED_MEMCPY(&prop, ext, sizeof(prop)); in ikev1_p_print()
1221 UNALIGNED_MEMCPY(&t, ext, sizeof(t)); in ikev1_t_print()
1283 UNALIGNED_MEMCPY(&e, ext, sizeof(e)); in ikev1_ke_print()
[all …]
Dprint-tcp.c268 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip6->ip6_dst); in tcp_print()
269 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip6->ip6_src); in tcp_print()
272 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip6->ip6_dst); in tcp_print()
273 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip6->ip6_src); in tcp_print()
319 UNALIGNED_MEMCPY(&tha.src, &ip->ip_dst, sizeof ip->ip_dst); in tcp_print()
320 UNALIGNED_MEMCPY(&tha.dst, &ip->ip_src, sizeof ip->ip_src); in tcp_print()
323 UNALIGNED_MEMCPY(&tha.dst, &ip->ip_dst, sizeof ip->ip_dst); in tcp_print()
324 UNALIGNED_MEMCPY(&tha.src, &ip->ip_src, sizeof ip->ip_src); in tcp_print()
Dprint-ip6.c156 UNALIGNED_MEMCPY(dst, dst_addr, sizeof(struct in6_addr)); in ip6_finddst()
178 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum()
196 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum()
Dprint-ip.c122 UNALIGNED_MEMCPY(&retval, cp + len - 4, 4); in ip_finddst()
127 UNALIGNED_MEMCPY(&retval, &ip->ip_dst, sizeof(uint32_t)); in ip_finddst()
152 UNALIGNED_MEMCPY(&ph.src, &ip->ip_src, sizeof(uint32_t)); in nextproto4_cksum()
154 UNALIGNED_MEMCPY(&ph.dst, &ip->ip_dst, sizeof(uint32_t)); in nextproto4_cksum()
Dprint-nfs.c889 UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_enter()
892 UNALIGNED_MEMCPY(&xmep->client, &ip->ip_src, sizeof(ip->ip_src)); in xid_map_enter()
893 UNALIGNED_MEMCPY(&xmep->server, &ip->ip_dst, sizeof(ip->ip_dst)); in xid_map_enter()
897 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src)); in xid_map_enter()
898 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter()
920 UNALIGNED_MEMCPY(&xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_find()
Dprint-rx.c694 UNALIGNED_MEMCPY(&rxent->client, &ip->ip_src, sizeof(uint32_t)); in rx_cache_insert()
695 UNALIGNED_MEMCPY(&rxent->server, &ip->ip_dst, sizeof(uint32_t)); in rx_cache_insert()
717 UNALIGNED_MEMCPY(&clip, &ip->ip_dst, sizeof(uint32_t)); in rx_cache_find()
718 UNALIGNED_MEMCPY(&sip, &ip->ip_src, sizeof(uint32_t)); in rx_cache_find()
Dnetdissect.h376 #define UNALIGNED_MEMCPY(p, q, l) unaligned_memcpy((p), (q), (l)) macro
383 #define UNALIGNED_MEMCPY(p, q, l) memcpy((p), (q), (l)) macro