diff options
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r-- | include/linux/rtnetlink.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 6cacbce1a06c..5db76a32fcab 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
@@ -17,6 +17,11 @@ extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, | |||
17 | u32 id, long expires, u32 error); | 17 | u32 id, long expires, u32 error); |
18 | 18 | ||
19 | void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change, gfp_t flags); | 19 | void rtmsg_ifinfo(int type, struct net_device *dev, unsigned change, gfp_t flags); |
20 | struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev, | ||
21 | unsigned change, gfp_t flags); | ||
22 | void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev, | ||
23 | gfp_t flags); | ||
24 | |||
20 | 25 | ||
21 | /* RTNL is used as a global lock for all changes to network configuration */ | 26 | /* RTNL is used as a global lock for all changes to network configuration */ |
22 | extern void rtnl_lock(void); | 27 | extern void rtnl_lock(void); |
@@ -94,12 +99,15 @@ extern int ndo_dflt_fdb_add(struct ndmsg *ndm, | |||
94 | struct nlattr *tb[], | 99 | struct nlattr *tb[], |
95 | struct net_device *dev, | 100 | struct net_device *dev, |
96 | const unsigned char *addr, | 101 | const unsigned char *addr, |
97 | u16 flags); | 102 | u16 vid, |
103 | u16 flags); | ||
98 | extern int ndo_dflt_fdb_del(struct ndmsg *ndm, | 104 | extern int ndo_dflt_fdb_del(struct ndmsg *ndm, |
99 | struct nlattr *tb[], | 105 | struct nlattr *tb[], |
100 | struct net_device *dev, | 106 | struct net_device *dev, |
101 | const unsigned char *addr); | 107 | const unsigned char *addr, |
108 | u16 vid); | ||
102 | 109 | ||
103 | extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, | 110 | extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, |
104 | struct net_device *dev, u16 mode); | 111 | struct net_device *dev, u16 mode, |
112 | u32 flags, u32 mask); | ||
105 | #endif /* __LINUX_RTNETLINK_H */ | 113 | #endif /* __LINUX_RTNETLINK_H */ |