Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + func HexToBytes(s string) common.RawBytes + func HexToInt(s string) uint + func HostAddrTypeFromString(ht string) addr.HostAddrType + func ParseProto(enumMeta []golayers.EnumMetadata, protoName string) uint + func SerializeLayers(w gopacket.SerializeBuffer, layers ...TaggedLayer) error + func StrToBool(s string) bool + func StrToInt(s string) int + type EthernetTaggedLayer struct + func (ether *EthernetTaggedLayer) Clone() TaggedLayer + func (ether *EthernetTaggedLayer) Layer() gopacket.Layer + func (ether *EthernetTaggedLayer) String() string + func (ether *EthernetTaggedLayer) Update(lines []string) + func (t EthernetTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t EthernetTaggedLayer) Tag() string + type HBHTaggedLayer struct + func (hbh *HBHTaggedLayer) Clone() TaggedLayer + func (hbh *HBHTaggedLayer) Layer() gopacket.Layer + func (hbh *HBHTaggedLayer) LayerType() gopacket.LayerType + func (hbh *HBHTaggedLayer) String() string + func (hbh *HBHTaggedLayer) Update(lines []string) + func (t HBHTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t HBHTaggedLayer) Tag() string + type IFStateInfoTaggedLayer struct + func (i *IFStateInfoTaggedLayer) Clone() TaggedLayer + func (i *IFStateInfoTaggedLayer) Update(lines []string) + func (p *IFStateInfoTaggedLayer) Layer() gopacket.Layer + func (t IFStateInfoTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t IFStateInfoTaggedLayer) Tag() string + type IFStateReqTaggedLayer struct + func (i *IFStateReqTaggedLayer) Clone() TaggedLayer + func (i *IFStateReqTaggedLayer) Update(lines []string) + func (p *IFStateReqTaggedLayer) Layer() gopacket.Layer + func (t IFStateReqTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t IFStateReqTaggedLayer) Tag() string + type IP4TaggedLayer struct + func (ip *IP4TaggedLayer) Clone() TaggedLayer + func (ip *IP4TaggedLayer) Layer() gopacket.Layer + func (ip *IP4TaggedLayer) String() string + func (ip *IP4TaggedLayer) Update(lines []string) + func (t IP4TaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t IP4TaggedLayer) Tag() string + type InfoPathOffsets struct + type InfoRevocation struct + type LayerParser func(lines []string) TaggedLayer + type RevInfo struct + type SCMPTaggedLayer struct + func (s *SCMPTaggedLayer) Clone() TaggedLayer + func (s *SCMPTaggedLayer) Layer() gopacket.Layer + func (s *SCMPTaggedLayer) String() string + func (s *SCMPTaggedLayer) Update(lines []string) + func (t SCMPTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t SCMPTaggedLayer) Tag() string + type ScionTaggedLayer struct + func (scn *ScionTaggedLayer) Clone() TaggedLayer + func (scn *ScionTaggedLayer) GenerateMac(hMac hash.Hash, infTag, hfTag, hfMacTag string) + func (scn *ScionTaggedLayer) Layer() gopacket.Layer + func (scn *ScionTaggedLayer) String() string + func (scn *ScionTaggedLayer) Update(lines []string) + func (t ScionTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t ScionTaggedLayer) Tag() string + type SignedRevInfoTaggedLayer struct + SRevInfo *path_mgmt.SignedRevInfo + func (i *SignedRevInfoTaggedLayer) Clone() TaggedLayer + func (i *SignedRevInfoTaggedLayer) Update(lines []string) + func (p *SignedRevInfoTaggedLayer) Layer() gopacket.Layer + func (t SignedRevInfoTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t SignedRevInfoTaggedLayer) Tag() string + type TaggedLayer interface + Clone func() TaggedLayer + Layer func() gopacket.Layer + SerializeOptions func() gopacket.SerializeOptions + Tag func() string + Update func([]string) + func EthernetParser(lines []string) TaggedLayer + func HBHParser(lines []string) TaggedLayer + func IFStateInfoParser(lines []string) TaggedLayer + func IFStateReqParser(lines []string) TaggedLayer + func IP4Parser(lines []string) TaggedLayer + func SCMPParser(lines []string) TaggedLayer + func ScionParser(lines []string) TaggedLayer + func SignedRevInfoParser(lines []string) TaggedLayer + func UDPParser(lines []string) TaggedLayer + type TaggedLayers []TaggedLayer + func ParsePacket(packetString string) TaggedLayers + func (taggedLayers TaggedLayers) CloneAndUpdate(packetString string) TaggedLayers + func (taggedLayers TaggedLayers) GenerateMac(scnTag string, hMac hash.Hash, infTag, hfTag, hfMacTag string) + func (taggedLayers TaggedLayers) GetTaggedLayer(tag string) TaggedLayer + func (taggedLayers TaggedLayers) Serialize() common.RawBytes + func (taggedLayers TaggedLayers) SetChecksum(l4Tag, l3Tag string) + func (taggedLayers TaggedLayers) String() string + func (taggedLayers TaggedLayers) Update(packetString string) + type UDPTaggedLayer struct + func (t UDPTaggedLayer) SerializeOptions() gopacket.SerializeOptions + func (t UDPTaggedLayer) Tag() string + func (udp *UDPTaggedLayer) Clone() TaggedLayer + func (udp *UDPTaggedLayer) Layer() gopacket.Layer + func (udp *UDPTaggedLayer) String() string + func (udp *UDPTaggedLayer) Update(lines []string)