ipv4: ids

This commit is contained in:
Matheus
2024-06-17 19:27:51 -03:00
parent e45b1aa911
commit eea9cab357
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -27,6 +27,7 @@ typedef struct netdev_t {
mac_t mac;
size_t mtu;
uint32_t ip;
int ipcurrid; // XXX This is defined as something per peer. However, having only one of these *should* work for most cases
hashtable_t arpcache;
int (*allocdesc)(struct netdev_t *netdev, size_t requestedsize, netdesc_t *desc);
int (*freedesc)(struct netdev_t *netdev, netdesc_t *desc);