Lines Matching refs:length
52 * of labels. Each label is represented as a one octet length
55 * domain name is terminated by a length byte of zero. The
56 * high order two bits of the length field must be zero, and
57 * the remaining six bits of the length field limit the label
60 * To simplify implementations, the total length of label
61 * octets and label length octets that make up a domain name is
111 * name. The bytes following the label length count are the characters
113 * label, which is the encoded NetBIOS name, until a zero (0x00) length
114 * count. The zero length count represents the root label, which is
117 * A label length count is actually a 6-bit field in the label length
130 * length field are reserved for future use by RFC 883[2 (page 32)].
136 * 00100000 - Netbios name, length must be 32 (decimal)
150 * int length -> # of bytes to encode.
209 * The scope field is a series of length designated labels as described
211 * The two high order two bits of the length field must be zero, the
212 * remaining six bits contain the field length. The total length of the
215 * the length fields are replaced by dots.
222 unsigned int length, bytes;
229 if ((length = *cp++) != 0x20) {
234 while (length > 0) {
245 length -= 2;
250 for (length = *cp++; length != 0; length = *cp++) {
251 if ((length & 0xc0) != 0x00) {
256 if ((length & 0xc0) == 0xc0) {
263 * Replace the length with a '.', except for the first one.
270 while (length-- > 0) {