HomeSort by relevance Sort by last modified time
    Searched refs:opt_len (Results 1 - 25 of 26) sorted by null

1 2

  /external/tcpdump/
print-mptcp.c 167 const u_char *opt _U_, u_int opt_len _U_, u_char flags _U_)
174 const u_char *opt, u_int opt_len, u_char flags)
178 if (!(opt_len == 12 && flags & TH_SYN) &&
179 !(opt_len == 20 && (flags & (TH_SYN | TH_ACK)) == TH_ACK))
190 if (opt_len == 20) /* ACK */
198 const u_char *opt, u_int opt_len, u_char flags)
202 if (!(opt_len == 12 && flags & TH_SYN) &&
203 !(opt_len == 16 && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) &&
204 !(opt_len == 24 && flags & TH_ACK))
207 if (opt_len != 24)
    [all...]
print-pgm.c 163 uint8_t opt_type, opt_len; local
483 opt_len = *bp++;
484 if (opt_len != 4) {
485 ND_PRINT((ndo, "[Bad OPT_LENGTH option, length %u != 4]", opt_len));
503 opt_len = *bp++;
504 if (opt_len < PGM_MIN_OPT_LEN) {
505 ND_PRINT((ndo, "[Bad option, length %u < %u]", opt_len,
509 if (opts_len < opt_len) {
513 if (!ND_TTEST2(*bp, opt_len - 2)) {
520 if (opt_len != 4)
    [all...]
print-geneve.c 96 uint8_t opt_len; local
103 opt_len = 4 + ((*(bp + 3) & OPT_LEN_MASK) * 4);
107 opt_type & OPT_TYPE_CRITICAL ? "(C)" : "", opt_len));
109 if (opt_len > len) {
114 if (ndo->ndo_vflag > 1 && opt_len > 4) {
120 for (i = 4; i < opt_len; i += 4) {
126 bp += opt_len;
127 len -= opt_len;
  /external/ppp/pppd/
cbcp.c 310 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...]
sys-solaris.c     [all...]
sys-linux.c 1300 ccp_test(int unit, u_char *opt_ptr, int opt_len, int for_transmit)
1306 data.length = opt_len;
    [all...]
  /external/ppp/pppd/include/net/
ppp-comp.h 62 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,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
ppp-comp.h 67 void *(*comp_alloc) (unsigned char *options, int opt_len);
74 int opt_len, int unit, int opthdr, int debug);
87 void *(*decomp_alloc) (unsigned char *options, int opt_len);
94 int opt_len, int unit, int opthdr, int mru,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
ppp-comp.h 67 void *(*comp_alloc) (unsigned char *options, int opt_len);
74 int opt_len, int unit, int opthdr, int debug);
87 void *(*decomp_alloc) (unsigned char *options, int opt_len);
94 int opt_len, int unit, int opthdr, int mru,
  /external/dnsmasq/contrib/wrt/
dhcp_lease_time.c 81 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/opencv3/3rdparty/zlib/
trees.c 420 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, s->static_len))
    [all...]
deflate.h 247 ulg opt_len; /* bit length of current block with optimal trees */ member in struct:internal_state
  /external/pdfium/third_party/zlib_v128/
trees.c 420 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, s->static_len))
    [all...]
deflate.h 247 ulg opt_len; /* bit length of current block with optimal trees */ member in struct:internal_state
  /external/zlib/src/
trees.c 420 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, s->static_len))
    [all...]
deflate.h 247 ulg opt_len; /* bit length of current block with optimal trees */ member in struct:internal_state
  /system/connectivity/shill/net/
rtnl_message.cc 258 int opt_len = static_cast<int>(nd_user_option_header->length) * 8; local
259 if (opt_len != hdr->nd_user_opt.nduseropt_opts_len) {
266 int data_len = opt_len - sizeof(NDUserOptionHeader);
  /external/webrtc/webrtc/p2p/base/
pseudotcp.cc 1204 uint8_t opt_len = 0; local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
opts.h 74 unsigned char opt_len; member in struct:cl_option
  /toolchain/binutils/binutils-2.25/gas/
listing.c 1338 int opt_len = strlen (opt); local
    [all...]
  /external/toybox/toys/pending/
traceroute.c 480 unsigned opt_len = 0, pack_size = 0, tyser = 0; local
502 opt_len = (lsrr + 1) * sizeof(TT.gw_list[0]);
  /external/dnsmasq/src/
option.c 673 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;
    [all...]
rfc2131.c 1460 int opt_len; local
    [all...]
  /external/fio/
parse.c 425 static size_t opt_len(const char *str) function
438 return max(strlen(vp->ival), opt_len(str));
  /external/icu/icu4c/source/test/perf/collperf/
collperf.cpp 575 int32_t opt_len = (sizeof(options)/sizeof(options[0])); local
578 _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, opt_len, options);

Completed in 794 milliseconds

1 2