Lines Matching refs:slevel
397 int slevel;
399 if (TranslateOption(opt, &slevel, &sopt) == -1)
404 return ::getsockopt(socket_, slevel, sopt, p, &optlen);
408 int slevel;
410 if (TranslateOption(opt, &slevel, &sopt) == -1)
414 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value));
588 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) {
591 *slevel = IPPROTO_IP;
595 *slevel = SOL_SOCKET;
599 *slevel = SOL_SOCKET;
603 *slevel = IPPROTO_TCP;