/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/yasm/ |
yasm-options.c | 72 size_t optlen; local 75 (optlen = strlen(options[i].lopt))) == 0) { 77 char c = argv[0][2 + optlen];
|
/external/libppp/src/ |
tcpmss.c | 101 size_t hlen, olen, optlen; local 117 olen > 0; olen -= optlen, opt += optlen) { 121 optlen = 1; 123 optlen = *(opt + 1); 124 if (optlen <= 0 || optlen > olen) 127 if (optlen != TCPOLEN_MAXSEG)
|
/external/qemu/slirp/ |
ip_icmp.c | 324 int optlen = hlen - sizeof(struct ip ); local 342 if (optlen > 0) { 349 hlen -= optlen; 351 ip->ip_len -= optlen; 352 m->m_len -= optlen;
|
tcp_output.c | 75 unsigned optlen, hdrlen; local 272 * max_linkhdr + sizeof (struct tcpiphdr) + optlen <= MHLEN 274 optlen = 0; 285 optlen = 4; 290 * *((u_int32_t *) (opt + optlen)) = htonl( 295 * optlen += 4; 310 * u_int32_t *lp = (u_int32_t *)(opt + optlen); 316 * optlen += TCPOLEN_TSTAMP_APPA; 319 hdrlen += optlen; 325 if (len > tp->t_maxseg - optlen) { [all...] |
ip_input.c | 507 /* int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0; */ 508 int opt, optlen, cnt, off, code, type, forward = 0; local 516 for (; cnt > 0; cnt -= optlen, cp += optlen) { 521 optlen = 1; 523 optlen = cp[IPOPT_OLEN]; 524 if (optlen <= 0 || optlen > cnt) { 565 if (off > optlen - sizeof(struct in_addr)) { 608 if (off > optlen - sizeof(struct in_addr) [all...] |
tcp_input.c | 238 int optlen = 0; local 323 optlen = off - sizeof (struct tcphdr); 333 /* if ((optlen == TCPOLEN_TSTAMP_APPA || 334 * (optlen > TCPOLEN_TSTAMP_APPA && 466 tcp_dooptions(tp, (u_char *)optp, optlen, ti); 718 tcp_dooptions(tp, (u_char *)optp, optlen, ti); 1501 int opt, optlen; local [all...] |
/external/qemu/slirp-android/ |
ip_icmp.c | 326 int optlen = hlen - sizeof(struct ip ); local 344 if (optlen > 0) { 351 hlen -= optlen; 353 ip->ip_len -= optlen; 354 m->m_len -= optlen;
|
tcp_output.c | 75 unsigned optlen, hdrlen; local 272 * max_linkhdr + sizeof (struct tcpiphdr) + optlen <= MHLEN 274 optlen = 0; 285 optlen = 4; 290 * *((u_int32_t *) (opt + optlen)) = htonl( 295 * optlen += 4; 310 * u_int32_t *lp = (u_int32_t *)(opt + optlen); 316 * optlen += TCPOLEN_TSTAMP_APPA; 319 hdrlen += optlen; 325 if (len > tp->t_maxseg - optlen) { [all...] |
ip_input.c | 507 /* int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0; */ 508 int opt, optlen, cnt, off, code, type, forward = 0; local 516 for (; cnt > 0; cnt -= optlen, cp += optlen) { 521 optlen = 1; 523 optlen = cp[IPOPT_OLEN]; 524 if (optlen <= 0 || optlen > cnt) { 565 if (off > optlen - sizeof(struct in_addr)) { 608 if (off > optlen - sizeof(struct in_addr) [all...] |
tcp_input.c | 238 int optlen = 0; local 323 optlen = off - sizeof (struct tcphdr); 333 /* if ((optlen == TCPOLEN_TSTAMP_APPA || 334 * (optlen > TCPOLEN_TSTAMP_APPA && 471 tcp_dooptions(tp, (u_char *)optp, optlen, ti); 724 tcp_dooptions(tp, (u_char *)optp, optlen, ti); 1507 int opt, optlen; local [all...] |
/external/tcpdump/ |
print-ip6opts.c | 77 int optlen; local 79 for (i = 0; i < len; i += optlen) { 81 optlen = 1; 84 optlen = bp[i + 1] + 2; 88 if (i + optlen > len) 142 int optlen = 0; local 144 for (i = 0; i < len; i += optlen) { 146 optlen = 1; 149 optlen = bp[i + 1] + 2; 153 if (i + optlen > len [all...] |
print-dccp.c | 384 u_int optlen; local 391 optlen = dccp_print_option(cp); 392 if (!optlen) goto trunc2; 393 if (hlen <= optlen) break; 394 hlen -= optlen; 395 cp += optlen; 409 u_int8_t optlen, i; local 418 optlen = *(option +1); 419 if (optlen < 2) { 420 printf("Option %d optlen too short",*option) [all...] |
print-decnet.c | 713 u_int segsize, optlen; local 724 optlen = EXTRACT_LE_8BITS(ccmp->cc_optlen); 754 if (optlen) { 755 (void)printf("optlen %d ", optlen); 757 if (optlen > nsplen - sizeof(struct ccmsg)) 760 TCHECK2(*dp, optlen); 761 pdata(dp, optlen); 771 u_int optlen; local 780 optlen = EXTRACT_LE_8BITS(dimp->di_optlen) [all...] |
print-mobility.c | 95 int optlen; local 97 for (i = 0; i < len; i += optlen) { 99 optlen = 1; 102 optlen = bp[i + 1] + 2; 106 if (i + optlen > len)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
isdn_ppp.h | 63 int optlen; member in struct:isdn_ppp_comp_data
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
isdn_ppp.h | 63 int optlen; member in struct:isdn_ppp_comp_data
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
isdn_ppp.h | 63 int optlen; member in struct:isdn_ppp_comp_data
|
/external/chromium/net/socket/ |
tcp_client_socket_libevent.cc | 56 socklen_t optlen = sizeof(optval); local 57 if (setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &optval, optlen)) { 68 if (setsockopt(fd, SOL_TCP, TCP_KEEPIDLE, &optval, optlen)) { 73 if (setsockopt(fd, SOL_TCP, TCP_KEEPINTVL, &optval, optlen)) {
|
/external/ppp/pppd/ |
ccp.c | 1493 int optlen; local [all...] |
/system/core/libnetutils/ |
dhcpclient.c | 170 int optlen; local 193 optlen = *x++; 195 if (optlen > len) { 200 if (optlen >= 4) { 207 if (optlen >= 4) memcpy(&info->gateway, x, 4); 210 if (optlen >= 4) memcpy(&info->dns1, x + 0, 4); 211 if (optlen >= 8) memcpy(&info->dns2, x + 4, 4); 214 if (optlen >= 4) { 220 if (optlen >= 4) memcpy(&info->serveraddr, x, 4); 228 x += optlen; [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
win32socketserver.cc | 402 int optlen = sizeof(value); local 403 return ::getsockopt(socket_, slevel, sopt, p, &optlen);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32socketserver.cc | 420 int optlen = sizeof(value); local 421 return ::getsockopt(socket_, slevel, sopt, p, &optlen);
|
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
bss_dgram.c | 1011 socklen_t optlen; local 1152 optlen = (socklen_t) sizeof(int); 1153 ret = getsockopt(b->num, SOL_SOCKET, SO_RCVBUF, &optval, &optlen); 1160 optlen = (socklen_t) sizeof(int); 1162 &optval, &optlen); 1194 optlen = (socklen_t)(sizeof(sctp_assoc_t) + 256 * sizeof(uint8_t)); 1195 authchunks = OPENSSL_malloc(optlen); 1196 memset(authchunks, 0, sizeof(optlen)); 1197 ii = getsockopt(b->num, IPPROTO_SCTP, SCTP_PEER_AUTH_CHUNKS, authchunks, &optlen); 1201 p < (unsigned char*) authchunks + optlen; [all...] |
/external/iputils/ |
ping.c | 90 int optlen = 0; variable 496 optlen = 40; 521 optlen = 40; 538 optlen = 40; 544 hold += ((hold+511)/512)*(optlen + 20 + 16 + 64 + 160); 577 if (datalen > 0xFFFF - 8 - optlen - 20) { 579 fprintf(stderr, "Error: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 583 fprintf(stderr, "WARNING: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 597 printf("%d(%d) bytes of data.\n", datalen, datalen+8+optlen+20); 791 int optlen; local 1133 int optlen, totlen; local [all...] |
/external/netcat/ |
netcat.c | 655 socklen_t optlen; local 669 optlen = sizeof(optval); 671 &optval, &optlen)) == 0) {
|