summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/kroute.c
AgeCommit message (Expand)Author
2008-07-24Use memcpy() and memcmp() like everywhere else in ospfd. OK norby@Claudio Jeker
2008-06-13Simplify ROUNDUP() macro, it does not need the additional size argument.Claudio Jeker
2008-05-09insert/delete routes w/ prio RTP_OSPFHenning Brauer
2008-05-05Use rtm_hdrlen instead of the static header length. OK norby@Claudio Jeker
2007-10-17From ripd: Add missing RTM_VERSION checksClaudio Jeker
2007-10-01fix alot of whitespace problems...Esben Norby
2007-09-25Last missing piece in the equal cost multipath support for ospfd.Claudio Jeker
2007-07-23when multipath routes exist, display them in ospfctl sh fib output.Pierre-Yves Ritschard
2007-06-19add support for mapping route labels to AS-external route tags.Reyk Floeter
2007-06-13Ingnore updates that did not change the route. This enhances the signal toClaudio Jeker
2007-06-12When removeing as-ext LSA initialise the metric to some sane default elseClaudio Jeker
2007-05-22Rework the way how ospfd fetches and tracks interfaces. Try to merge theClaudio Jeker
2007-04-19Use iovecs to write routing messages to the socket instead of a staticClaudio Jeker
2007-04-12Before starting to evaluate the redistributon of a route it helps to setClaudio Jeker
2007-03-27First step to make ospfd equal cost multipath aware.Claudio Jeker
2007-03-13Don't call rtlabel_unref() twice on RTM_DELETE. kroute_remove() does itClaudio Jeker
2007-03-13rtm_tableid is only valid for RTM_ADD, RTM_CHANGE and RTM_DELETE but notClaudio Jeker
2007-02-25copy mis-aligned routing socket message into a properly aligned struct, soTheo de Raadt
2007-02-24spelling; sthen@spacehopperTheo de Raadt
2007-02-01kr_reload() -- another helper function for reload support. This oneClaudio Jeker
2006-12-13Doh! I forgot the change from kroute to rroute in the deletion case.Claudio Jeker
2006-12-07Make it possible to set the metric and LSA type for redistributed routes.Claudio Jeker
2006-11-28add additional link states to report the half duplex / full duplexReyk Floeter
2006-11-28mib we pass to sysctl when fetching the routing table has 7 entries now,Henning Brauer
2006-11-17Support for multiple networks on one interface. Until now only the mainClaudio Jeker
2006-11-16ignore routing messages for alternate tables for now, from bgpdHenning Brauer
2006-05-30Now that rtlabels are accessable via sysctl we can use route lables toClaudio Jeker
2006-05-27Revert last commit. Having ifindex of 0 is an error and needs to be reported.Claudio Jeker
2006-04-28do not log "interface with index 0 not found". ifindex == 0 happens onHenning Brauer
2006-04-25ARGSUSED for event handler.Claudio Jeker
2006-04-18struct kif_kr is not used in ospfd.Claudio Jeker
2006-04-16KNFHenning Brauer
2006-04-16only look at later rt_msghdr fields for those messages actually usingHenning Brauer
2006-03-08Fix logic of the kroute code. First of all there was a porblem if a prefixClaudio Jeker
2006-01-23Kill stupid comment. "not reached" after a continue is superfluous.Claudio Jeker
2006-01-12Rewrite the redistribute code. The previous implementation was stupid andClaudio Jeker
2006-01-12Change inet_addr("127.0.0.1") into htonl(INADDR_LOOPBACK) and similar.Claudio Jeker
2006-01-05Make ospfd respect carp(4) interfaces and their weird behaviour. They willClaudio Jeker
2005-12-14Replace strlcpy() with memcpy() in the sockaddr_dl handling. sdl_data isClaudio Jeker
2005-08-08tab before newline.Claudio Jeker
2005-06-26Do not automaticaly announce routes that have RTF_DYNAMIC set. These routesClaudio Jeker
2005-05-24Only redistribute networks if the interface they depend on is actuallyClaudio Jeker
2005-05-24Set ifindex for all kernel routes. This makes it very easy to track theClaudio Jeker
2005-05-13The NET_RT_IFLIST sysctl returns RTM_IFINFO and RTM_NEWADDR messages inClaudio Jeker
2005-04-16Set F_STATIC flag earlier else the default route will end up as non-static.Claudio Jeker
2005-04-12Support for self originated AS-external LSA.Claudio Jeker
2005-03-31Add support for crypt authentication (MD5).Esben Norby
2005-03-26Implement the IMSG_CTL_IFINFO bits correctly. This is needed forClaudio Jeker
2005-03-26kroute.c cleanup, simplify code and remove unused functions.Claudio Jeker
2005-03-23The interface name in struct sockaddr_dl may not be nul terminated andClaudio Jeker