Home
last modified time | relevance | path

Searched refs:nvbuflen (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dif_pfsync.c1612 size_t nvbuflen; in pfsyncioctl() local
1675 packed = nvlist_pack(nvl, &nvbuflen); in pfsyncioctl()
1682 if (nvbuflen > ifr->ifr_cap_nv.buf_length) { in pfsyncioctl()
1683 ifr->ifr_cap_nv.length = nvbuflen; in pfsyncioctl()
1690 ifr->ifr_cap_nv.length = nvbuflen; in pfsyncioctl()
1691 error = copyout(packed, ifr->ifr_cap_nv.buffer, nvbuflen); in pfsyncioctl()
/freebsd/sbin/ifconfig/
H A Difconfig.c1479 size_t nvbuflen; in setifcapnv() local
1507 buf = nvlist_pack(nvcap, &nvbuflen); in setifcapnv()
1512 ifr.ifr_cap_nv.buf_length = ifr.ifr_cap_nv.length = nvbuflen; in setifcapnv()
/freebsd/sys/net/
H A Dif.c2439 size_t descrlen, nvbuflen; in ifhwioctl() local
2483 buf = nvlist_pack(nvcap, &nvbuflen); in ifhwioctl()
2490 if (nvbuflen > ifr->ifr_cap_nv.buf_length) { in ifhwioctl()
2491 ifr->ifr_cap_nv.length = nvbuflen; in ifhwioctl()
2496 ifr->ifr_cap_nv.length = nvbuflen; in ifhwioctl()
2497 error = copyout(buf, ifr->ifr_cap_nv.buffer, nvbuflen); in ifhwioctl()