network: netdev: use request queue to create independent netdevs
This commit is contained in:
@@ -28,6 +28,7 @@ typedef enum RequestType {
|
||||
REQUEST_TYPE_IPV6_PROXY_NDP,
|
||||
REQUEST_TYPE_NDISC,
|
||||
REQUEST_TYPE_NEIGHBOR,
|
||||
REQUEST_TYPE_NETDEV_INDEPENDENT,
|
||||
REQUEST_TYPE_NETDEV_STACKED,
|
||||
REQUEST_TYPE_NEXTHOP,
|
||||
REQUEST_TYPE_RADV,
|
||||
@@ -66,6 +67,10 @@ typedef struct Request {
|
||||
|
||||
void request_drop(Request *req);
|
||||
|
||||
int netdev_queue_request(
|
||||
NetDev *netdev,
|
||||
Request **ret);
|
||||
|
||||
int link_queue_request(
|
||||
Link *link,
|
||||
RequestType type,
|
||||
|
||||
Reference in New Issue
Block a user