Searched refs:sopt (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/webrtc/base/ |
D | win32socketserver.cc | 401 int sopt; in GetOption() local 402 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption() 407 return ::getsockopt(socket_, slevel, sopt, p, &optlen); in GetOption() 412 int sopt; in SetOption() local 413 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption() 417 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value)); in SetOption() 591 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument 595 *sopt = IP_DONTFRAGMENT; in TranslateOption() 599 *sopt = SO_RCVBUF; in TranslateOption() 603 *sopt = SO_SNDBUF; in TranslateOption() [all …]
|
D | physicalsocketserver.cc | 238 int sopt; in GetOption() local 239 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption() 242 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption() 253 int sopt; in SetOption() local 254 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption() 261 return ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); in SetOption() 510 int PhysicalSocket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument 515 *sopt = IP_DONTFRAGMENT; in TranslateOption() 522 *sopt = IP_MTU_DISCOVER; in TranslateOption() 527 *sopt = SO_RCVBUF; in TranslateOption() [all …]
|
D | win32socketserver.h | 66 static int TranslateOption(Option opt, int* slevel, int* sopt);
|
D | physicalsocketserver.h | 169 static int TranslateOption(Option opt, int* slevel, int* sopt);
|
/external/iproute2/tc/ |
D | q_gred.c | 273 struct tc_gred_sopt *sopt; in gred_print_opt() local 298 sopt = RTA_DATA(tb[TCA_GRED_DPS]); in gred_print_opt() 300 if (RTA_PAYLOAD(tb[TCA_GRED_DPS]) < sizeof(*sopt) || in gred_print_opt() 309 sopt->DPs, in gred_print_opt() 310 sopt->def_DP, in gred_print_opt() 311 sopt->grio ? "grio " : ""); in gred_print_opt()
|
/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/python/cpython2/Lib/ |
D | optparse.py | 347 short_opts = [self._short_opt_fmt % (sopt, metavar) 348 for sopt in option._short_opts]
|