linux layer2 api added