Lines Matching refs:pgm
161 register const struct pgm_header *pgm; in pgm_print() local
177 pgm = (struct pgm_header *)bp; in pgm_print()
191 if (!TTEST(pgm->pgm_dport)) { in pgm_print()
208 sport = EXTRACT_16BITS(&pgm->pgm_sport); in pgm_print()
209 dport = EXTRACT_16BITS(&pgm->pgm_dport); in pgm_print()
238 TCHECK(*pgm); in pgm_print()
240 (void)printf("PGM, length %u", EXTRACT_16BITS(&pgm->pgm_length)); in pgm_print()
246 pgm->pgm_gsid[0], in pgm_print()
247 pgm->pgm_gsid[1], in pgm_print()
248 pgm->pgm_gsid[2], in pgm_print()
249 pgm->pgm_gsid[3], in pgm_print()
250 pgm->pgm_gsid[4], in pgm_print()
251 pgm->pgm_gsid[5]); in pgm_print()
252 switch (pgm->pgm_type) { in pgm_print()
256 spm = (struct pgm_spm *)(pgm + 1); in pgm_print()
291 poll = (struct pgm_poll *)(pgm + 1); in pgm_print()
303 polr = (struct pgm_polr *)(pgm + 1); in pgm_print()
348 odata = (struct pgm_data *)(pgm + 1); in pgm_print()
360 rdata = (struct pgm_data *)(pgm + 1); in pgm_print()
381 nak = (struct pgm_nak *)(pgm + 1); in pgm_print()
437 switch (pgm->pgm_type) { in pgm_print()
458 ack = (struct pgm_ack *)(pgm + 1); in pgm_print()
471 (void)printf("UNKNOWN type 0x%02x", pgm->pgm_type); in pgm_print()
475 if (pgm->pgm_options & PGM_OPT_BIT_PRESENT) { in pgm_print()
822 (pgm->pgm_type == PGM_ODATA || pgm->pgm_type == PGM_RDATA)) in pgm_print()
823 zmtp1_print_datagram(bp, EXTRACT_16BITS(&pgm->pgm_length)); in pgm_print()