Lines Matching defs:pgm
148 const struct pgm_header *pgm;
158 ndo->ndo_protocol = "pgm";
159 pgm = (const struct pgm_header *)bp;
165 if (!ND_TTEST_2(pgm->pgm_dport)) {
179 sport = GET_BE_U_2(pgm->pgm_sport);
180 dport = GET_BE_U_2(pgm->pgm_dport);
206 ND_TCHECK_SIZE(pgm);
208 ND_PRINT("PGM, length %u", GET_BE_U_2(pgm->pgm_length));
213 pgm_type_val = GET_U_1(pgm->pgm_type);
215 pgm->pgm_gsid[0],
216 pgm->pgm_gsid[1],
217 pgm->pgm_gsid[2],
218 pgm->pgm_gsid[3],
219 pgm->pgm_gsid[4],
220 pgm->pgm_gsid[5]);
225 spm = (const struct pgm_spm *)(pgm + 1);
257 pgm_poll = (const struct pgm_poll *)(pgm + 1);
295 polr_msg = (const struct pgm_polr *)(pgm + 1);
306 odata = (const struct pgm_data *)(pgm + 1);
318 rdata = (const struct pgm_data *)(pgm + 1);
333 nak = (const struct pgm_nak *)(pgm + 1);
402 ack = (const struct pgm_ack *)(pgm + 1);
419 if (GET_U_1(pgm->pgm_options) & PGM_OPT_BIT_PRESENT) {
821 GET_BE_U_2(pgm->pgm_length));