Lines Matching refs:cookiecache
138 } cookiecache[MAXINITIATORS];
250 if (memcmp(in, &cookiecache[i].initiator, sizeof(*in)) == 0)
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));
368 if (sa->sa_family != ((struct sockaddr *)&cookiecache[i].iaddr)->sa_family)
382 if (memcmp(&ss, &cookiecache[i].iaddr, salen) == 0)
385 if (sa->sa_family != ((struct sockaddr *)&cookiecache[i].raddr)->sa_family)
399 if (memcmp(&ss, &cookiecache[i].raddr, salen) == 0)