History log of /openbsd/usr.sbin/ldpd/labelmapping.c (Results 51 – 69 of 69)
Revision Date Author Comments
# 28970269 10-Jan-2011 claudio <claudio@openbsd.org>

Rename struct fec_tlv to struct tlv since it is just the generic
TLV header which will be used in different places shortly.
Cleanup the ldp.h header file a tiny bit.


# b2cd1366 31-Dec-2010 guenther <guenther@openbsd.org>

Add missing #includes instead of assuming that some system header pulls in
the needed bits

ok deraadt@, millert@


# 89f23408 04-Nov-2010 claudio <claudio@openbsd.org>

Rewrite all packet parsers to be more careful about alignment. Until
now ldpd had no chance to run on a strict alignment architecture but
this makes ldpd happy on sparc64. Be careful to do all needed

Rewrite all packet parsers to be more careful about alignment. Until
now ldpd had no chance to run on a strict alignment architecture but
this makes ldpd happy on sparc64. Be careful to do all needed overflow
checks and try to make all parsing functions look similar.
OK michele@

show more ...


# 3220fd77 26-Oct-2010 claudio <claudio@openbsd.org>

Implement the optional label request message ID TLV.
Currently on the genaration side is done.


# 3064e5ee 26-Oct-2010 claudio <claudio@openbsd.org>

For label release and withdraw messages make sure that a wildcard
FEC is the one and only FEC of that message. This is required by
the RFC. While it is not correct to have multiple FEC in anything
bu

For label release and withdraw messages make sure that a wildcard
FEC is the one and only FEC of that message. This is required by
the RFC. While it is not correct to have multiple FEC in anything
but label mapping messages ldpd will accept those since the RFC
is extra vague about this feature and it does not hurt.

show more ...


# efd22b86 26-Oct-2010 claudio <claudio@openbsd.org>

struct mapping_entry should just have a struct map instead of own
definition of a FEC mapping. This makes extending struct map simpler
and makes it possible to access the additional data in struct ma

struct mapping_entry should just have a struct map instead of own
definition of a FEC mapping. This makes extending struct map simpler
and makes it possible to access the additional data in struct map.

show more ...


# 1b9b024e 30-Jun-2010 claudio <claudio@openbsd.org>

Switch prefix in struct map to a struct in_addr instead of a u_int32_t.
Needed for further clean etc.


# 0211d6d6 09-Jun-2010 claudio <claudio@openbsd.org>

Move the logging of FEC changes to the LDE and print the FEC and label
information. This is more useful.
OK michele


# e39620e5 26-May-2010 nicm <nicm@openbsd.org>

Rename some imsg bits to make namespace collisions less likely buf to
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.

ok henning gilles claudio jacekm deraadt


# fae3538e 25-May-2010 claudio <claudio@openbsd.org>

Implement the missing label map recv functions and cleanup the other recv
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.


# 6436f3c1 17-May-2010 claudio <claudio@openbsd.org>

The host address encoding of FEC was killed in RFC5036 and we're happy
about that. OK michele@


# 01302d08 15-Apr-2010 claudio <claudio@openbsd.org>

Even though label withdraw, release, and abort requests are not fully
implemented use a correct return value so that ldpd has a chance to survive
when one of those messages are received.
OK michele@


# 2196e980 25-Feb-2010 claudio <claudio@openbsd.org>

Do not use bufferevent for something that's already covered in the imsg
buffer API. This fixes a few possible problems in session_read and does
some further cleanup in various places. Wrap msgbuf int

Do not use bufferevent for something that's already covered in the imsg
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

show more ...


# b51c101b 22-Feb-2010 claudio <claudio@openbsd.org>

Correctly encode FEC prefixes. This makes my test setup much happyer.
OK michele


# a6fc12d8 20-Feb-2010 michele <michele@openbsd.org>

Make send_* functions return void (and not int) as they can just succeed
or fatal().

ok claudio@


# dc9c556e 30-Dec-2009 michele <michele@openbsd.org>

Correctly parse the host address in the FEC TLV.

ok claudio@


# 654d97ba 10-Dec-2009 michele <michele@openbsd.org>

Length of the host address in the FEC TLV must be encoded in number
of octets.

ok claudio@


# 7d508fe8 05-Jun-2009 michele <michele@openbsd.org>

Correctly send notification messages when errors occur.

ok claudio@ laurent@


# ab0c2486 01-Jun-2009 michele <michele@openbsd.org>

Welcome ldpd, the Label Distribution Protocol daemon.
Built using the imsg/three process framework, its main aim
is to redistribute MPLS labels between peers.

Right now it has some really basic func

Welcome ldpd, the Label Distribution Protocol daemon.
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@

show more ...


123