(src, dst, addr string)
| 31 | } |
| 32 | |
| 33 | func (n *NATTable) Set(src, dst, addr string) { |
| 34 | n.Lock.Lock() |
| 35 | defer n.Lock.Unlock() |
| 36 | n.Table[src+dst] = addr |
| 37 | } |
| 38 | |
| 39 | func (n *NATTable) Get(src, dst string) string { |
| 40 | n.Lock.Lock() |
no outgoing calls
no test coverage detected