diff options
| author | Miguel <m.i@gmx.at> | 2018-09-27 14:30:33 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-27 14:30:33 +0200 |
| commit | 8e005d0f13767db538e3d939188d73370db9042d (patch) | |
| tree | a9b320d6b3da7137348019de70846bdf8aa03246 /net/netdev.c | |
| parent | 05d86ed530c05ba3f8648ffd7e67f4a593ae58d8 (diff) | |
added linux tap support for fool's network stack
Diffstat (limited to 'net/netdev.c')
| -rw-r--r-- | net/netdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |
