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.c92 size_t descrlen = 64; variable
1383 if ((descr = reallocf(descr, descrlen)) != NULL) {
1385 ifr.ifr_buffer.length = descrlen;
1391 } else if (ifr.ifr_buffer.length > descrlen) {
1392 descrlen = ifr.ifr_buffer.length;
/freebsd-head/contrib/libpcap/
H A Dpcap.c751 size_t descrlen = 64; local
753 size_t descrlen = IFDESCRSIZE; local
772 if ((description = malloc(descrlen)) != NULL) {
774 ifrdesc.ifr_buffer.length = descrlen;
780 descrlen = ifrdesc.ifr_buffer.length;
799 if ((description = malloc(descrlen)) != NULL) {
/freebsd-head/sys/net/
H A Dif.c2496 size_t descrlen; local
2545 descrlen = strlen(ifp->if_description) + 1;
2546 if (ifr_buffer_get_length(ifr) < descrlen)
2550 ifr_buffer_get_buffer(ifr), descrlen);
2551 ifr_buffer_set_length(ifr, descrlen);

Completed in 426 milliseconds