Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPHost ¶
type IPHost struct { sync.RWMutex V4 map[Key4]*IPv4AddressEntry V6 map[Key6]*IPv6AddressEntry S6 map[Key6]*IPv6AddressEntry Prefix6 map[IPv6Prefix]*IPv6PrefixEntry }
func (*IPHost) GetTarget6 ¶
func (i *IPHost) GetTarget6(targ net.IP) (obj *IPv6AddressEntry, my bool)
func (*IPHost) SlaacFailedV6 ¶
func (i *IPHost) SlaacFailedV6(addr *IPv6AddressEntry)
type IPLayerPart ¶
type IPLayerPart struct { layers.BaseLayer V4 layers.IPv4 V6 layers.IPv6 AR4 layers.ARP ES6 layers.IPv6ExtensionSkipper NetworkFlow gopacket.Flow NextLayerType gopacket.LayerType SrcIP net.IP DstIP net.IP SrcMac net.HardwareAddr DstMac net.HardwareAddr IsAR bool IsV6 bool }
func (*IPLayerPart) DecodeType ¶
func (ip *IPLayerPart) DecodeType(t gopacket.LayerType, data []byte, df gopacket.DecodeFeedback) (err error)
func (*IPLayerPart) Flow ¶
func (ip *IPLayerPart) Flow() gopacket.Flow
func (*IPLayerPart) PayloadType ¶
func (ip *IPLayerPart) PayloadType() gopacket.LayerType
func (*IPLayerPart) String ¶
func (ip *IPLayerPart) String() string
type IPv4AddressEntry ¶
type IPv4AddressEntry struct {
Addr, Subnetmask, Gateway Key4
}
type IPv6AddressEntry ¶
type IPv6AddressEntry struct {
Unicast, SolicitedMulticast Key6
Tentative bool
/*
* The prefix this IPv6 Address was derived from, if any.
*
* This field is nil for link local addresses.
*/
Prefix *IPv6PrefixEntry
}
type IPv6Prefix ¶
type IPv6PrefixEntry ¶
Click to show internal directories.
Click to hide internal directories.