summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpd/labelmapping.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename some imsg bits to make namespace collisions less likely buf tonicm2010-05-261-25/+25
| | | | | | ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt
* Implement the missing label map recv functions and cleanup the other recvclaudio2010-05-251-77/+178
| | | | | functions a bit to make them all look more similar. All but the label req abort message are now parsed and passed to the lde.
* The host address encoding of FEC was killed in RFC5036 and we're happyclaudio2010-05-171-8/+3
| | | | about that. OK michele@
* Even though label withdraw, release, and abort requests are not fullyclaudio2010-04-151-5/+11
| | | | | | implemented use a correct return value so that ldpd has a chance to survive when one of those messages are received. OK michele@
* Do not use bufferevent for something that's already covered in the imsgclaudio2010-02-251-13/+6
| | | | | | | buffer API. This fixes a few possible problems in session_read and does some further cleanup in various places. Wrap msgbuf into evbuf to add libevent functionality and use buf_read to handle the read side of a session. OK michele@ and dlg@ did not see anything evil
* Correctly encode FEC prefixes. This makes my test setup much happyer.claudio2010-02-221-23/+20
| | | | OK michele
* Make send_* functions return void (and not int) as they can just succeedmichele2010-02-201-21/+11
| | | | | | or fatal(). ok claudio@
* Correctly parse the host address in the FEC TLV.michele2009-12-301-14/+36
| | | | ok claudio@
* Length of the host address in the FEC TLV must be encoded in numbermichele2009-12-101-4/+6
| | | | | | of octets. ok claudio@
* Correctly send notification messages when errors occur.michele2009-06-051-42/+19
| | | | ok claudio@ laurent@
* Welcome ldpd, the Label Distribution Protocol daemon.michele2009-06-011-0/+579
Built using the imsg/three process framework, its main aim is to redistribute MPLS labels between peers. Right now it has some really basic functionalities, the basic protocol works and peers are able to exchange labels and insert them in the kernel. It still does not react to changes of topology. Not yet connected to the builds. ok claudio@ deraadt@