diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-08-07 20:57:44 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:54:01 -0400 |
commit | 9067c722cf6930adf1df2d169de9094dd90b0c33 (patch) | |
tree | eb2133038cbd85bbf55b5acd2d5297f03357e45b /net/core | |
parent | 8b8aec508302d4e63fd88f47894805115277f70f (diff) |
[NEIGH]: Move netlink neighbour bits to linux/neighbour.h
Moves netlink neighbour bits to linux/neighbour.h. Also
moves bits to be exported to userspace from net/neighbour.h
to linux/neighbour.h and removes __KERNEL__ guards, userspace
is not supposed to be using it.
rtnetlink_rcv_msg() is not longer required to parse attributes
for the neighbour layer, remove dependency on obsolete and
buggy rta_buf.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 93ba04fb8444..78ccbd4c4e37 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -104,7 +104,6 @@ static const int rtm_min[RTM_NR_FAMILIES] = | |||
104 | [RTM_FAM(RTM_NEWLINK)] = NLMSG_LENGTH(sizeof(struct ifinfomsg)), | 104 | [RTM_FAM(RTM_NEWLINK)] = NLMSG_LENGTH(sizeof(struct ifinfomsg)), |
105 | [RTM_FAM(RTM_NEWADDR)] = NLMSG_LENGTH(sizeof(struct ifaddrmsg)), | 105 | [RTM_FAM(RTM_NEWADDR)] = NLMSG_LENGTH(sizeof(struct ifaddrmsg)), |
106 | [RTM_FAM(RTM_NEWROUTE)] = NLMSG_LENGTH(sizeof(struct rtmsg)), | 106 | [RTM_FAM(RTM_NEWROUTE)] = NLMSG_LENGTH(sizeof(struct rtmsg)), |
107 | [RTM_FAM(RTM_NEWNEIGH)] = NLMSG_LENGTH(sizeof(struct ndmsg)), | ||
108 | [RTM_FAM(RTM_NEWRULE)] = NLMSG_LENGTH(sizeof(struct fib_rule_hdr)), | 107 | [RTM_FAM(RTM_NEWRULE)] = NLMSG_LENGTH(sizeof(struct fib_rule_hdr)), |
109 | [RTM_FAM(RTM_NEWQDISC)] = NLMSG_LENGTH(sizeof(struct tcmsg)), | 108 | [RTM_FAM(RTM_NEWQDISC)] = NLMSG_LENGTH(sizeof(struct tcmsg)), |
110 | [RTM_FAM(RTM_NEWTCLASS)] = NLMSG_LENGTH(sizeof(struct tcmsg)), | 109 | [RTM_FAM(RTM_NEWTCLASS)] = NLMSG_LENGTH(sizeof(struct tcmsg)), |
@@ -121,7 +120,6 @@ static const int rta_max[RTM_NR_FAMILIES] = | |||
121 | [RTM_FAM(RTM_NEWLINK)] = IFLA_MAX, | 120 | [RTM_FAM(RTM_NEWLINK)] = IFLA_MAX, |
122 | [RTM_FAM(RTM_NEWADDR)] = IFA_MAX, | 121 | [RTM_FAM(RTM_NEWADDR)] = IFA_MAX, |
123 | [RTM_FAM(RTM_NEWROUTE)] = RTA_MAX, | 122 | [RTM_FAM(RTM_NEWROUTE)] = RTA_MAX, |
124 | [RTM_FAM(RTM_NEWNEIGH)] = NDA_MAX, | ||
125 | [RTM_FAM(RTM_NEWRULE)] = FRA_MAX, | 123 | [RTM_FAM(RTM_NEWRULE)] = FRA_MAX, |
126 | [RTM_FAM(RTM_NEWQDISC)] = TCA_MAX, | 124 | [RTM_FAM(RTM_NEWQDISC)] = TCA_MAX, |
127 | [RTM_FAM(RTM_NEWTCLASS)] = TCA_MAX, | 125 | [RTM_FAM(RTM_NEWTCLASS)] = TCA_MAX, |