Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-isakmp.c658 } cookiecache[MAXINITIATORS]; variable
770 if (memcmp(in, &cookiecache[i].initiator, sizeof(*in)) == 0) in cookie_find()
794 cookiecache[ninitiator].version = 4; in cookie_record()
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()
800 cookiecache[ninitiator].version = 6; 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()
822 if (cookiecache[i].version != 4) in cookie_sidecheck()
[all …]