mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 15:25:24 +00:00
netdev_lowerhalf: add reclaim callback in netdev_ops_s
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
ff7eda46e7
commit
d740a8e73c
2 changed files with 14 additions and 1 deletions
|
|
@ -168,6 +168,10 @@ struct netdev_ops_s
|
|||
int (*ioctl)(FAR struct netdev_lowerhalf_s *dev, int cmd,
|
||||
unsigned long arg);
|
||||
#endif
|
||||
|
||||
/* reclaim - try to reclaim packets sent by netdev. */
|
||||
|
||||
void (*reclaim)(FAR struct netdev_lowerhalf_s *dev);
|
||||
};
|
||||
|
||||
/* This structure is a set of wireless handlers, leave unsupported operations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue