Searched refs:IF_MAXUNIT (Results 1 – 4 of 4) sorted by relevance
242 if (i++ == IF_MAXUNIT) in main()246 if (i < IF_MAXUNIT) in main()
539 maxunit = (req->flags & IFC_F_LIMITUNIT) ? req->maxunit : IF_MAXUNIT; in ifc_attach_cloner()599 ifc = if_clone_alloc(name, maxunit ? maxunit : IF_MAXUNIT); in if_clone_advanced()644 ifc = if_clone_alloc(name, IF_MAXUNIT); in if_clone_simple()
56 #define IF_MAXUNIT 0x7fff /* historical value */ macro
587 if (u != -1 && u > IF_MAXUNIT) in tunclone()830 drv->unrhdr = new_unrhdr(0, IF_MAXUNIT, &tunmtx); in tuntapmodevent()