Searched refs:usval (Results 1 – 1 of 1) sorted by relevance
1030 unsigned short usval; in add_resource_record() local1065 usval = va_arg(ap, int); in add_resource_record()1066 PUTSHORT(usval, p); in add_resource_record()1083 usval = va_arg(ap, int); in add_resource_record()1085 memcpy(p, sval, usval); in add_resource_record()1086 p += usval; in add_resource_record()1091 usval = sval ? strlen(sval) : 0; in add_resource_record()1092 if (usval > 255) in add_resource_record()1093 usval = 255; in add_resource_record()1094 *p++ = (unsigned char)usval; in add_resource_record()[all …]