diff options
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r-- | include/linux/rtnetlink.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 1e5f6730ff31..ba3254ecf7fb 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
@@ -217,6 +217,7 @@ enum | |||
217 | #define RTPROT_DNROUTED 13 /* DECnet routing daemon */ | 217 | #define RTPROT_DNROUTED 13 /* DECnet routing daemon */ |
218 | #define RTPROT_XORP 14 /* XORP */ | 218 | #define RTPROT_XORP 14 /* XORP */ |
219 | #define RTPROT_NTK 15 /* Netsukuku */ | 219 | #define RTPROT_NTK 15 /* Netsukuku */ |
220 | #define RTPROT_DHCP 16 /* DHCP client */ | ||
220 | 221 | ||
221 | /* rtm_scope | 222 | /* rtm_scope |
222 | 223 | ||
@@ -622,8 +623,8 @@ static __inline__ int rtattr_strcmp(const struct rtattr *rta, const char *str) | |||
622 | 623 | ||
623 | extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo); | 624 | extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo); |
624 | extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid); | 625 | extern int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid); |
625 | extern int rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, | 626 | extern void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, |
626 | struct nlmsghdr *nlh, gfp_t flags); | 627 | u32 group, struct nlmsghdr *nlh, gfp_t flags); |
627 | extern void rtnl_set_sk_err(struct net *net, u32 group, int error); | 628 | extern void rtnl_set_sk_err(struct net *net, u32 group, int error); |
628 | extern int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics); | 629 | extern int rtnetlink_put_metrics(struct sk_buff *skb, u32 *metrics); |
629 | extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, | 630 | extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, |