stackGVisor is ip stack implemented by gVisor package
| 33 | |
| 34 | // stackGVisor is ip stack implemented by gVisor package |
| 35 | type stackGVisor struct { |
| 36 | ctx context.Context |
| 37 | tun GVisorTun |
| 38 | idleTimeout time.Duration |
| 39 | handler *Handler |
| 40 | stack *stack.Stack |
| 41 | endpoint stack.LinkEndpoint |
| 42 | } |
| 43 | |
| 44 | // GVisorTun implements a bridge to connect gVisor ip stack to tun interface |
| 45 | type GVisorTun interface { |
nothing calls this directly
no outgoing calls
no test coverage detected