Home
last modified time | relevance | path

Searched refs:opt_len (Results 1 – 16 of 16) sorted by relevance

/external/tcpdump/
Dprint-pgm.c165 u_int8_t opt_type, opt_len, flags1, flags2; in pgm_print() local
477 opt_len = *bp++; in pgm_print()
478 if (opt_len != 4) { in pgm_print()
479 (void)printf("[Bad OPT_LENGTH option, length %u != 4]", opt_len); in pgm_print()
497 opt_len = *bp++; in pgm_print()
498 if (opt_len < PGM_MIN_OPT_LEN) { in pgm_print()
499 (void)printf("[Bad option, length %u < %u]", opt_len, in pgm_print()
503 if (opts_len < opt_len) { in pgm_print()
507 if (!TTEST2(*bp, opt_len - 2)) { in pgm_print()
514 if (opt_len != 4) { in pgm_print()
[all …]
/external/ppp/pppd/
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
457 GETCHAR(opt_len, pckt);
[all …]
Dsys-solaris.c1622 ccp_test(unit, opt_ptr, opt_len, for_transmit) in ccp_test() argument
1623 int unit, opt_len, for_transmit; in ccp_test()
1627 opt_ptr, opt_len, 0) >= 0)
Dsys-linux.c1266 ccp_test(int unit, u_char *opt_ptr, int opt_len, int for_transmit) in ccp_test() argument
1272 data.length = opt_len; in ccp_test()
/external/dnsmasq/contrib/wrt/
Ddhcp_lease_time.c81 int opt_len; in option_find1() local
84 opt_len = option_len(p); in option_find1()
85 if (p >= end - (2 + opt_len)) in option_find1()
87 if (*p == opt && opt_len >= minsize) in option_find1()
89 p += opt_len + 2; in option_find1()
/external/ppp/pppd/include/net/
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/third_party/zlib/
Dtrees.c422 s->opt_len = s->static_len = 0L;
527 s->opt_len += (ulg)f * (bits + xbits);
560 s->opt_len += ((long)bits - (long)tree[m].Len)
654 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
826 s->opt_len += 3*(max_blindex+1) + 5+5+4;
828 s->opt_len, s->static_len));
939 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
943 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
955 opt_lenb = (s->opt_len+3+7)>>3;
959 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h244 ulg opt_len; /* bit length of current block with optimal trees */ member
/external/zlib/
Dtrees.c426 s->opt_len = s->static_len = 0L;
531 s->opt_len += (ulg)f * (bits + xbits);
564 s->opt_len += ((long)bits - (long)tree[m].Len)
658 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
830 s->opt_len += 3*(max_blindex+1) + 5+5+4;
832 s->opt_len, s->static_len));
943 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
947 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
959 opt_lenb = (s->opt_len+3+7)>>3;
963 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h244 ulg opt_len; /* bit length of current block with optimal trees */ member
/external/qemu/distrib/zlib-1.2.3/
Dtrees.c422 s->opt_len = s->static_len = 0L;
527 s->opt_len += (ulg)f * (bits + xbits);
560 s->opt_len += ((long)bits - (long)tree[m].Len)
654 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
826 s->opt_len += 3*(max_blindex+1) + 5+5+4;
828 s->opt_len, s->static_len));
939 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
943 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
955 opt_lenb = (s->opt_len+3+7)>>3;
959 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h244 ulg opt_len; /* bit length of current block with optimal trees */ member
/external/dnsmasq/src/
Doption.c673 unsigned char opt_len = 0; in parse_dhcp_opt() local
692 opt_len = 0; in parse_dhcp_opt()
703 opt_len = opttab[i].size; in parse_dhcp_opt()
788 if (opt_len & OT_ADDR_LIST) in parse_dhcp_opt()
808 if (opt_len != 0) in parse_dhcp_opt()
809 new->len = opt_len; in parse_dhcp_opt()
Drfc2131.c1460 int opt_len; in option_find1() local
1463 opt_len = option_len(p); in option_find1()
1464 if (p > end - (2 + opt_len)) in option_find1()
1466 if (*p == opt && opt_len >= minsize) in option_find1()
1468 p += opt_len + 2; in option_find1()
/external/icu4c/test/perf/collperf/
Dcollperf.cpp564 int32_t opt_len = (sizeof(options)/sizeof(options[0])); in CollPerfTest() local
567 _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, opt_len, options); in CollPerfTest()
/external/chromium/third_party/icu/source/test/perf/collperf/
Dcollperf.cpp564 int32_t opt_len = (sizeof(options)/sizeof(options[0])); in CollPerfTest() local
567 _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, opt_len, options); in CollPerfTest()