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