summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpd/util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add RTR support to OpenBGPD. Add basic support for the protocol.claudio2021-02-161-1/+33
* RFC6472 discourages the use of AS_SET segements in ASPATH attributes.claudio2021-01-251-2/+8
* Change struct bgpd_addr VPN encoding. Instead of including two almostclaudio2021-01-181-86/+52
* Revert part of the last addr2sa change. When addr is NULL or AID_UNSPECclaudio2021-01-051-4/+4
* Add AID_VPN_IPv[46] support to addr2sa. It only converts the address partclaudio2021-01-051-15/+28
* Use log_sockaddr() in log_addr() to print a struct bgpd_addr. This wayclaudio2021-01-041-6/+4
* Move tmp16 declaration into the #ifdef __KAME__ block to remove a compilerclaudio2020-10-211-2/+2
* In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')deraadt2020-05-101-3/+3
* Store local-address by address family. This allows to configure bothclaudio2020-04-231-2/+2
* Move the code to figure out the alternate IP address (IPv6 addr for IPv4claudio2020-02-121-1/+20
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-031-3/+3
* Cleanup, remove some unneded spaces add some other where needed.claudio2019-06-171-2/+2
* Include endian.h since htobe* or be*toh is used. Helps with protable.claudio2019-04-101-1/+2
* Convert the remote and local addresses in struct peer to be bgpd_addrsclaudio2019-02-271-2/+6
* Add support for '*', local-as and neighbor-as for ext-community matchingclaudio2019-02-261-3/+3
* Media and link states are highly OS dependent, to make porting easierclaudio2019-02-211-58/+10
* Use (unsigned) long long instead of (u_)int64_t since that drops theclaudio2019-02-181-2/+2
* Do not depend on the length field of struct sockaddr instead pass theclaudio2019-02-181-8/+7
* Use the posix version of betoh64() which is spelled be64toh() this is moreclaudio2019-02-151-6/+6
* add support for IPv6 VPN routesdenis2018-12-301-4/+105
* Refactor aspath code a bit. Move cached source_as (for origin validation)claudio2018-12-111-105/+1
* Instead of checking that a segement is not of type AS_SET do the checkclaudio2018-09-261-4/+4
* Split up as_set into a set_table and an as_set. The first is what doesclaudio2018-09-201-2/+2
* whitespace cleanup, ok claudio@benno2018-09-201-3/+3
* Fix the empty aspath segments check. seg_size is never 0, this needs to useclaudio2018-09-201-5/+5
* Fix an out of bound read that could crash the RDE because it touchedclaudio2018-09-201-4/+4
* Extend as_set to allow for different sized objects to be added. The onlyclaudio2018-09-141-2/+2
* Implement as-set a fast lookup table to be used instead of long list ofclaudio2018-09-071-2/+6
* Change the way as_compare() and aspath_match() handle 'neighbor-as'. Insteadclaudio2018-09-051-15/+33
* Introduce inet4applymask() which does the same as inet6applymask() andclaudio2018-09-041-1/+10
* When checking for AS 0 make sure the full ASPATH is validated and don'tclaudio2018-08-291-2/+2
* Make the AS_SET handling for source-as even simpler. It is enough to onlyclaudio2018-08-101-10/+10
* Improve handling of source-as when an AS_SET is rightmost. In that caseclaudio2018-08-091-30/+37
* Move functions to print link status etc. to util.c so that bgpd can use themclaudio2018-07-221-1/+74
* Move the nlri_get_prefix functions to util.c so that bgpctl can use them too.claudio2018-07-201-1/+143
* Move aspath_verify() and aspath_inflate() into util.c so bgpctl can use them.claudio2018-07-131-1/+107
* Rework the way we do extended communities (mainly in the parser) and updateclaudio2017-05-311-21/+13
* sync log.c from relayd et al to bgpd.benno2017-01-241-1/+2
* Make util.c fatal() free by allowing undefined behaviour in prefix_compare.claudio2017-01-231-6/+8
* Add support for draft-ietf-idr-shutdownphessler2017-01-131-1/+11
* Add operators =, !=, - (range), >< (exclsive range) to the as-pathbenno2016-06-031-18/+33
* seg_type is only set but never used. So remove it. Someone reported thisclaudio2015-10-241-4/+2
* Adjust aspath_strlen() since the output format changed to ASPLAIN.claudio2014-11-111-27/+5
* The default output format for 32bit AS numbers has moved from AS_DOT+phessler2014-11-111-10/+5
* use more careful format strings to deal with various forms of AS#'sderaadt2013-10-301-4/+4
* Merge the prefix and prefixlen filter bits into one filter. Change theclaudio2013-10-191-1/+5
* typo in macro name; no md5 changesthen2013-09-271-2/+2
* Move a few functions into util.c because bgpctl will need them soon.claudio2011-09-201-1/+122
* Accept but ignore (treat as withdraw) updates with AS_CONFED_* pathclaudio2010-11-181-15/+41
* the subtype should be printed unsigned; ok claudioderaadt2010-10-241-2/+2