| Branch: | Revision:

iof-bird-daemon / lib / printf.c @ c8cafc8e

History | View | Annotate | Download (9.87 KB)

# Date Author Comment
d107ef78 08/16/2016 11:02 AM Pavel Tvrdik

Whitespace fixes

937e75d8 04/28/2016 04:01 PM Ondrej Zajicek (work)

Add the Babel routing protocol (RFC 6126)

This patch implements the IPv6 subset of the Babel routing protocol.
Based on the patch from Toke Hoiland-Jorgensen, with some heavy
modifications and bugfixes.

Thanks to Toke Hoiland-Jorgensen for the original patch.

ae80a2de 06/08/2015 12:24 AM Pavel Tvrdík

unsigned [int] -> uint

e348ef01 06/08/2015 12:24 AM Pavel Tvrdík

unsgined char -> byte

88a183c6 10/24/2014 09:11 AM Ondrej Zajicek

Integrated IP functions.

05476c4d 05/18/2014 09:42 AM Ondrej Zajicek

IPv4/IPv6 integrated socket code.

1ec52253 11/19/2013 09:33 PM Ondrej Zajicek

BFD protocol, ready for release.

Supports OSPF and BGP and also statically configured sessions.

0e175f9f 10/05/2013 06:12 PM Ondrej Zajicek

Fixes some BFD bugs and makes logging thread-safe.

53ffbff3 01/08/2012 02:31 PM Ondrej Zajicek

Implements support for link-local addresses in BGP.

Thanks Matthias Schiffer for the original patch.

2f6483cd 07/23/2009 02:06 PM Ondrej Zajicek

Adds %R printf directive for Router ID.

30b77304 08/19/2001 11:11 AM Martin Mares

IP address formatting now uses the same rules as formatting of strings
with two exceptions:

o  Any non-zero field width is automatically replaced by standard
IP address width. This hides dependences on IPv4/IPv6.
o %#I generates hexadecimal form of the address....
7722938d 06/04/2000 06:34 PM Martin Mares

Added library progdocs.

53943a00 05/02/2000 04:10 PM Martin Mares

Defined format specifier `%M' which behaves as `%m', but takes the
error code as an argument.

Use it in socket hooks where we really shouldn't rely on errno containing
the right value or even existing.

221135d6 03/31/2000 11:30 PM Martin Mares

Include "lib/string.h" instead of <string.h>. It should give us bzero()
and other non-portable functions on all systems.

4254dc45 11/21/1998 10:25 AM Martin Mares

Killed bug in processing of 'h' prefix. Patch taken from linux-2.1.129.

53a416d3 11/16/1998 09:40 PM Martin Mares

Implemented snprintf and similar functions. It took a lot of thinking,
but the modifications were relatively simple and straightforward.

d997534f 06/17/1998 02:34 PM Martin Mares

Oops, forgot '%m'...

ecacdfa4 06/17/1998 02:31 PM Martin Mares

Added local version of sprintf (bsprintf and bvsprintf) offering few new
format strings:

%I    IP address
%#I IP address in hexadecimal
%1I IP address padded to full length
%m strerror(errno)