Home
last modified time | relevance | path

Searched refs:sopt (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/yasm/
Dyasm-options.c115 if (argv[0][1] == options[i].sopt) { in parse_cmdline()
126 options[i].sopt); in parse_cmdline()
176 if (options[i].sopt) { in help_msg()
177 sprintf(optbuf, "-%c <%s>", options[i].sopt, in help_msg()
182 if (options[i].sopt && options[i].lopt) in help_msg()
192 if (options[i].sopt) { in help_msg()
193 sprintf(optbuf, "-%c", options[i].sopt); in help_msg()
196 if (options[i].sopt && options[i].lopt) in help_msg()
Dyasm-options.h36 char sopt; member
/external/chromium_org/third_party/webrtc/base/
Dwin32socketserver.cc398 int sopt; in GetOption() local
399 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
404 return ::getsockopt(socket_, slevel, sopt, p, &optlen); in GetOption()
409 int sopt; in SetOption() local
410 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
414 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value)); in SetOption()
588 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
592 *sopt = IP_DONTFRAGMENT; in TranslateOption()
596 *sopt = SO_RCVBUF; in TranslateOption()
600 *sopt = SO_SNDBUF; in TranslateOption()
[all …]
Dphysicalsocketserver.cc237 int sopt; in GetOption() local
238 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
241 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption()
252 int sopt; in SetOption() local
253 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
260 return ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); in SetOption()
499 static int TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
504 *sopt = IP_DONTFRAGMENT; in TranslateOption()
511 *sopt = IP_MTU_DISCOVER; in TranslateOption()
516 *sopt = SO_RCVBUF; in TranslateOption()
[all …]
Dwin32socketserver.h66 static int TranslateOption(Option opt, int* slevel, int* sopt);
/external/chromium_org/third_party/libjingle/source/talk/base/
Dwin32socketserver.cc415 int sopt; in GetOption() local
416 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
421 return ::getsockopt(socket_, slevel, sopt, p, &optlen); in GetOption()
426 int sopt; in SetOption() local
427 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
431 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value)); in SetOption()
605 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
609 *sopt = IP_DONTFRAGMENT; in TranslateOption()
613 *sopt = SO_RCVBUF; in TranslateOption()
617 *sopt = SO_SNDBUF; in TranslateOption()
[all …]
Dphysicalsocketserver.cc254 int sopt; in GetOption() local
255 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
258 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption()
269 int sopt; in SetOption() local
270 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
277 return ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); in SetOption()
516 static int TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
521 *sopt = IP_DONTFRAGMENT; in TranslateOption()
528 *sopt = IP_MTU_DISCOVER; in TranslateOption()
533 *sopt = SO_RCVBUF; in TranslateOption()
[all …]
Dwin32socketserver.h83 static int TranslateOption(Option opt, int* slevel, int* sopt);
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_socketvar.h553 int do_getopt_accept_filter(struct socket *so, struct sockopt *sopt);
554 int do_setopt_accept_filter(struct socket *so, struct sockopt *sopt);
613 int sogetopt(struct socket *so, struct sockopt *sopt);
624 int sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t minlen);
625 int sooptcopyout(struct sockopt *sopt, const void *buf, size_t len);
628 int soopt_getm(struct sockopt *sopt, struct mbuf **mp);
629 int soopt_mcopyin(struct sockopt *sopt, struct mbuf *m);
630 int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m);
652 int sosetopt(struct socket *so, struct sockopt *sopt);
/external/dnsmasq/src/
Drfc2131.c204 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/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_usrreq.c6724 sctp_ctloutput(struct socket *so, struct sockopt *sopt) argument
6731 if (sopt->sopt_level != IPPROTO_SCTP) {
6735 error = ip6_ctloutput(so, sopt);
6741 error = ip_ctloutput(so, sopt);
6745 optsize = sopt->sopt_valsize;
6752 error = sooptcopyin(sopt, optval, optsize, optsize);
6759 p = (void *)sopt->sopt_td;
6761 p = (void *)sopt->sopt_p;
6763 if (sopt->sopt_dir == SOPT_SET) {
6764 error = sctp_setopt(so, sopt->sopt_name, optval, optsize, p);
[all …]