Lines Matching refs:ninitiator
133 int ninitiator = 0;
271 ninitiator = (i + 1) % MAXINITIATORS;
278 memset(&cookiecache[ninitiator].iaddr, 0,
279 sizeof(cookiecache[ninitiator].iaddr));
280 memset(&cookiecache[ninitiator].raddr, 0,
281 sizeof(cookiecache[ninitiator].raddr));
283 sin = (struct sockaddr_in *)&cookiecache[ninitiator].iaddr;
289 sin = (struct sockaddr_in *)&cookiecache[ninitiator].raddr;
298 memset(&cookiecache[ninitiator].iaddr, 0,
299 sizeof(cookiecache[ninitiator].iaddr));
300 memset(&cookiecache[ninitiator].raddr, 0,
301 sizeof(cookiecache[ninitiator].raddr));
304 sin6 = (struct sockaddr_in6 *)&cookiecache[ninitiator].iaddr;
310 sin6 = (struct sockaddr_in6 *)&cookiecache[ninitiator].raddr;
321 memcpy(&cookiecache[ninitiator].initiator, in, sizeof(*in));
322 ninitiator = (ninitiator + 1) % MAXINITIATORS;