Loopback contains the header for loopback encapsulation. This header is used by both BSD and OpenBSD style loopback decoding (pcap's DLT_NULL and DLT_LOOP, respectively).
| 18 | // used by both BSD and OpenBSD style loopback decoding (pcap's DLT_NULL |
| 19 | // and DLT_LOOP, respectively). |
| 20 | type Loopback struct { |
| 21 | BaseLayer |
| 22 | Family ProtocolFamily |
| 23 | } |
| 24 | |
| 25 | // LayerType returns LayerTypeLoopback. |
| 26 | func (l *Loopback) LayerType() gopacket.LayerType { return LayerTypeLoopback } |
nothing calls this directly
no outgoing calls
no test coverage detected