EncodeLayers returns the layers that make up this packet. They can be passed to an Encoder to serialize into RawPacket
()
| 31 | IPLayer() *IP |
| 32 | // EncodeLayers returns the layers that make up this packet. They can be passed to an Encoder to serialize into RawPacket |
| 33 | EncodeLayers() ([]gopacket.SerializableLayer, error) |
| 34 | } |
| 35 | |
| 36 | // IP represents a generic IP packet. It can be embedded in more specific IP protocols |
no outgoing calls