(ctx context.Context, id tcpip.NICID, nicInfo *stack.NICInfo)
| 93 | } |
| 94 | |
| 95 | func (s *Stack) sendDeleteEvent(ctx context.Context, id tcpip.NICID, nicInfo *stack.NICInfo) { |
| 96 | if s.eventSubscriber == nil { |
| 97 | return |
| 98 | } |
| 99 | s.eventSubscriber.OnInterfaceDeleteEvent(ctx, int32(id), makeInterfaceInfo(nicInfo)) |
| 100 | } |
| 101 | |
| 102 | // Destroy implements inet.Stack.Destroy. |
| 103 | func (s *Stack) Destroy() { |
no test coverage detected