Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-isakmp.c799 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in4, &ip->ip_src, sizeof(struct in_addr)); in cookie_record()
800 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in4, &ip->ip_dst, sizeof(struct in_addr)); in cookie_record()
806 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in6, &ip6->ip6_src, sizeof(struct in6_addr)); in cookie_record()
807 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in6, &ip6->ip6_dst, sizeof(struct in6_addr)); in cookie_record()
813 UNALIGNED_MEMCPY(&cookiecache[ninitiator].initiator, in, sizeof(*in)); in cookie_record()
1008 UNALIGNED_MEMCPY(&sa, ext, sizeof(sa)); in ikev1_sa_print()
1034 UNALIGNED_MEMCPY(&ident, ext + 1, sizeof(ident)); in ikev1_sa_print()
1065 UNALIGNED_MEMCPY(&prop, ext, sizeof(prop)); in ikev1_p_print()
1232 UNALIGNED_MEMCPY(&t, ext, sizeof(t)); in ikev1_t_print()
1294 UNALIGNED_MEMCPY(&e, ext, sizeof(e)); in ikev1_ke_print()
[all …]
Dprint-tcp.c269 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip6->ip6_dst);
270 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip6->ip6_src);
273 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip6->ip6_dst);
274 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip6->ip6_src);
325 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip->ip_dst);
326 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip->ip_src);
329 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip->ip_dst);
330 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip->ip_src);
Dprint-ip6.c58 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum()
59 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum()
Dprint-ip.c121 UNALIGNED_MEMCPY(&retval, cp + len - 4, 4); in ip_finddst()
126 UNALIGNED_MEMCPY(&retval, &ip->ip_dst.s_addr, sizeof(uint32_t)); in ip_finddst()
151 UNALIGNED_MEMCPY(&ph.src, &ip->ip_src.s_addr, sizeof(uint32_t)); in nextproto4_cksum()
153 UNALIGNED_MEMCPY(&ph.dst, &ip->ip_dst.s_addr, sizeof(uint32_t)); in nextproto4_cksum()
Dprint-rt6.c96 UNALIGNED_MEMCPY(&ip6->ip6_dst, last_addr, sizeof (struct in6_addr)); in rt6_print()
Dprint-nfs.c908 UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_enter()
911 UNALIGNED_MEMCPY(&xmep->client, &ip->ip_src, sizeof(ip->ip_src)); in xid_map_enter()
912 UNALIGNED_MEMCPY(&xmep->server, &ip->ip_dst, sizeof(ip->ip_dst)); in xid_map_enter()
917 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src)); in xid_map_enter()
918 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter()
Dnetdissect.h338 #define UNALIGNED_MEMCPY(p, q, l) unaligned_memcpy((p), (q), (l)) macro
345 #define UNALIGNED_MEMCPY(p, q, l) memcpy((p), (q), (l)) macro