Lines Matching refs:idx
98 int idx, i, trans;
103 idx = 0;
133 moplen = mopGetShort(pkt,&idx);
135 mopcode = mopGetChar(p,&idx);
143 tmpc = mopGetChar(pkt,&idx); /* Reserved */
144 (void)mopGetShort(pkt,&idx); /* Receipt # */
146 itype = mopGetShort(pkt,&idx);
148 while (idx < (int)(moplen + 2)) {
149 ilen = mopGetChar(pkt,&idx);
152 tmpc = mopGetChar(pkt,&idx);
153 idx = idx + tmpc;
156 idx = idx + 3;
159 idx = idx + 2;
162 idx = idx + 6;
165 idx = idx + 2;
168 idx = idx + 2;
171 idx = idx + 2;
174 idx = idx + 6;
177 idx = idx + 10;
180 (void)mopGetChar(pkt, &idx);
183 tmpc = mopGetChar(pkt,&idx);
184 if ((idx > 0) && (idx < 17))
185 idx = idx + tmpc;
188 idx = idx + 1;
191 idx = idx + 1;
194 idx = idx + 2;
200 idx = idx + ilen;
203 idx = idx + ilen;
206 idx = idx + 2;
212 (void)fprintf(stdout, "%c",pkt[idx+i]);
214 idx = idx + ilen;
218 idx = idx + ilen;
222 idx = idx + ilen;
225 itype = mopGetShort(pkt,&idx);