Searched refs:slevel (Results 1 – 3 of 3) sorted by relevance
/external/chromium/third_party/libjingle/source/talk/base/ |
D | win32socketserver.cc | 396 int slevel; in GetOption() local 398 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption() 403 return ::getsockopt(socket_, slevel, sopt, p, &optlen); in GetOption() 407 int slevel; in SetOption() local 409 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption() 413 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value)); in SetOption() 572 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument 575 *slevel = IPPROTO_IP; in TranslateOption() 579 *slevel = SOL_SOCKET; in TranslateOption() 583 *slevel = SOL_SOCKET; in TranslateOption() [all …]
|
D | physicalsocketserver.cc | 244 int slevel; in GetOption() local 246 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption() 249 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption() 259 int slevel; in SetOption() local 261 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption() 268 return ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); in SetOption() 475 static int TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument 479 *slevel = IPPROTO_IP; in TranslateOption() 486 *slevel = IPPROTO_IP; in TranslateOption() 491 *slevel = SOL_SOCKET; in TranslateOption() [all …]
|
D | win32socketserver.h | 82 static int TranslateOption(Option opt, int* slevel, int* sopt);
|