Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:egp

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