Preparation for task #14369: Define ways to work with a netif having multiple ports
Add if_idx member to struct pbuf
This commit is contained in:
@@ -170,6 +170,9 @@ struct pbuf {
|
||||
* the stack itself, or pbuf->next pointers from a chain.
|
||||
*/
|
||||
LWIP_PBUF_REF_T ref;
|
||||
|
||||
/** For incoming packets, this contains the input netif's index */
|
||||
u8_t if_idx;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user