DLT_LANE8023 was never defined in libpcap.
It was, perhaps, defined in some SuSE libpcap update, but no evidence
of this.
It is not defined in OpenSuSE Leap 15.2 (information from Guy).
#ifdef DLT_LINUX_IRDA
DLT_CHOICE(DLT_LINUX_IRDA, "Linux IrDA"),
#endif
-#ifdef DLT_LANE8023
- DLT_CHOICE(DLT_LANE8023, "Linux 802.3 LANE"),
-#endif
#ifdef DLT_CIP
DLT_CHOICE(DLT_CIP, "Linux Classical IP-over-ATM"),
#endif
extern void juniper_pppoe_atm_if_print IF_PRINTER_ARGS;
extern void juniper_pppoe_if_print IF_PRINTER_ARGS;
extern void juniper_services_if_print IF_PRINTER_ARGS;
-extern u_int lane_if_print IF_PRINTER_ARGS;
extern u_int ltalk_if_print IF_PRINTER_ARGS;
extern void mfr_if_print IF_PRINTER_ARGS;
extern void netanalyzer_if_print IF_PRINTER_ARGS;
*/
ether_print(ndo, p, length, caplen, lane_hdr_print, p - 2, FALSE);
}
-
-u_int
-lane_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p)
-{
- ndo->ndo_protocol = "lane_if";
- lane_print(ndo, p, h->len, h->caplen);
-
- return (sizeof(struct lecdatahdr_8023));
-}
};
static const struct uint_printer uint_printers[] = {
-#ifdef DLT_LANE8023
- { lane_if_print, DLT_LANE8023 },
-#endif
#ifdef DLT_C_HDLC
{ chdlc_if_print, DLT_C_HDLC },
#endif