/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-mptcp.c | 170 const u_char *opt _U_, u_int opt_len _U_, u_char flags _U_) 177 const u_char *opt, u_int opt_len, u_char flags) 181 if (!(opt_len == 12 && (flags & TH_SYN)) && 182 !(opt_len == 20 && (flags & (TH_SYN | TH_ACK)) == TH_ACK)) 193 if (opt_len == 20) /* ACK */ 201 const u_char *opt, u_int opt_len, u_char flags) 205 if (!(opt_len == 12 && (flags & TH_SYN)) && 206 !(opt_len == 16 && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) && 207 !(opt_len == 24 && (flags & TH_ACK))) 210 if (opt_len ! 176 mp_capable_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags) argument 200 mp_join_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags) argument 240 mp_dss_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags) argument 329 add_addr_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 359 remove_addr_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 376 mp_prio_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 395 mp_fail_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 406 mp_fast_close_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument [all...] |
H A D | print-pgm.c | 157 uint8_t opt_type, opt_len; local 441 opt_len = *bp++; 442 if (opt_len != 4) { 443 ND_PRINT((ndo, "[Bad OPT_LENGTH option, length %u != 4]", opt_len)); 465 opt_len = *bp++; 466 if (opt_len < PGM_MIN_OPT_LEN) { 467 ND_PRINT((ndo, "[Bad option, length %u < %u]", opt_len, 471 if (opts_len < opt_len) { 475 if (!ND_TTEST2(*bp, opt_len - 2)) { 483 if (opt_len ! [all...] |
H A D | print-geneve.c | 110 uint8_t opt_len; local 117 opt_len = 4 + ((*(bp + 3) & OPT_LEN_MASK) * 4); 121 opt_type & OPT_TYPE_CRITICAL ? "(C)" : "", opt_len)); 123 if (opt_len > len) { 128 if (ndo->ndo_vflag > 1 && opt_len > 4) { 134 for (i = 4; i < opt_len; i += 4) { 140 bp += opt_len; 141 len -= opt_len;
|
/freebsd-13-stable/lib/libc/net/ |
H A D | sctp_sys_calls.c | 396 socklen_t opt_len; local 404 opt_len = (socklen_t)sizeof(sctp_assoc_t); 406 &asoc, &opt_len) != 0) { 410 opt_len = (socklen_t)((size_t)asoc + sizeof(struct sctp_getaddresses)); 411 addrs = calloc(1, (size_t)opt_len); 419 addrs, &opt_len) != 0) { 426 lim = (caddr_t)addrs + opt_len; 452 socklen_t opt_len; local 460 opt_len = (socklen_t)sizeof(int); 462 &size_of_addresses, &opt_len) ! [all...] |
/freebsd-13-stable/sys/contrib/zlib/ |
H A D | trees.c | 418 s->opt_len = s->static_len = 0L; 483 * The length opt_len is updated; static_len is also updated if stree is 523 s->opt_len += (ulg)f * (unsigned)(bits + xbits); 556 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq; 612 * and corresponding code. The length opt_len is updated; static_len is 650 s->opt_len--; if (stree) s->static_len -= stree[node].Len; 810 /* opt_len now includes the length of the tree representations, except 821 /* Update opt_len to include the bit length tree and counts */ 822 s->opt_len += 3*((ulg)max_blindex+1) + 5+5+4; 824 s->opt_len, [all...] |
H A D | deflate.h | 250 ulg opt_len; /* bit length of current block with optimal trees */ member in struct:internal_state
|
/freebsd-13-stable/contrib/libarchive/tar/ |
H A D | read.c | 192 size_t opt_len = strlen(reader_options) + 1; local 195 if ((p = malloc(module_len + opt_len)) == NULL) 201 memcpy(p + module_len, reader_options, opt_len);
|
H A D | write.c | 149 size_t opt_len = strlen(writer_options) + 1; local 152 if ((p = malloc(module_len + opt_len)) == NULL) 158 memcpy(p, writer_options, opt_len); 181 size_t opt_len = strlen(reader_options) + 1; local 184 if ((p = malloc(module_len + opt_len)) == NULL) 191 memcpy(p, reader_options, opt_len);
|
/freebsd-13-stable/contrib/unbound/util/data/ |
H A D | msgparse.h | 243 size_t opt_len; member in struct:edns_option
|
H A D | msgreply.c | 961 opt->opt_len = len; 989 opt->opt_len = len; 1164 s->opt_len); 1189 if(p->opt_len != q->opt_len) 1190 return (int)q->opt_len - (int)p->opt_len; 1191 if(p->opt_len != 0) 1192 return memcmp(p->opt_data, q->opt_data, p->opt_len); 1239 s->opt_data = memdup(s->opt_data, s->opt_len); [all...] |
H A D | msgparse.c | 950 uint16_t opt_len = sldns_read_uint16(rdata_ptr+2); local 953 if(opt_len > rdata_len) 955 if(!edns_opt_append(edns, region, opt_code, opt_len, 960 rdata_ptr += opt_len; 961 rdata_len -= opt_len; 1124 list->opt_data, list->opt_len);
|
H A D | msgencode.c | 800 rdatalen += 4 + opt->opt_len; 836 sldns_buffer_write_u16(pkt, opt->opt_len); 837 if(opt->opt_len != 0) 838 sldns_buffer_write(pkt, opt->opt_data, opt->opt_len);
|
/freebsd-13-stable/contrib/unbound/edns-subnet/ |
H A D | subnetmod.c | 569 if (ecs_option->opt_len < 4) 579 if (ecs_option->opt_len != (size_t)((ecs->subnet_source_mask+7)/8 + 4)) 581 if (ecs_option->opt_len - 4 > INET6_SIZE || ecs_option->opt_len == 0) 595 ecs_option->opt_len - 4, ecs->subnet_source_mask))
|
/freebsd-13-stable/crypto/openssh/ |
H A D | auth-options.c | 52 size_t opt_len = strlen(opt); local 60 if (strncasecmp(opts, opt, opt_len) == 0) { 61 *optsp = opts + opt_len;
|
/freebsd-13-stable/sys/kern/ |
H A D | vfs_mount.c | 2091 int error, opt_len; local 2093 error = vfs_getopt(opts, name, (void **)&opt_value, &opt_len); 2096 if (opt_len == 0 || opt_value == NULL) 2098 if (opt_value[0] == '\0' || opt_value[opt_len - 1] != '\0')
|
/freebsd-13-stable/contrib/unbound/daemon/ |
H A D | worker.c | 1313 if(edns_opt && edns_opt->opt_len > 0) {
|
/freebsd-13-stable/contrib/unbound/services/ |
H A D | outside_network.c | 2528 padding_option.opt_len = 0;
|