diff options
author | David Miller <davem@davemloft.net> | 2011-07-25 00:01:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-30 18:48:03 -0500 |
commit | da6a8fa0275e2178c44a875374cae80d057538d1 (patch) | |
tree | 6a9df6b3b9e268ca463fdb47d9041883acc923ea /include/linux/netdevice.h | |
parent | 869759b9e4160fb8a8d25bc3b4ce3b658523aebb (diff) | |
download | op-kernel-dev-da6a8fa0275e2178c44a875374cae80d057538d1.zip op-kernel-dev-da6a8fa0275e2178c44a875374cae80d057538d1.tar.gz |
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>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 5462c2c..1c4ddb3 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -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); }; /* |