/external/iproute2/tc/ |
q_gred.c | 273 struct tc_gred_sopt *sopt; local 298 sopt = RTA_DATA(tb[TCA_GRED_DPS]); 300 if (RTA_PAYLOAD(tb[TCA_GRED_DPS]) < sizeof(*sopt) || 309 sopt->DPs, 310 sopt->def_DP, 311 sopt->grio ? "grio " : "");
|
/external/webrtc/webrtc/base/ |
physicalsocketserver.cc | 238 int sopt; local 239 if (TranslateOption(opt, &slevel, &sopt) == -1) 242 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); 253 int sopt; local 254 if (TranslateOption(opt, &slevel, &sopt) == -1) 261 return ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); 510 int PhysicalSocket::TranslateOption(Option opt, int* slevel, int* sopt) { 515 *sopt = IP_DONTFRAGMENT; 522 *sopt = IP_MTU_DISCOVER; 527 *sopt = SO_RCVBUF [all...] |
win32socketserver.cc | 401 int sopt; local 402 if (TranslateOption(opt, &slevel, &sopt) == -1) 407 return ::getsockopt(socket_, slevel, sopt, p, &optlen); 412 int sopt; local 413 if (TranslateOption(opt, &slevel, &sopt) == -1) 417 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value)); 591 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { 595 *sopt = IP_DONTFRAGMENT; 599 *sopt = SO_RCVBUF; 603 *sopt = SO_SNDBUF [all...] |
/external/dnsmasq/src/ |
rfc2131.c | 204 unsigned char *sopt; local 215 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SUBNET_SELECT, INADDRSZ))) 216 subnet_addr = option_addr(sopt); 219 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, INADDRSZ))) 220 override = option_addr(sopt); 236 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), search, 1)) && 237 vendor->len == option_len(sopt) && 238 memcmp(option_ptr(sopt, 0), vendor->data, vendor->len) == 0) [all...] |