network: use queue to configure bridge FDB
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "networkd-link.h"
|
||||
|
||||
typedef struct Address Address;
|
||||
typedef struct BridgeFDB BridgeFDB;
|
||||
typedef struct Neighbor Neighbor;
|
||||
typedef struct NextHop NextHop;
|
||||
typedef struct Route Route;
|
||||
@@ -18,6 +19,7 @@ typedef void (*request_on_free_handler_t)(Request*);
|
||||
|
||||
typedef enum RequestType {
|
||||
REQUEST_TYPE_ADDRESS,
|
||||
REQUEST_TYPE_BRIDGE_FDB,
|
||||
REQUEST_TYPE_NEIGHBOR,
|
||||
REQUEST_TYPE_NEXTHOP,
|
||||
REQUEST_TYPE_ROUTE,
|
||||
@@ -32,6 +34,7 @@ typedef struct Request {
|
||||
bool consume_object;
|
||||
union {
|
||||
Address *address;
|
||||
BridgeFDB *fdb;
|
||||
Neighbor *neighbor;
|
||||
NextHop *nexthop;
|
||||
Route *route;
|
||||
|
||||
Reference in New Issue
Block a user