Lines Matching refs:part
22 int part[3]; in try_pvc() local
25 part[0] = part[1] = part[2] = 0; in try_pvc()
34 if (part[i] > INT_MAX/10) return TRY_OTHER;/* number too big */ in try_pvc()
35 part[i] = part[i]*10+*text++-'0'; in try_pvc()
45 part[i++] = ATM_ITF_ANY; /* all *_ANY have the same value */ in try_pvc()
50 part[i++] = ATM_VPI_UNSPEC; /* all *_UNSPEC have the same in try_pvc()
58 part[2] = part[1]; in try_pvc()
59 part[1] = part[0]; in try_pvc()
60 part[0] = 0; /* default interface */ in try_pvc()
62 if (part[0] > SHRT_MAX || part[2] > ATM_MAX_VCI) in try_pvc()
64 if (part[1] > (flags & T2A_NNI ? ATM_MAX_VPI_NNI : ATM_MAX_VPI)) in try_pvc()
66 if (part[0] == ATM_VPI_UNSPEC) return FATAL; /* bad */ in try_pvc()
68 addr->sap_addr.itf = part[0]; in try_pvc()
69 addr->sap_addr.vpi = part[1]; in try_pvc()
70 addr->sap_addr.vci = part[2]; in try_pvc()