Searched refs:ninitiator (Results 1 – 1 of 1) sorted by relevance
/external/tcpdump/ |
D | print-isakmp.c | 647 static int ninitiator = 0; variable 786 ninitiator = (i + 1) % MAXINITIATORS; in cookie_record() 793 cookiecache[ninitiator].version = 4; in cookie_record() 794 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() 799 cookiecache[ninitiator].version = 6; 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() 807 ninitiator = (ninitiator + 1) % MAXINITIATORS; in cookie_record()
|