summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
AgeCommit message (Expand)Author
2019-08-13When allocating a new peer set the reconf_action to RECONF_REINIT.Claudio Jeker
2019-08-08Set the reconf state of listening addrs to RECONF_REINIT. This is whatClaudio Jeker
2019-08-07Improve RIB reload behaviour. Especially when the rtable changes or theClaudio Jeker
2019-08-07Only templates can have a remote-as of 0 (as in uninitalised, trust the ASClaudio Jeker
2019-08-05Cleanup config reload in the RDE. Use the bgpd_conf struct to store setsClaudio Jeker
2019-07-24mrt.h only needs to be included by mrt.cSebastian Benoit
2019-07-24Refactor the way RIBs are parsed a bit. No functional change but shouldClaudio Jeker
2019-07-23Clean up RIB related kroute code. Introduce a way to flush a FIB tableClaudio Jeker
2019-07-17Change the Adj-RIB-Out to a per peer set of RB trees. The way RIB dataClaudio Jeker
2019-06-22Adjust peer id allocation a bit. Use defines for the various specialClaudio Jeker
2019-06-17Cleanup, remove some unneded spaces add some other where needed.Claudio Jeker
2019-06-17Completley rewrite the community matching and handling code. All communityClaudio Jeker
2019-05-31Also check the type of a network statement when looking for duplicates.Claudio Jeker
2019-05-27Switch the peer TAILQ to a RB tree indexed by the peer id. This wayClaudio Jeker
2019-05-03Make sure that the as-set name is not too long when parsing the config file.Claudio Jeker
2019-04-10Include endian.h since htobe* or be*toh is used. Helps with protable.Claudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-03-15Set all default values in init_config in parse.y and remove the specialClaudio Jeker
2019-03-09Unbreak 'announce inet none' which was actually clearing way too much.Claudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-02-27Fix export none. none became a keyword some time ago and so this broke.Claudio Jeker
2019-02-26Add support for '*', local-as and neighbor-as for ext-community matchingClaudio Jeker
2019-02-18Add stdlib.h since bsearch and strtoul need it.Claudio Jeker
2019-02-18Initialize type and subtype because modern gcc complains about it.Claudio Jeker
2019-02-18Drop netmpls/mpls.h include, not needed here.Claudio Jeker
2019-02-18Use (unsigned) long long instead of (u_)int64_t since that drops theClaudio Jeker
2019-02-18Do not depend on the length field of struct sockaddr instead pass theClaudio Jeker
2019-02-15Remove stray ',' at end of a yacc rule. Noticed by bison.Claudio Jeker
2019-02-15Use the posix version of betoh64() which is spelled be64toh() this is moreClaudio Jeker
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
2019-02-12Move the yyerror in case get_mpe_config fails. If bgpd -n is used justClaudio Jeker
2019-02-11The definition of VPNs in bgpd was never super elegant. The 'depend onClaudio Jeker
2019-02-04Implement as-override, a feature where the neighbor AS is replaced by theClaudio Jeker
2018-12-30add support for IPv6 VPN routesdenis
2018-12-28set conf.capabilities.mp to 0 by defaultdenis
2018-12-19Fold ext-communities into filter_community so that bgpd can matchClaudio Jeker
2018-12-06Implement a simple ruleset optimizer. All it does is merge filter rules thatClaudio Jeker
2018-11-28Start reworking community handling. Merge standard communities and largeClaudio Jeker
2018-11-18Use correct name when printing the error message that a network prefix-setClaudio Jeker
2018-11-01- odd condition/test in PF lexerAlexandr Nedvedicky
2018-09-29Implement origin validation in bgpd. This introduces two new tables, theClaudio Jeker
2018-09-27unbreak "inet" and "inet6" aliases in filters after rev. 1.333Sebastian Benoit
2018-09-21Both AS 23456 and AS 0 are reserved and can nor be used. Extend check forClaudio Jeker
2018-09-21better yyerror messages. "syntax error" is generally not very helpful.Claudio Jeker
2018-09-21Move setting of the PREFIXSET_FLAG_OPS higher up since prefixset_item ruleClaudio Jeker
2018-09-21Implement code to parse, print and reload roa-set tables.Claudio Jeker
2018-09-20Split up as_set into a set_table and an as_set. The first is what doesClaudio Jeker
2018-09-20Switch prefixset to an RB_TREE instead of a SIMPLEQ. This allows to triggerClaudio Jeker
2018-09-14Extend as_set to allow for different sized objects to be added. The onlyClaudio Jeker
2018-09-13Similar to as-set factor out the code to create a prefix-set into a function.Claudio Jeker