Lines Matching defs:len_p
108 dhcptype_from_str(const char * str, int type, void * buf, int * len_p,
123 if (*len_p < type_info->size) {
127 type_info->name, *len_p, type_info->size);
135 *len_p = type_info->size;
141 *len_p = type_info->size;
166 *len_p = type_info->size;
172 *len_p = type_info->size;
178 *len_p = type_info->size;
192 *len_p = type_info->size;
197 if (*len_p < len) {
205 *len_p = len;
209 (void)DNSNameListBufferCreate(&str, 1, buf, len_p);
210 if (*len_p == 0) {
236 int type, void * buf, int * len_p,
245 (void)DNSNameListBufferCreate(strlist, strlist_count, buf, len_p);
246 if (*len_p == 0) {
584 int tag, void * buf, int * len_p,
612 buf, len_p, err));
616 buf, len_p, err));
634 if ((num * base_type_info->size) > *len_p) /* truncate if necessary */
635 num = *len_p / base_type_info->size;
637 for (i = 0, *len_p = 0; i < num; i++) {
645 *len_p += l;
792 dhcpol_find(dhcpol_t * list, int tag, int * len_p, int * start)
806 if (len_p)
807 *len_p = option[LEN_OFFSET];
851 dhcpol_option_copy(dhcpol_t * list, int tag, int * len_p)
876 *len_p = data_len;