Lines Matching refs:egp

131            register const struct egp_packet *egp)  in egpnrprint()  argument
141 addr = egp->egp_sourcenet; in egpnrprint()
155 cp = (uint8_t *)(egp + 1); in egpnrprint()
157 t_gateways = egp->egp_intgw + egp->egp_extgw; in egpnrprint()
177 gateways < (int)egp->egp_intgw ? "int" : "ext", in egpnrprint()
213 register const struct egp_packet *egp; in egp_print() local
218 egp = (struct egp_packet *)bp; in egp_print()
219 if (!ND_TTEST2(*egp, length)) { in egp_print()
226 egp->egp_version, in egp_print()
227 EXTRACT_16BITS(&egp->egp_as), in egp_print()
228 EXTRACT_16BITS(&egp->egp_sequence), in egp_print()
233 egp->egp_version, in egp_print()
236 if (egp->egp_version != EGP_VERSION) { in egp_print()
237 ND_PRINT((ndo, "[version %d]", egp->egp_version)); in egp_print()
241 type = egp->egp_type; in egp_print()
242 code = egp->egp_code; in egp_print()
243 status = egp->egp_status; in egp_print()
264 EXTRACT_16BITS(&egp->egp_hello), in egp_print()
265 EXTRACT_16BITS(&egp->egp_poll))); in egp_print()
314 if (egp->egp_status <= EGPS_DOWN) in egp_print()
318 ND_PRINT((ndo, " net:%s", ipaddr_string(ndo, &egp->egp_sourcenet))); in egp_print()
332 ipaddr_string(ndo, &egp->egp_sourcenet), in egp_print()
333 egp->egp_intgw, in egp_print()
334 egp->egp_extgw)); in egp_print()
336 egpnrprint(ndo, egp); in egp_print()
346 if (EXTRACT_16BITS(&egp->egp_reason) <= EGPR_UVERSION) in egp_print()
347 ND_PRINT((ndo, " %s", egp_reasons[EXTRACT_16BITS(&egp->egp_reason)])); in egp_print()
349 ND_PRINT((ndo, " [reason %d]", EXTRACT_16BITS(&egp->egp_reason))); in egp_print()