summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/util.c
AgeCommit message (Expand)Author
2018-12-30add support for IPv6 VPN routesdenis
2018-12-11Refactor aspath code a bit. Move cached source_as (for origin validation)Claudio Jeker
2018-09-26Instead of checking that a segement is not of type AS_SET do the checkClaudio Jeker
2018-09-20Split up as_set into a set_table and an as_set. The first is what doesClaudio Jeker
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2018-09-20Fix the empty aspath segments check. seg_size is never 0, this needs to useClaudio Jeker
2018-09-20Fix an out of bound read that could crash the RDE because it touchedClaudio Jeker
2018-09-14Extend as_set to allow for different sized objects to be added. The onlyClaudio Jeker
2018-09-07Implement as-set a fast lookup table to be used instead of long list ofClaudio Jeker
2018-09-05Change the way as_compare() and aspath_match() handle 'neighbor-as'. InsteadClaudio Jeker
2018-09-04Introduce inet4applymask() which does the same as inet6applymask() andClaudio Jeker
2018-08-29When checking for AS 0 make sure the full ASPATH is validated and don'tClaudio Jeker
2018-08-10Make the AS_SET handling for source-as even simpler. It is enough to onlyClaudio Jeker
2018-08-09Improve handling of source-as when an AS_SET is rightmost. In that caseClaudio Jeker
2018-07-22Move functions to print link status etc. to util.c so that bgpd can use themClaudio Jeker
2018-07-20Move the nlri_get_prefix functions to util.c so that bgpctl can use them too.Claudio Jeker
2018-07-13Move aspath_verify() and aspath_inflate() into util.c so bgpctl can use them.Claudio Jeker
2017-05-31Rework the way we do extended communities (mainly in the parser) and updateClaudio Jeker
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2017-01-23Make util.c fatal() free by allowing undefined behaviour in prefix_compare.Claudio Jeker
2017-01-13Add support for draft-ietf-idr-shutdownPeter Hessler
2016-06-03Add operators =, !=, - (range), >< (exclsive range) to the as-pathSebastian Benoit
2015-10-24seg_type is only set but never used. So remove it. Someone reported thisClaudio Jeker
2014-11-11Adjust aspath_strlen() since the output format changed to ASPLAIN.Claudio Jeker
2014-11-11The default output format for 32bit AS numbers has moved from AS_DOT+Peter Hessler
2013-10-30use more careful format strings to deal with various forms of AS#'sTheo de Raadt
2013-10-19Merge the prefix and prefixlen filter bits into one filter. Change theClaudio Jeker
2013-09-27typo in macro name; no md5 changeStuart Henderson
2011-09-20Move a few functions into util.c because bgpctl will need them soon.Claudio Jeker
2010-11-18Accept but ignore (treat as withdraw) updates with AS_CONFED_* pathClaudio Jeker
2010-10-24the subtype should be printed unsigned; ok claudioTheo de Raadt
2010-03-29Implement a log_rd() function to print the route destinguisher in a niceClaudio Jeker
2010-01-13Add support for BGP MPLS VPN aka RFC 4364. This is only the RDE part soClaudio Jeker
2009-12-16Implement "set ext-community [delete] subtype key:value" to set and deleteClaudio Jeker
2009-12-08Big AID change part two. This changes the mp capability into an array ofClaudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-06-12Move prefixlen2mask and inet6applymask to util.c so that we can kill theClaudio Jeker
2008-11-06Mixed up characters found by Gleydson Soares.Claudio Jeker
2008-03-17two small bugs in printing funcs:Henning Brauer
2007-05-11Various spelling fixes from Stuart Henderson.Claudio Jeker
2007-04-23Make bgpd 4-byte AS compatible. All internal representations of AS numbersClaudio Jeker
2006-01-03Move functions shared with bgpctl into new file util.c. Simplifies theClaudio Jeker