Searched refs:sopt (Results 1 – 5 of 5) sorted by relevance
/external/chromium/third_party/libjingle/source/talk/base/ |
D | win32socketserver.cc | 397 int sopt; in GetOption() local 398 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption() 403 return ::getsockopt(socket_, slevel, sopt, p, &optlen); in GetOption() 408 int sopt; 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 576 *sopt = IP_DONTFRAGMENT; in TranslateOption() 580 *sopt = SO_RCVBUF; in TranslateOption() 584 *sopt = SO_SNDBUF; in TranslateOption() [all …]
|
D | physicalsocketserver.cc | 245 int sopt; in GetOption() local 246 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption() 249 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption() 260 int sopt; 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 480 *sopt = IP_DONTFRAGMENT; in TranslateOption() 487 *sopt = IP_MTU_DISCOVER; in TranslateOption() 492 *sopt = SO_RCVBUF; in TranslateOption() [all …]
|
D | win32socketserver.h | 82 static int TranslateOption(Option opt, int* slevel, int* sopt);
|
/external/dnsmasq/src/ |
D | rfc2131.c | 204 unsigned char *sopt; in dhcp_reply() local 215 …if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SUBNET_SELEC… in dhcp_reply() 216 subnet_addr = option_addr(sopt); in dhcp_reply() 219 …if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, I… in dhcp_reply() 220 override = option_addr(sopt); in dhcp_reply() 236 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), search, 1)) && in dhcp_reply() 237 vendor->len == option_len(sopt) && in dhcp_reply() 238 memcmp(option_ptr(sopt, 0), vendor->data, vendor->len) == 0) in dhcp_reply()
|
/external/qemu/ |
D | qemu-io.c | 1733 const char *sopt = "hVc:rsnmgk"; in main() local 1753 while ((c = getopt_long(argc, argv, sopt, lopt, &opt_index)) != -1) { in main()
|