From 8e005d0f13767db538e3d939188d73370db9042d Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 27 Sep 2018 14:30:33 +0200 Subject: added linux tap support for fool's network stack --- net/netdev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'net/netdev.c') diff --git a/net/netdev.c b/net/netdev.c index 863661d..1177891 100644 --- a/net/netdev.c +++ b/net/netdev.c @@ -10,6 +10,7 @@ void net_incoming(struct netdev *netdev, struct eth_hdr *hdr) { + klog("frame incoming: type [0x%04x]",hdr->ethertype); if(hdr->ethertype==htons(ETH_P_ARP))arp_incoming(netdev,hdr); if(hdr->ethertype==htons(ETH_P_IPV4))ipv4_incoming(netdev,hdr); } -- cgit v1.2.3