diff options
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 0c6ee2c5099f..49736a31acaa 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1209,8 +1209,10 @@ struct net_device_ops { | |||
| 1209 | netdev_features_t features); | 1209 | netdev_features_t features); |
| 1210 | int (*ndo_set_features)(struct net_device *dev, | 1210 | int (*ndo_set_features)(struct net_device *dev, |
| 1211 | netdev_features_t features); | 1211 | netdev_features_t features); |
| 1212 | int (*ndo_neigh_construct)(struct neighbour *n); | 1212 | int (*ndo_neigh_construct)(struct net_device *dev, |
| 1213 | void (*ndo_neigh_destroy)(struct neighbour *n); | 1213 | struct neighbour *n); |
| 1214 | void (*ndo_neigh_destroy)(struct net_device *dev, | ||
| 1215 | struct neighbour *n); | ||
| 1214 | 1216 | ||
| 1215 | int (*ndo_fdb_add)(struct ndmsg *ndm, | 1217 | int (*ndo_fdb_add)(struct ndmsg *ndm, |
| 1216 | struct nlattr *tb[], | 1218 | struct nlattr *tb[], |
| @@ -3843,6 +3845,10 @@ void *netdev_lower_dev_get_private(struct net_device *dev, | |||
| 3843 | struct net_device *lower_dev); | 3845 | struct net_device *lower_dev); |
| 3844 | void netdev_lower_state_changed(struct net_device *lower_dev, | 3846 | void netdev_lower_state_changed(struct net_device *lower_dev, |
| 3845 | void *lower_state_info); | 3847 | void *lower_state_info); |
| 3848 | int netdev_default_l2upper_neigh_construct(struct net_device *dev, | ||
| 3849 | struct neighbour *n); | ||
| 3850 | void netdev_default_l2upper_neigh_destroy(struct net_device *dev, | ||
| 3851 | struct neighbour *n); | ||
| 3846 | 3852 | ||
| 3847 | /* RSS keys are 40 or 52 bytes long */ | 3853 | /* RSS keys are 40 or 52 bytes long */ |
| 3848 | #define NETDEV_RSS_KEY_LEN 52 | 3854 | #define NETDEV_RSS_KEY_LEN 52 |
