summaryrefslogtreecommitdiff
path: root/sys/net/radix.h
AgeCommit message (Collapse)Author
2012-12-28change the malloc(9) flags from M_DONTWAIT to M_NOWAIT; OK millert@Gleydson Soares
2012-07-10Place declarations for internal radix functions inside radix.c, stopBret Lambert
exporting them to the outside world via radix.h. ok claudio@ sthen@ henning@
2011-07-22fix typos, martin pelikanHenning Brauer
2010-06-28Add the rtable id as an argument to rn_walktree(). Functions likeClaudio Jeker
rt_if_remove_rtdelete() need to know the table id to be able to correctly remove nodes. Problem found by Andrea Parazzini and analyzed by Martin Pelikán. OK henning@
2008-11-07use do { } while (/* CONSTCOND */ 0) construct for all multi-line functional ↵Theo de Raadt
macros; ok otto
2008-05-07Implement routing priorities. Every route inserted has a priority assignedClaudio Jeker
and the one route with the lowest number wins. This will be used by the routing daemons to resolve the synchronisations issue in case of conflicts. The nasty bits of this are in the multipath code. If no priority is specified the kernel will choose an appropriate priority. Looked at by a few people at n2k8 code is much older
2006-06-16Cleanup radix.c, remove unused stuff, use nicer prototype definitions andClaudio Jeker
remove the ugly routed hacks. OK henning@, hshoexer@
2004-04-25radix tree with multipath support. from kame. deraadt okJun-ichiro itojun Hagino
user visible changes: - you can add multiple routes with same key (route add A B then route add A C) - you have to specify gateway address if there are multiple entries on the table (route delete A B, instead of route delete A) kernel change: - radix_node_head has an extra entry - rnh_deladdr takes extra argument TODO: - actually take advantage of multipath (rtalloc -> rtalloc_mpath)
2004-04-25sync with NetBSD, mostly a Lite2 merge.Brad Smith
ok itojun@
2003-08-27RNF_IGNORE can corrupt the radix tree when an interface is down, itHenric Jungheim
makes routing lookups slightly more expensive, and serves no useful purpose. ok itojun@ tedu@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-06-09By popular demand, protect from multiple inclusion, and fix to use theAngelos D. Keromytis
same naming style.
2000-06-17on ifconfig down ignore all routes pointing to the downed interface.Niels Provos
okay itojun@ deraadt@
1996-09-05remove ';' after function close '}'Michael Shalayeff
make it nicer w/ new routed.
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt