Lines Matching refs:labellen
16 unsigned int labellen = 0; /* <= sizeof label */ in DNSDomainFromDot() local
27 if (labellen) { in DNSDomainFromDot()
28 if (namelen + labellen + 1 > sizeof name) in DNSDomainFromDot()
30 name[namelen++] = labellen; in DNSDomainFromDot()
31 memcpy(name + namelen, label, labellen); in DNSDomainFromDot()
32 namelen += labellen; in DNSDomainFromDot()
33 labellen = 0; in DNSDomainFromDot()
37 if (labellen >= sizeof label) in DNSDomainFromDot()
39 label[labellen++] = ch; in DNSDomainFromDot()
42 if (labellen) { in DNSDomainFromDot()
43 if (namelen + labellen + 1 > sizeof name) in DNSDomainFromDot()
45 name[namelen++] = labellen; in DNSDomainFromDot()
46 memcpy(name + namelen, label, labellen); in DNSDomainFromDot()
47 namelen += labellen; in DNSDomainFromDot()
48 labellen = 0; in DNSDomainFromDot()