• Home
  • Raw
  • Download

Lines Matching refs:egp

132            register const struct egp_packet *egp, u_int length)  in egpnrprint()  argument
142 addr = egp->egp_sourcenet; in egpnrprint()
156 cp = (const uint8_t *)(egp + 1); in egpnrprint()
157 length -= sizeof(*egp); in egpnrprint()
159 t_gateways = egp->egp_intgw + egp->egp_extgw; in egpnrprint()
185 gateways < (int)egp->egp_intgw ? "int" : "ext", in egpnrprint()
233 register const struct egp_packet *egp; in egp_print() local
238 egp = (const struct egp_packet *)bp; in egp_print()
239 if (length < sizeof(*egp) || !ND_TTEST(*egp)) { in egp_print()
246 egp->egp_version, in egp_print()
247 EXTRACT_16BITS(&egp->egp_as), in egp_print()
248 EXTRACT_16BITS(&egp->egp_sequence), in egp_print()
253 egp->egp_version, in egp_print()
256 if (egp->egp_version != EGP_VERSION) { in egp_print()
257 ND_PRINT((ndo, "[version %d]", egp->egp_version)); in egp_print()
261 type = egp->egp_type; in egp_print()
262 code = egp->egp_code; in egp_print()
263 status = egp->egp_status; in egp_print()
284 EXTRACT_16BITS(&egp->egp_hello), in egp_print()
285 EXTRACT_16BITS(&egp->egp_poll))); in egp_print()
334 if (egp->egp_status <= EGPS_DOWN) in egp_print()
338 ND_PRINT((ndo, " net:%s", ipaddr_string(ndo, &egp->egp_sourcenet))); in egp_print()
352 ipaddr_string(ndo, &egp->egp_sourcenet), in egp_print()
353 egp->egp_intgw, in egp_print()
354 egp->egp_extgw)); in egp_print()
356 egpnrprint(ndo, egp, length); in egp_print()
366 if (EXTRACT_16BITS(&egp->egp_reason) <= EGPR_UVERSION) in egp_print()
367 ND_PRINT((ndo, " %s", egp_reasons[EXTRACT_16BITS(&egp->egp_reason)])); in egp_print()
369 ND_PRINT((ndo, " [reason %d]", EXTRACT_16BITS(&egp->egp_reason))); in egp_print()