Searched refs:opts_len (Results 1 – 7 of 7) sorted by relevance
/external/tcpdump/ |
D | print-pgm.c | 164 uint32_t seq, opts_len, len, offset; in pgm_print() local 488 opts_len = EXTRACT_16BITS(bp); in pgm_print() 489 if (opts_len < 4) { in pgm_print() 490 ND_PRINT((ndo, "[Bad total option length %u < 4]", opts_len)); in pgm_print() 494 ND_PRINT((ndo, " OPTS LEN %d", opts_len)); in pgm_print() 495 opts_len -= 4; in pgm_print() 497 while (opts_len) { in pgm_print() 498 if (opts_len < PGM_MIN_OPT_LEN) { in pgm_print() 509 if (opts_len < opt_len) { in pgm_print() 526 opts_len -= 4; in pgm_print() [all …]
|
D | print-geneve.c | 140 u_int opts_len; in geneve_print() local 183 opts_len = (ver_opt & HDR_OPTS_LEN_MASK) * 4; in geneve_print() 185 if (len < opts_len) { in geneve_print() 187 len - opts_len)); in geneve_print() 191 ND_TCHECK2(*bp, opts_len); in geneve_print() 193 if (opts_len > 0) { in geneve_print() 197 geneve_opts_print(ndo, bp, opts_len); in geneve_print() 199 ND_PRINT((ndo, "%u bytes", opts_len)); in geneve_print() 204 bp += opts_len; in geneve_print() 205 len -= opts_len; in geneve_print()
|
/external/strace/tests/ |
D | msg_control.c | 493 const unsigned int opts_len) in test_ip_opts() argument 495 unsigned int len = CMSG_SPACE(opts_len); in test_ip_opts() 498 cmsg->cmsg_len = CMSG_LEN(opts_len); in test_ip_opts() 502 for (i = 0; i < opts_len; ++i) in test_ip_opts() 513 print_ip_opts(CMSG_DATA(cmsg), opts_len); in test_ip_opts()
|
/external/strace/tests-m32/ |
D | msg_control.c | 493 const unsigned int opts_len) in test_ip_opts() argument 495 unsigned int len = CMSG_SPACE(opts_len); in test_ip_opts() 498 cmsg->cmsg_len = CMSG_LEN(opts_len); in test_ip_opts() 502 for (i = 0; i < opts_len; ++i) in test_ip_opts() 513 print_ip_opts(CMSG_DATA(cmsg), opts_len); in test_ip_opts()
|
/external/strace/tests-mx32/ |
D | msg_control.c | 493 const unsigned int opts_len) in test_ip_opts() argument 495 unsigned int len = CMSG_SPACE(opts_len); in test_ip_opts() 498 cmsg->cmsg_len = CMSG_LEN(opts_len); in test_ip_opts() 502 for (i = 0; i < opts_len; ++i) in test_ip_opts() 513 print_ip_opts(CMSG_DATA(cmsg), opts_len); in test_ip_opts()
|
/external/dhcpcd-6.8.2/ |
D | dhcp6.c | 133 const struct dhcp_opt *opts, size_t opts_len) in dhcp6_printoptions() argument 142 for (j = 0, opt2 = opts; j < opts_len; j++, opt2++) in dhcp6_printoptions() 145 if (j == opts_len) { in dhcp6_printoptions() 150 for (i = 0, opt = opts; i < opts_len; i++, opt++) { in dhcp6_printoptions()
|
D | dhcp.c | 125 const struct dhcp_opt *opts, size_t opts_len) in dhcp_printoptions() argument 136 for (j = 0, opt2 = opts; j < opts_len; j++, opt2++) in dhcp_printoptions() 139 if (j == opts_len) { in dhcp_printoptions() 144 for (i = 0, opt = opts; i < opts_len; i++, opt++) { in dhcp_printoptions()
|