NatEntry is the interface describing values to the NAT map.
| 43 | |
| 44 | // NatEntry is the interface describing values to the NAT map. |
| 45 | type NatEntry interface { |
| 46 | bpf.MapValue |
| 47 | |
| 48 | // ToHost converts fields to host byte order. |
| 49 | ToHost() NatEntry |
| 50 | |
| 51 | // Dumps the Nat entry as string. |
| 52 | Dump(key NatKey, toDeltaSecs func(uint64) string) string |
| 53 | } |
| 54 | |
| 55 | // A "Record" designates a map entry (key + value), but avoid "entry" because of |
| 56 | // possible confusion with "NatEntry" (actually the value part). |
no outgoing calls
no test coverage detected
searching dependent graphs…