summaryrefslogtreecommitdiff
path: root/include/linux/rtnetlink.h
AgeCommit message (Collapse)Author
2005-01-09[PKT_SCHED]: rtattr_parse shortcut for nested TLVsThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-01-09[NET]: Add rtnl_lock_interruptible()Christoph Hellwig
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-01-09[NET]: misc cleanupsAdrian Bunk
The patch below contains the following cleanups: - make needlessly global code static - remove the following unused global functions: - datagram.c: skb_copy_datagram - iovec.c: memcpy_tokerneliovec - remove the following unneeded EXPORT_SYMBOL's: - datagram.c: skb_copy_datagram - dev.c: ing_filter - iovec.c: memcpy_tokerneliovec - netpoll.c: netpoll_send_skb - rtnetlink.c: rtnetlink_dump_ifinfo - sock.c: sock_alloc_send_pskb Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-11-02[PKT_SCHED]: tcf_action: copy generic stats via TCA_ACT_STATSThomas Graf
Dumps the statistic common to all action modules via the newly introduced TLV type TCA_ACT_STATS in tcf_action_copy_stats but allows the corresponding module to dump its own statistic by implementing the get_stats callback. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-10-19[PKT_SCHED]: Use gnet_stats API to copy statistics into netlink messageThomas Graf
Adapts qdisc API to use new gnet_stats functions to copy statistics into netlink message. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-09-21[NET]: Fix ifmap alignment issues over rtnetlinkThomas Graf
Introduces a fixed size variant of ifmap for rtnetlink. Fixes issues with address size mismatch between kernel and userspace. Obviously this will fail if userspace provides an address greater than 32bit. Signed-off-by: Thomas Graf <tgraf@suug.ch> SIgned-off-by: David S. Miller <davem@davemloft.net>
2004-09-14[NET]: Convert RTM+_* to enum.Herbert Xu
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-09-08[NET]: Calculate RTATTR_MAX at run time.David S. Miller
This also solved a problem noticed by Thomas Graf in that RTATTR_MAX had become incorrect recently due to IFLA_MAX increasing and thus becomming the largest one. Signed-off-by: David S. Miller <davem@davemloft.net>
2004-09-01[NET]: Allow get/set of dev->weight via netlink.Eric Lemoine
Signed-off-by: David S. Miller <davem@davemloft.net>
2004-08-24[NET]: Device mtu/txqlen/ifmap via rtnetlink.Thomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@redhat.com>
2004-07-28[NET]: Kill rtnl_exlock stubs.Stephen Hemminger
Rtnetlink has some macro's that are relics from earlier locking. They are only used a couple of places so are easy to kill. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
2004-06-28[NETLINK]: Fix NLMSG_OK/RTA_OK length checking.Christoph Hellwig
Verify at least a full header is there before derefencing length struct member.
2004-06-15[NET]: Add tc extensions infrastructure.Jamal Hadi Salim
Signed-off-by: Jamal Hadi Salim <hadi@znyx.com> Signed-off-by: David S. Miller <davem@redhat.com>
2004-05-28[NET]: Prevent future missed updates of FOO_MAX macros.Hideaki Yoshifuji
2004-05-26Cset exclude: mashirle@us.ibm.com|ChangeSet|20040526204412|10895David S. Miller
2004-05-25[RTNETLINK]: IFA_MAX is wrong.Shirley Ma
2004-05-25[IPV6]: Add new IPv6 MIBs counters support through netlink.Shirley Ma
This patch implements both per interface and global new IPv6 MIBs counters through netlink based on new IP MIBs draft, 64 bit counters are not supported here because of performance issues. It coexists old IPv6 MIBs counters (which are through proc file system) for the compatibility.
2004-04-05[IPV6]: Provide ipv6 multicast/anycast addresses through netlink.Shirley Ma
2004-01-15Cset exclude: mashirle@us.ibm.com|ChangeSet|20040115231022|51079David S. Miller
2004-01-14[IPV6]: Add MIB:ipv6RouterAdvert netlink notification.Shirley Ma
2004-01-14[IPV6]: Add notification for MIB:ipv6Prefix events.Shirley Ma
2004-01-14[IPV6]: Implement MIB:ipv6InterfaceTableShirley Ma
2003-12-02[RTNETLINK]: Add RTPROT_XORP.Pavlin Radoslavov
2003-10-16[IPV6]: MIB fix, provide timestamps in ifa_cacheinfo.Shirley Ma
2003-09-22[NET]: rtnetlink -- ASSERT_RTNL and BUG_TRAP.Stephen Hemminger
Change ASSERT_RTNL and BUG_TRAP - unlikely to occur - tag message as error - dump_stack in ASSERT_RTNL to aide finding code path - make all format's which a smart compiler can optimize
2003-09-22[NET]: rtnetlink -- RTA_PUT unlikely.Stephen Hemminger
2003-09-22[NET]: rtnetlink -- rtattr_strcmp const args.Stephen Hemminger
2003-09-12[IPV6]: Export devconf device settings via netlink.Krishna Kumar
2003-09-04[NET]: Kill more verbose init msgs and unused RTNL_DEBUG define.David S. Miller
2003-07-25[NET]: Make IFLA_STATS arch independent.Alexey Kuznetsov
2003-07-22[IPV6]: Reporting of prefix routes via rtnetlink.Krishna Kumar
2003-06-25[TCP]: Sanitize initcwnd calculation, add new metrics.David S. Miller
1) Remove srtt etc. tests in tcp_init_cwnd, was buggy anyways. 2) Add RTAX_INITCWMD route metric, use this in tcp_init_cwnd() if non-zero. 3) Add RTAX_FEATURES (to enable/disable ECN/SACK/TIMESTAMPS on a per-route basis), currently unused.
2003-06-04o net: create struct sock_common and use in struct sock & tcp_tw_bucketArnaldo Carvalho de Melo
With this the data dependency is reduced to just making sure that the first member of both struct sock and struct tcp_tw_bucket are a struct sock_common. Also makes it easier to grep for struct sock and struct tcp_tw_bucket usage in the tree as all the members in those structs are prefixed, respectively, with sk_ and tw_, like struct inode (i_), struct block_device (bd_), etc. Checked namespace with make tags/ctags, just one colision with the macros for the struct sock members, with a wanrouter struct, fixed that s/sk_state/state_sk/g in the wanrouter struct. Checked as well if the names of the members in both structs collided with some macro, none found.
2003-06-03[NET]: Typo corrections only.Randy Dunlap
2003-05-19[NET]: More device register/unregister fixing.David S. Miller
Revert the rtnl_lock API change, it is totally unneeded. Instead we manage the todo work inside of net/core/dev.c Also, we have to move sbin hotplug invocation outside of the RTNL semaphore as well, both for register and unregister.
2003-05-19[NET]: Fix netdevice unregister races.David S. Miller
We had two major issues when unregistering networking devices. 1) Even trying to run hotplug asynchronously could deadlock if keventd was currently trying to get the RTNL semaphore in order to process linkwatch events. 2) Unregister needs to wait for the last reference to go away before the finalization of the unregister can execute. This cannot occur under the RTNL semaphore as this is deadlock prone as well. The solution is to do all of this stuff after dropping the RTNL semaphore. rtnl_lock, if it is about to protect a region of code that could unregister network devices, registers a list to which unregistered netdevs are attached. At rtnl_unlock time this list is processed to wait for refcounts to drop to zero and then finalize the unregister.
2003-05-15[NET]: Hoplimit is a metric not a route attribute.David S. Miller
2003-05-08[IPV6]: Pass route attributes all the way down.David S. Miller
2003-05-06[NET]: Spelling/typo fixes in rtnetlink.hRandy Dunlap
2003-02-23[IPV6]: Privacy Extensions for Stateless Address Autoconfiguration.Hideaki Yoshifuji
2003-01-06[NET]: Increase MAX_ADDR_LEN.Roland Dreier
- Add ARPHRD_INFINIBAND - Increase MAX_ADDR_LEN to 32 from 8 - Add suitable length protection to SIOCGIFHWADDR and friends. - Add RTM_SETLINK for portably setting larger hw addrs.
2002-10-24[NET]: Fix rtnetlink metric type, should be u32.Alexey Kuznetsov
2002-04-02[PATCH] Fix up broken do while macros.Dave Jones
2002-03-10[PATCH] New wireless driver API part 2Jean Tourrilhes
Quick summary : this patch build on the first part to offer two important new features : o Wireless Events o Wireless Cell Scanning Wireless Events are events generated by device, driver or the wireless subsystem. It allows for example a device to notify user space when it register to a new cell (roaming) or loose contact with the current Access Points. Currently, the other defined events include some configuration changes and packet drop due to excessive retries, more may come in the future. All those events are useful for MobileIP, V-Handoff and Ad-Hoc routing. Wireless Cell Scanning is a generic API to allow device/drive to report Wireless Cells discovered (including ESSID, frequency and QoS). This is similar to what is available in WindowsXP (except that it's compliant to Wireless Extensions). This patch has been submitted for review on this list a couple of time in January, has been on my web page since and used intensively by other people. It was rediffed to 2.5.6. Driver patches have been submitted to maintainers.
2002-02-05v2.5.2.3 -> v2.5.2.4Linus Torvalds
- Patrick Mochel: initcall levels - Patrick Mochel: devicefs updates, add PCI devices into the hierarchy - Denis Oliver Kropp: neomagic fb driver - David Miller: sparc64 and network updates - Kai Mäkisara: scsi tape update - Al Viro: more inode trimming, VFS cleanup - Greg KH: USB update - proper urb allocations - Eric Raymond: kdev_t updates for fb devices
2002-02-05v2.5.2 -> v2.5.2.1Linus Torvalds
- Al Viro: fix up silly problem in swapfile filp cleanups in 2.5.2 - Tachino Nobuhiro: fix another error return for swapfile filp code - Robert Love: merge some of Ingo's scheduler fixes - David Miller: networking, sparc and some scsi driver fixes - Tim Waugh: parport update - OGAWA Hirofumi: fatfs cleanups and bugfixes - Roland Dreier: fix vsscanf buglets. - Ben LaHaise: include file cleanup - Andre Hedrick: IDE taskfile update
2002-02-04v2.4.7 -> v2.4.7.1Linus Torvalds
- Anton Altaparmakov: NTFS error checking - Johannes Erdfelt: USB updates - OGAWA Hirofumi: FAT update - Alan Cox: driver + s390 update merge - Richard Henderson: fix alpha sigsuspend error return value - Marcelo Tosatti: per-zone VM shortage - Daniel Phillips: generic use-once optimization instead of drop-behind - Bjorn Wesen: Cris architecture update - Anton Altaparmakov: support for Windows Dynamic Disks - James Washer: LDT loading SMP bug fix
2002-02-04Import changesetLinus Torvalds