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:
committed by
David S. Miller
parent
869759b9e4
commit
da6a8fa027
@ -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);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user