Searched refs:descrlen (Results 1 - 4 of 4) sorted by relevance

/freebsd-head/lib/libifconfig/
H A Dlibifconfig.c173 size_t descrlen; local
176 descrlen = 64;
181 if ((descr = reallocf(descr, descrlen)) == NULL) {
188 ifr.ifr_buffer.length = descrlen;
207 } else if (ifr.ifr_buffer.length > descrlen) {
208 descrlen = ifr.ifr_buffer.length;
/freebsd-head/sbin/ifconfig/
H A Difconfig.c91 size_t descrlen = 64; variable
1297 if ((descr = reallocf(descr, descrlen)) != NULL) {
1299 ifr.ifr_buffer.length = descrlen;
1305 } else if (ifr.ifr_buffer.length > descrlen) {
1306 descrlen = ifr.ifr_buffer.length;
/freebsd-head/contrib/libpcap/
H A Dpcap.c653 size_t descrlen = 64; local
655 size_t descrlen = IFDESCRSIZE; local
674 if ((description = malloc(descrlen)) != NULL) {
676 ifrdesc.ifr_buffer.length = descrlen;
682 descrlen = ifrdesc.ifr_buffer.length;
701 if ((description = malloc(descrlen)) != NULL) {
/freebsd-head/sys/net/
H A Dif.c2527 size_t descrlen; local
2576 descrlen = strlen(ifp->if_description) + 1;
2577 if (ifr_buffer_get_length(ifr) < descrlen)
2581 ifr_buffer_get_buffer(ifr), descrlen);
2582 ifr_buffer_set_length(ifr, descrlen);

Completed in 238 milliseconds