Searched refs:opt_len (Results 1 - 19 of 19) sorted by relevance

/external/tcpdump/
H A Dprint-pgm.c165 u_int8_t opt_type, opt_len, flags1, flags2; local
477 opt_len = *bp++;
478 if (opt_len != 4) {
479 (void)printf("[Bad OPT_LENGTH option, length %u != 4]", opt_len);
497 opt_len = *bp++;
498 if (opt_len < PGM_MIN_OPT_LEN) {
499 (void)printf("[Bad option, length %u < %u]", opt_len,
503 if (opts_len < opt_len) {
507 if (!TTEST2(*bp, opt_len - 2)) {
514 if (opt_len !
[all...]
/external/ppp/pppd/
H A Dcbcp.c310 u_char type, opt_len, delay, addr_type; local
320 GETCHAR(opt_len, pckt);
321 if (opt_len < 2 || opt_len > len)
324 if (opt_len > 2)
336 if (opt_len > 4) {
338 memcpy(address, pckt, opt_len - 4);
339 address[opt_len - 4] = 0;
352 len -= opt_len;
452 int opt_len; local
[all...]
H A Dsys-solaris.c1622 ccp_test(unit, opt_ptr, opt_len, for_transmit)
1623 int unit, opt_len, for_transmit;
1627 opt_ptr, opt_len, 0) >= 0)
H A Dsys-linux.c1266 ccp_test(int unit, u_char *opt_ptr, int opt_len, int for_transmit) argument
1272 data.length = opt_len;
/external/dnsmasq/contrib/wrt/
H A Ddhcp_lease_time.c81 int opt_len; local
84 opt_len = option_len(p);
85 if (p >= end - (2 + opt_len))
87 if (*p == opt && opt_len >= minsize)
89 p += opt_len + 2;
/external/ppp/pppd/include/net/
H A Dppp-comp.h62 void *(*comp_alloc) __P((u_char *options, int opt_len));
66 int (*comp_init) __P((void *state, u_char *options, int opt_len,
77 void *(*decomp_alloc) __P((u_char *options, int opt_len));
81 int (*decomp_init) __P((void *state, u_char *options, int opt_len,
/external/chromium_org/device/bluetooth/
H A Dbluetooth_socket_chromeos.cc31 socklen_t opt_len = sizeof optval; local
32 if (getsockopt(fd_, SOL_SOCKET, SO_TYPE, &optval, &opt_len) < 0) {
/external/qemu/distrib/zlib-1.2.3/
H A Dtrees.c422 s->opt_len = s->static_len = 0L;
487 * The length opt_len is updated; static_len is also updated if stree is
527 s->opt_len += (ulg)f * (bits + xbits);
560 s->opt_len += ((long)bits - (long)tree[m].Len)
616 * and corresponding code. The length opt_len is updated; static_len is
654 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
814 /* opt_len now includes the length of the tree representations, except
825 /* Update opt_len to include the bit length tree and counts */
826 s->opt_len += 3*(max_blindex+1) + 5+5+4;
828 s->opt_len,
[all...]
H A Ddeflate.h244 ulg opt_len; /* bit length of current block with optimal trees */ member in struct:internal_state
/external/zlib/src/
H A Dtrees.c420 s->opt_len = s->static_len = 0L;
485 * The length opt_len is updated; static_len is also updated if stree is
525 s->opt_len += (ulg)f * (bits + xbits);
558 s->opt_len += ((long)bits - (long)tree[m].Len)
614 * and corresponding code. The length opt_len is updated; static_len is
652 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
812 /* opt_len now includes the length of the tree representations, except
823 /* Update opt_len to include the bit length tree and counts */
824 s->opt_len += 3*(max_blindex+1) + 5+5+4;
826 s->opt_len,
[all...]
H A Ddeflate.h247 ulg opt_len; /* bit length of current block with optimal trees */ member in struct:internal_state
/external/chromium_org/third_party/zlib/
H A Dtrees.c426 s->opt_len = s->static_len = 0L;
491 * The length opt_len is updated; static_len is also updated if stree is
531 s->opt_len += (ulg)f * (bits + xbits);
564 s->opt_len += ((long)bits - (long)tree[m].Len)
620 * and corresponding code. The length opt_len is updated; static_len is
658 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
818 /* opt_len now includes the length of the tree representations, except
829 /* Update opt_len to include the bit length tree and counts */
830 s->opt_len += 3*(max_blindex+1) + 5+5+4;
832 s->opt_len,
[all...]
H A Ddeflate.h249 ulg opt_len; /* bit length of current block with optimal trees */ member in struct:internal_state
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dpseudotcp.cc1215 uint8 opt_len = 0; local
1216 buf.ReadUInt8(&opt_len);
1219 if (opt_len <= buf.Length()) {
1220 applyOption(kind, buf.Data(), opt_len);
1221 buf.Consume(opt_len);
/external/chromium_org/tools/android/forwarder2/
H A Dsocket.cc223 socklen_t opt_len = sizeof(socket_errno); local
224 if (getsockopt(socket_, SOL_SOCKET, SO_ERROR, &socket_errno, &opt_len) < 0) {
/external/dnsmasq/src/
H A Doption.c673 unsigned char opt_len = 0; local
692 opt_len = 0;
703 opt_len = opttab[i].size;
788 if (opt_len & OT_ADDR_LIST)
808 if (opt_len != 0)
809 new->len = opt_len;
H A Drfc2131.c1460 int opt_len; local
1463 opt_len = option_len(p);
1464 if (p > end - (2 + opt_len))
1466 if (*p == opt && opt_len >= minsize)
1468 p += opt_len + 2;
/external/chromium_org/third_party/icu/source/test/perf/collperf/
H A Dcollperf.cpp564 int32_t opt_len = (sizeof(options)/sizeof(options[0])); local
567 _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, opt_len, options);
/external/icu4c/test/perf/collperf/
H A Dcollperf.cpp575 int32_t opt_len = (sizeof(options)/sizeof(options[0])); local
578 _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, opt_len, options);

Completed in 2117 milliseconds