Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/wps/
Dndef.c27 u8 id_length; member
57 record->id_length = *pos++; in ndef_parse_record()
59 record->id_length = 0; in ndef_parse_record()
64 record->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record()
65 pos += record->id_length; in ndef_parse_record()
102 u8 id_length, in ndef_build_record() argument
116 if (id_length > 0) in ndef_build_record()
118 total_len += type_length + id_length + payload_length; in ndef_build_record()
127 if (id_length > 0) in ndef_build_record()
140 if (id_length > 0) in ndef_build_record()
[all …]
/external/tcpdump/
Dprint-isoclns.c614 u_int8_t id_length; member
2093 u_int8_t pdu_type, max_area, id_length, tlv_type, tlv_len, tmp, alen, lan_alen, prefix_len; in isis_print() local
2125 if ((isis_header->id_length != SYSTEM_ID_LEN) && (isis_header->id_length != 0)) { in isis_print()
2127 isis_header->id_length); in isis_print()
2148 id_length = isis_header->id_length; in isis_print()
2149 switch(id_length) { in isis_print()
2151 id_length = 6; /* silly shit again */ in isis_print()
2163 id_length = 0; /* entirely useless */ in isis_print()
2170 if (id_length != 6 ) { in isis_print()
2171 printf("bad packet -- illegal sys-ID length (%u)", id_length); in isis_print()
[all …]