neigh: Add device constructor/destructor capability.
If the neigh entry has device private state, it will need constructor/destructor ops. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
869759b9e4
commit
da6a8fa027
2 changed files with 16 additions and 1 deletions
|
|
@ -974,6 +974,8 @@ struct net_device_ops {
|
|||
netdev_features_t features);
|
||||
int (*ndo_set_features)(struct net_device *dev,
|
||||
netdev_features_t features);
|
||||
int (*ndo_neigh_construct)(struct neighbour *n);
|
||||
int (*ndo_neigh_destroy)(struct neighbour *n);
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue