Home | History | Annotate | Download | only in src

Lines Matching refs:rep

218   struct ng_mesg *rep = (struct ng_mesg *)msgbuf;
219 struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep);
244 if (NgRecvMsg(dev->cs, rep, sizeof msgbuf, NULL) <= 0)
247 if (rep->header.version != NG_VERSION) {
249 (long)rep->header.version, (long)NG_VERSION);
253 if (rep->header.typecookie != NGM_PPPOE_COOKIE) {
255 (long)rep->header.typecookie, (long)NGM_PPPOE_COOKIE);
260 switch (rep->header.cmd) {
273 asciilen = rep->header.arglen;
287 snprintf(unknown, sizeof unknown, "<%d>", (int)rep->header.cmd);
298 switch (rep->header.cmd) {