[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwIP tun ARP table
From: |
Sergio R. Caprile |
Subject: |
Re: [lwip-users] lwIP tun ARP table |
Date: |
Wed, 13 Jun 2018 09:46:41 -0300 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
I don't know what you mean by "lwIP tun ARP table", lwIP is oblivious to
tun/tap.
I guess you have an lwIP port running in a Linux machine, "connected" to
a tun/tap interface.
If you want to see the lwIP ARP table you go one place (e.g:
src/core/ipv4/etharp.c and discover the existence of static struct
etharp_entry arp_table[ARP_TABLE_SIZE];), if you want to see Linux ARP
table for that tun/tap interface, you go other place (e.g.: Google, and
discover that if you have procfs you can grep tun0 /proc/net/arp;
assuming 'tun0' is the name of the interface).