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()
526 maxunit = (req->flags & IFC_F_LIMITUNIT) ? req->maxunit : IF_MAXUNIT; in ifc_attach_cloner()585 ifc = if_clone_alloc(name, maxunit ? maxunit : IF_MAXUNIT); in if_clone_advanced()630 ifc = if_clone_alloc(name, IF_MAXUNIT); in if_clone_simple()
56 #define IF_MAXUNIT 0x7fff /* historical value */ macro
561 if (u != -1 && u > IF_MAXUNIT) in tunclone()739 drv->unrhdr = new_unrhdr(0, IF_MAXUNIT, &tunmtx); in tuntapmodevent()