Lines Matching refs:pkt
94 mopProcess(struct if_info *ii, u_char *pkt)
100 dst = pkt;
101 src = pkt+6;
102 ptype = (u_short *)(pkt+12);
108 ptype = (u_short *)(pkt+20);
109 p = pkt+22;
113 p = pkt+14;
133 moplen = mopGetShort(pkt,&idx);
143 tmpc = mopGetChar(pkt,&idx); /* Reserved */
144 (void)mopGetShort(pkt,&idx); /* Receipt # */
146 itype = mopGetShort(pkt,&idx);
149 ilen = mopGetChar(pkt,&idx);
152 tmpc = mopGetChar(pkt,&idx);
180 (void)mopGetChar(pkt, &idx);
183 tmpc = mopGetChar(pkt,&idx);
212 (void)fprintf(stdout, "%c",pkt[idx+i]);
225 itype = mopGetShort(pkt,&idx);