Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-mptcp.c167 const u_char *opt _U_, u_int opt_len _U_, u_char flags _U_) in dummy_print()
174 const u_char *opt, u_int opt_len, u_char flags) in mp_capable_print() argument
178 if (!(opt_len == 12 && flags & TH_SYN) && in mp_capable_print()
179 !(opt_len == 20 && (flags & (TH_SYN | TH_ACK)) == TH_ACK)) in mp_capable_print()
190 if (opt_len == 20) /* ACK */ in mp_capable_print()
198 const u_char *opt, u_int opt_len, u_char flags) in mp_join_print() argument
202 if (!(opt_len == 12 && flags & TH_SYN) && in mp_join_print()
203 !(opt_len == 16 && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) && in mp_join_print()
204 !(opt_len == 24 && flags & TH_ACK)) in mp_join_print()
207 if (opt_len != 24) { in mp_join_print()
[all …]
Dprint-pgm.c163 uint8_t opt_type, opt_len; in pgm_print() local
483 opt_len = *bp++; in pgm_print()
484 if (opt_len != 4) { in pgm_print()
485 ND_PRINT((ndo, "[Bad OPT_LENGTH option, length %u != 4]", opt_len)); in pgm_print()
503 opt_len = *bp++; in pgm_print()
504 if (opt_len < PGM_MIN_OPT_LEN) { in pgm_print()
505 ND_PRINT((ndo, "[Bad option, length %u < %u]", opt_len, in pgm_print()
509 if (opts_len < opt_len) { in pgm_print()
513 if (!ND_TTEST2(*bp, opt_len - 2)) { in pgm_print()
520 if (opt_len != 4) { in pgm_print()
[all …]
Dprint-geneve.c96 uint8_t opt_len; in geneve_opts_print() local
103 opt_len = 4 + ((*(bp + 3) & OPT_LEN_MASK) * 4); in geneve_opts_print()
107 opt_type & OPT_TYPE_CRITICAL ? "(C)" : "", opt_len)); in geneve_opts_print()
109 if (opt_len > len) { in geneve_opts_print()
114 if (ndo->ndo_vflag > 1 && opt_len > 4) { in geneve_opts_print()
120 for (i = 4; i < opt_len; i += 4) { in geneve_opts_print()
126 bp += opt_len; in geneve_opts_print()
127 len -= opt_len; in geneve_opts_print()
/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.c1625 ccp_test(unit, opt_ptr, opt_len, for_transmit) in ccp_test() argument
1626 int unit, opt_len, for_transmit; in ccp_test()
1630 opt_ptr, opt_len, 0) >= 0)
Dsys-linux.c1300 ccp_test(int unit, u_char *opt_ptr, int opt_len, int for_transmit) in ccp_test() argument
1306 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/opencv3/3rdparty/zlib/
Dtrees.c420 s->opt_len = s->static_len = 0L;
525 s->opt_len += (ulg)f * (bits + xbits);
558 s->opt_len += ((long)bits - (long)tree[m].Len)
652 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
824 s->opt_len += 3*(max_blindex+1) + 5+5+4;
826 s->opt_len, s->static_len));
925 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
929 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
941 opt_lenb = (s->opt_len+3+7)>>3;
945 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h247 ulg opt_len; /* bit length of current block with optimal trees */ member
/external/zlib/src/
Dtrees.c420 s->opt_len = s->static_len = 0L;
525 s->opt_len += (ulg)f * (bits + xbits);
558 s->opt_len += ((long)bits - (long)tree[m].Len)
652 s->opt_len--; if (stree) s->static_len -= stree[node].Len;
824 s->opt_len += 3*(max_blindex+1) + 5+5+4;
826 s->opt_len, s->static_len));
925 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
929 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
941 opt_lenb = (s->opt_len+3+7)>>3;
945 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h247 ulg opt_len; /* bit length of current block with optimal trees */ member
/external/pdfium/third_party/zlib_v128/
Dtrees.c420 s->opt_len = s->static_len = 0L; in init_block()
525 s->opt_len += (ulg)f * (bits + xbits); in gen_bitlen()
558 s->opt_len += ((long)bits - (long)tree[m].Len) in gen_bitlen()
652 s->opt_len--; if (stree) s->static_len -= stree[node].Len; in build_tree()
824 s->opt_len += 3*(max_blindex+1) + 5+5+4; in build_bl_tree()
826 s->opt_len, s->static_len)); in build_bl_tree()
925 Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
929 Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
941 opt_lenb = (s->opt_len+3+7)>>3;
945 opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
[all …]
Ddeflate.h247 ulg opt_len; /* bit length of current block with optimal trees */ member
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc1204 uint8_t opt_len = 0; in parseOptions() local
1205 buf.ReadUInt8(&opt_len); in parseOptions()
1208 if (opt_len <= buf.Length()) { in parseOptions()
1209 applyOption(kind, buf.Data(), opt_len); in parseOptions()
1210 buf.Consume(opt_len); in parseOptions()
/external/toybox/toys/pending/
Dtraceroute.c480 unsigned opt_len = 0, pack_size = 0, tyser = 0; in traceroute_main() local
502 opt_len = (lsrr + 1) * sizeof(TT.gw_list[0]); in traceroute_main()
/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/fio/
Dparse.c425 static size_t opt_len(const char *str) in opt_len() function
438 return max(strlen(vp->ival), opt_len(str)); in str_match_len()
/external/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp575 int32_t opt_len = (sizeof(options)/sizeof(options[0])); in CollPerfTest() local
578 _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, opt_len, options); in CollPerfTest()
/external/chromium-trace/catapult/tracing/third_party/jszip/
Djszip.min.js13 …depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len…
14opt_len+=h*(f+g),l&&(a.static_len+=h*(k[2*d+1]+g)));if(0!==p){do{for(f=o-1;0===a.bl_count[f];)f--;…