mirror of
https://github.com/soypat/lneto.git
synced 2026-08-22 07:29:04 +00:00
implement sophisticated TAP interface to be able to debug stack on linux
This commit is contained in:
@@ -33,6 +33,11 @@ type Handler struct {
|
||||
closing bool
|
||||
}
|
||||
|
||||
func (h *Handler) SetLoggers(handler, scb *slog.Logger) {
|
||||
h.logger.log = handler
|
||||
h.scb.logger.log = scb
|
||||
}
|
||||
|
||||
func (h *Handler) State() State { return h.scb.State() }
|
||||
|
||||
func (h *Handler) SetBuffers(txbuf, rxbuf []byte, packets int) error {
|
||||
|
||||
Reference in New Issue
Block a user