]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/rtnetlink.h
[RTNETLINK]: Add rtnetlink notification interface
[net-next-2.6.git] / include / linux / rtnetlink.h
index 0e4f478e2cb56b34bacb8838592a57d32ebc80cc..ecbe0349060c7eb954234df1fa860b7a081aa5be 100644 (file)
@@ -585,6 +585,9 @@ struct rtnetlink_link
 extern struct rtnetlink_link * rtnetlink_links[NPROTO];
 extern int rtnetlink_send(struct sk_buff *skb, u32 pid, u32 group, int echo);
 extern int rtnl_unicast(struct sk_buff *skb, u32 pid);
+extern int rtnl_notify(struct sk_buff *skb, u32 pid, u32 group,
+                      struct nlmsghdr *nlh, gfp_t flags);
+extern void rtnl_set_sk_err(u32 group, int error);
 extern int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics);
 
 extern void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const void *data);