Lines Matching defs:ph
393 register const struct pkt_hdr *ph;
395 ph = (const struct pkt_hdr *)hdr;
396 if (len < sizeof(*ph) || (u_char *)(ph + 1) > snapend) {
400 len -= sizeof(*ph);
402 if (ph->ph_flags)
404 switch (ph->ph_type) {
411 if (wb_id((struct pkt_id *)(ph + 1), len) >= 0)
416 if (wb_rreq((struct pkt_rreq *)(ph + 1), len) >= 0)
421 if (wb_rrep((struct pkt_rrep *)(ph + 1), len) >= 0)
426 if (wb_drawop((struct pkt_dop *)(ph + 1), len) >= 0)
431 if (wb_preq((struct pkt_preq *)(ph + 1), len) >= 0)
436 if (wb_prep((struct pkt_prep *)(ph + 1), len) >= 0)
441 printf(" wb-%d!", ph->ph_type);