/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/tcpdump/ |
print-dhcp6.c | 325 size_t optlen; local 340 optlen = EXTRACT_16BITS(&dh6o->dh6opt_len); 341 if (ep < cp + sizeof(*dh6o) + optlen) 348 if (optlen < 2) { 356 if (optlen >= 2 + 6) { 360 for (i = 8; i < optlen; i++) 370 if (optlen >= 2 + 8) { 382 if (optlen >= 2 + 2) { 385 for (i = 4; i < optlen; i++) 400 if (optlen < sizeof(ia_addr) - 4) [all...] |
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-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)
|
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-udp.c | 179 u_int i2, optlen; local 182 optlen = (i2 >> 16) & 0xff; 183 if (optlen == 0 || optlen > len) { 187 ip += optlen; 188 len -= optlen;
|
/development/ndk/sources/android/libportable/arch-mips/ |
sockopt.c | 111 int WRAP(setsockopt)(int s, int level, int optname, const void *optval, socklen_t optlen) 113 return REAL(setsockopt)(s, mips_change_level(level), mips_change_optname(optname), optval, optlen); 117 int WRAP(getsockopt)(int s, int level, int optname, void *optval, socklen_t *optlen) 119 return REAL(getsockopt)(s, mips_change_level(level), mips_change_optname(optname), optval, optlen);
|
/external/qemu/slirp/ |
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_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;
|
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...] |
/external/qemu/slirp-android/ |
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_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;
|
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...] |
/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
|
/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/kernel-headers/original/linux/ |
net.h | 151 int optname, char __user *optval, int optlen); 153 int optname, char __user *optval, int __user *optlen); 155 int optname, char __user *optval, int optlen); 157 int optname, char __user *optval, int __user *optlen); 261 char __user *optval, int optlen), (sock, level, optname, optval, optlen)) \ 263 char __user *optval, int __user *optlen), (sock, level, optname, optval, optlen)) \
|
mroute6.h | 144 int optname, char __user *optval, unsigned int optlen) 151 int optname, char __user *optval, int __user *optlen)
|
/external/ping/ |
ping.c | 84 int optlen = 0; variable 436 optlen = 40; 461 optlen = 40; 478 optlen = 40; 484 hold += ((hold+511)/512)*(optlen + 20 + 16 + 64 + 160); 517 if (datalen > 0xFFFF - 8 - optlen - 20) { 519 fprintf(stderr, "Error: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 523 fprintf(stderr, "WARNING: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 537 printf("%d(%d) bytes of data.\n", datalen, datalen+8+optlen+20); 730 int optlen; local 1026 int optlen, totlen; local [all...] |
/external/valgrind/main/coregrind/ |
pub_core_libcfile.h | 72 void *optval, Int *optlen );
|
/external/quake/quake/src/QW/client/ |
winquake.h | 102 const char FAR * optval, int optlen);
|
/external/quake/quake/src/WinQuake/ |
winquake.h | 103 const char FAR * optval, int optlen);
|
/external/ppp/pppd/ |
ccp.c | 1493 int optlen; local [all...] |