func NewNIC() NIC {
	nic := new(miniosNIC)

	nic.tx = make(chan Packet)
	nic.rx = make(chan Packet)
	nic.done = make(chan struct{})

	return nic
}
// NewNIC creates a new NIC linked to the Mini-OS network.
NewNIC creates a new NIC linked to the Mini-OS network.
// NewNIC creates a new NIC linked to the Mini - OS network .
func NewNIC() NIC {
	nic := new(miniosNIC)
	nic.tx = make(chan Packet)
	nic.rx = make(chan Packet)
	nic.done = make(chan struct{})
	return nic
}
func NewNIC ( ) NIC { nic := new ( miniosNIC ) nic . tx = make ( chan Packet ) nic . rx = make ( chan Packet ) nic . done = make ( chan struct { } ) return nic }
NewNIC creates a new NIC linked to the Mini-OS network.
NewNIC creates a new NIC linked to the Mini - OS network .