Versions in this module Expand all Collapse all v0 v0.4.0 Jul 21, 2022 Changes in this version + var Logger4 = fastlog.New("icmp4") + var Logger6 = fastlog.New("icmp4") + var RDNSSCLoudflare = &packet.RecursiveDNSServer + type Handler4 struct + func New4(engine *packet.Session) (h *Handler4, err error) + func (h *Handler4) Close() error + func (h *Handler4) ProcessPacket(frame packet.Frame) error + type Handler6 struct + LANRouters map[netip.Addr]*Router + Router *Router + func New6(session *packet.Session) (*Handler6, error) + func (h *Handler6) Close() error + func (h *Handler6) FindRouter(ip netip.Addr) Router + func (h *Handler6) PingAll() error + func (h *Handler6) PrintTable() + func (h *Handler6) ProcessPacket(pkt packet.Frame) (err error) + func (h *Handler6) StartHunt(addr packet.Addr) (packet.HuntStage, error) + func (h *Handler6) StartRADVS(managed bool, other bool, prefixes []packet.PrefixInformation, ...) (*RADVS, error) + func (h *Handler6) StopHunt(addr packet.Addr) (packet.HuntStage, error) + type RADVS struct + Router *Router + func (r *RADVS) SendRA() error + func (r *RADVS) Stop() + type Router struct + Addr packet.Addr + CurHopLimit uint8 + DefaultLifetime time.Duration + MTU uint32 + ManagedFlag bool + Options packet.NewOptions + OtherCondigFlag bool + Preference byte + Prefixes []packet.PrefixInformation + RDNSS *packet.RecursiveDNSServer + ReacheableTime int + RetransTimer int + func (r *Router) String() string