Home
last modified time | relevance | path

Searched refs:option_length (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dsf-pcap-ng.c93 u_short option_length; member
374 opthdr->option_length = SWAPSHORT(opthdr->option_length); in get_opthdr_from_block_data()
388 padded_option_len = opthdr->option_length; in get_optvalue_from_block_data()
441 if (opthdr->option_length != 0) { in process_idb_options()
444 opthdr->option_length); in process_idb_options()
450 if (opthdr->option_length != 1) { in process_idb_options()
453 opthdr->option_length); in process_idb_options()
494 if (opthdr->option_length != 8) { in process_idb_options()
497 opthdr->option_length); in process_idb_options()
/external/dhcpcd-6.8.2/
Ddhcp.c2016 uint8_t option_length; in merge_option_values() local
2035 while (iterate_next_option(&src_iterator, &option, &option_length, in merge_option_values()
2041 if (out + option_length + 3 > out_end) { in merge_option_values()
2044 __func__, option, option_length); in merge_option_values()
2048 *out++ = option_length; in merge_option_values()
2049 memcpy(out, option_value, option_length); in merge_option_values()
2050 out += option_length; in merge_option_values()