Skip to content

Commit ad471ec

Browse files
committed
docs: document PacketWithIface
1 parent 7944d73 commit ad471ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/types/view-devices/vRouter.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,11 @@ export class ViewRouter extends ViewNetworkDevice {
329329
}
330330
}
331331

332+
/**
333+
* A packet with the interface it was received on.
334+
* This is used to keep track of which interface the packet was received on
335+
* when it is enqueued in the packet queue.
336+
*/
332337
interface PacketWithIface {
333338
packet: IPv4Packet;
334339
iface: number;

0 commit comments

Comments
 (0)