Lines Matching refs:egp
132 const struct egp_packet *egp, u_int length) in egpnr_print() argument
142 addr = GET_IPV4_TO_NETWORK_ORDER(egp->egp_sourcenet); in egpnr_print()
156 cp = (const uint8_t *)(egp + 1); in egpnr_print()
157 length -= sizeof(*egp); in egpnr_print()
159 intgw = GET_U_1(egp->egp_intgw); in egpnr_print()
160 extgw = GET_U_1(egp->egp_extgw); in egpnr_print()
243 const struct egp_packet *egp; in egp_print() local
250 egp = (const struct egp_packet *)bp; in egp_print()
251 if (length < sizeof(*egp) || !ND_TTEST_SIZE(egp)) { in egp_print()
256 version = GET_U_1(egp->egp_version); in egp_print()
260 GET_BE_U_2(egp->egp_as), in egp_print()
261 GET_BE_U_2(egp->egp_sequence), in egp_print()
274 type = GET_U_1(egp->egp_type); in egp_print()
275 code = GET_U_1(egp->egp_code); in egp_print()
276 status = GET_U_1(egp->egp_status); in egp_print()
297 GET_BE_U_2(egp->egp_hello), in egp_print()
298 GET_BE_U_2(egp->egp_poll)); in egp_print()
351 ND_PRINT(" net:%s", GET_IPADDR_STRING(egp->egp_sourcenet)); in egp_print()
365 GET_IPADDR_STRING(egp->egp_sourcenet), in egp_print()
366 GET_U_1(egp->egp_intgw), in egp_print()
367 GET_U_1(egp->egp_extgw)); in egp_print()
369 egpnr_print(ndo, egp, length); in egp_print()
379 if (GET_BE_U_2(egp->egp_reason) <= EGPR_UVERSION) in egp_print()
381 egp_reasons[GET_BE_U_2(egp->egp_reason)]); in egp_print()
383 ND_PRINT(" [reason %u]", GET_BE_U_2(egp->egp_reason)); in egp_print()