Searched refs:UNALIGNED_MEMCPY (Results 1 – 7 of 7) sorted by relevance
/external/tcpdump/ |
D | print-isakmp.c | 795 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in4, &ip->ip_src, sizeof(struct in_addr)); in cookie_record() 796 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in4, &ip->ip_dst, sizeof(struct in_addr)); in cookie_record() 801 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in6, &ip6->ip6_src, sizeof(struct in6_addr)); in cookie_record() 802 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in6, &ip6->ip6_dst, sizeof(struct in6_addr)); in cookie_record() 807 UNALIGNED_MEMCPY(&cookiecache[ninitiator].initiator, in, sizeof(*in)); in cookie_record() 1026 UNALIGNED_MEMCPY(&sa, ext, sizeof(sa)); in ikev1_sa_print() 1052 UNALIGNED_MEMCPY(&ident, ext + 1, sizeof(ident)); in ikev1_sa_print() 1083 UNALIGNED_MEMCPY(&prop, ext, sizeof(prop)); in ikev1_p_print() 1250 UNALIGNED_MEMCPY(&t, ext, sizeof(t)); in ikev1_t_print() 1313 UNALIGNED_MEMCPY(&e, ext, sizeof(e)); in ikev1_ke_print() [all …]
|
D | print-tcp.c | 268 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()
|
D | print-ip6.c | 156 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()
|
D | print-ip.c | 128 UNALIGNED_MEMCPY(&retval, cp + len - 4, 4); in ip_finddst() 133 UNALIGNED_MEMCPY(&retval, &ip->ip_dst, sizeof(uint32_t)); in ip_finddst() 158 UNALIGNED_MEMCPY(&ph.src, &ip->ip_src, sizeof(uint32_t)); in nextproto4_cksum() 160 UNALIGNED_MEMCPY(&ph.dst, &ip->ip_dst, sizeof(uint32_t)); in nextproto4_cksum()
|
D | print-nfs.c | 891 UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_enter() 894 UNALIGNED_MEMCPY(&xmep->client, &ip->ip_src, sizeof(ip->ip_src)); in xid_map_enter() 895 UNALIGNED_MEMCPY(&xmep->server, &ip->ip_dst, sizeof(ip->ip_dst)); in xid_map_enter() 899 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src)); in xid_map_enter() 900 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter() 922 UNALIGNED_MEMCPY(&xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_find()
|
D | print-rx.c | 694 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()
|
D | netdissect.h | 370 #define UNALIGNED_MEMCPY(p, q, l) unaligned_memcpy((p), (q), (l)) macro 377 #define UNALIGNED_MEMCPY(p, q, l) memcpy((p), (q), (l)) macro
|