Implementing the L2/L3 portion of the network driver.