Home | History | Annotate | Download | only in pppoatm

Lines Matching full:part

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