Lines Matching refs:SC
151 #define PATM_CID(SC, VPI, VCI) \
152 (((VPI) << IFP2IFATM((SC)->ifp)->mib.vci_bits) | (VCI))
328 #define patm_printf(SC, ...) if_printf((SC)->ifp, __VA_ARGS__);
349 #define patm_debug(SC, FLAG, ...) do { \
350 if((SC)->debug & DBG_##FLAG) { \
351 if_printf((SC)->ifp, "%s: ", __func__); \
358 #define patm_debug(SC, FLAG, ...) do { } while (0)
512 #define LEGAL_VPI(SC, VPI) \
513 (((VPI) & ~((1 << IFP2IFATM((SC)->ifp)->mib.vpi_bits) - 1)) == 0)
514 #define LEGAL_VCI(SC, VCI) \
515 (((VCI) & ~((1 << IFP2IFATM((SC)->ifp)->mib.vci_bits) - 1)) == 0)