]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/blobdiff - src/include/lwip/opt.h
added netif remove callback (bug #32397)
[pes-rpp/rpp-lwip.git] / src / include / lwip / opt.h
index 8ae6ba4d58df5489a0cb411c64daa5fda4f03f53..a345a14938838a94ee569ba45c9795b287a06dd6 100644 (file)
 #define LWIP_NETIF_LINK_CALLBACK        0
 #endif
 
+/**
+ * LWIP_NETIF_REMOVE_CALLBACK==1: Support a callback function that is called
+ * when a netif has been removed
+ */
+#ifndef LWIP_NETIF_REMOVE_CALLBACK
+#define LWIP_NETIF_REMOVE_CALLBACK      0
+#endif
+
 /**
  * LWIP_NETIF_HWADDRHINT==1: Cache link-layer-address hints (e.g. table
  * indices) in struct netif. TCP and UDP can make use of this to prevent