Searched refs:ninitiator (Results 1 – 1 of 1) sorted by relevance
/external/tcpdump/ |
D | print-isakmp.c | 648 static int ninitiator = 0; variable 787 ninitiator = (i + 1) % MAXINITIATORS; in cookie_record() 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() 808 ninitiator = (ninitiator + 1) % MAXINITIATORS; in cookie_record()
|