Searched refs:opts_len (Results 1 – 6 of 6) sorted by relevance
/external/tcpdump/ |
D | print-pgm.c | 158 uint32_t seq, opts_len, len, offset; in pgm_print() local 446 opts_len = EXTRACT_16BITS(bp); in pgm_print() 447 if (opts_len < 4) { in pgm_print() 448 ND_PRINT((ndo, "[Bad total option length %u < 4]", opts_len)); in pgm_print() 452 ND_PRINT((ndo, " OPTS LEN %d", opts_len)); in pgm_print() 453 opts_len -= 4; in pgm_print() 455 while (opts_len) { in pgm_print() 456 if (opts_len < PGM_MIN_OPT_LEN) { in pgm_print() 471 if (opts_len < opt_len) { in pgm_print() 490 opts_len -= PGM_OPT_LENGTH_LEN; in pgm_print() [all …]
|
D | print-geneve.c | 154 u_int opts_len; in geneve_print() local 197 opts_len = (ver_opt & HDR_OPTS_LEN_MASK) * 4; in geneve_print() 199 if (len < opts_len) { in geneve_print() 201 opts_len - len)); in geneve_print() 205 ND_TCHECK2(*bp, opts_len); in geneve_print() 207 if (opts_len > 0) { in geneve_print() 211 geneve_opts_print(ndo, bp, opts_len); in geneve_print() 213 ND_PRINT((ndo, "%u bytes", opts_len)); in geneve_print() 218 bp += opts_len; in geneve_print() 219 len -= opts_len; in geneve_print()
|
/external/strace/tests/ |
D | msg_control.c | 636 const unsigned int opts_len) in test_ip_opts() argument 638 unsigned int len = CMSG_SPACE(opts_len); in test_ip_opts() 641 cmsg->cmsg_len = CMSG_LEN(opts_len); in test_ip_opts() 645 for (i = 0; i < opts_len; ++i) in test_ip_opts() 656 print_ip_opts(CMSG_DATA(cmsg), opts_len); in test_ip_opts()
|
/external/strace/tests-m32/ |
D | msg_control.c | 636 const unsigned int opts_len) in test_ip_opts() argument 638 unsigned int len = CMSG_SPACE(opts_len); in test_ip_opts() 641 cmsg->cmsg_len = CMSG_LEN(opts_len); in test_ip_opts() 645 for (i = 0; i < opts_len; ++i) in test_ip_opts() 656 print_ip_opts(CMSG_DATA(cmsg), opts_len); in test_ip_opts()
|
/external/strace/tests-mx32/ |
D | msg_control.c | 636 const unsigned int opts_len) in test_ip_opts() argument 638 unsigned int len = CMSG_SPACE(opts_len); in test_ip_opts() 641 cmsg->cmsg_len = CMSG_LEN(opts_len); in test_ip_opts() 645 for (i = 0; i < opts_len; ++i) in test_ip_opts() 656 print_ip_opts(CMSG_DATA(cmsg), opts_len); in test_ip_opts()
|
/external/jemalloc_new/src/ |
D | jemalloc.c | 741 size_t opts_len = strlen(opt_stats_print_opts); in init_opt_stats_print_opts() local 742 assert(opts_len <= stats_print_tot_num_options); in init_opt_stats_print_opts() 757 opt_stats_print_opts[opts_len++] = v[i]; in init_opt_stats_print_opts() 758 opt_stats_print_opts[opts_len] = '\0'; in init_opt_stats_print_opts() 759 assert(opts_len <= stats_print_tot_num_options); in init_opt_stats_print_opts() 761 assert(opts_len == strlen(opt_stats_print_opts)); in init_opt_stats_print_opts()
|