summaryrefslogtreecommitdiff
path: root/lib/printf.c
AgeCommit message (Collapse)Author
2016-04-28Add the Babel routing protocol (RFC 6126)Ondrej Zajicek (work)
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.
2015-06-08unsigned [int] -> uintPavel Tvrdík
2015-06-08unsgined char -> bytePavel Tvrdík
2014-10-24Integrated IP functions.Ondrej Zajicek
2014-05-18IPv4/IPv6 integrated socket code.Ondrej Zajicek
2013-11-19BFD protocol, ready for release.Ondrej Zajicek
Supports OSPF and BGP and also statically configured sessions.
2013-10-05Fixes some BFD bugs and makes logging thread-safe.Ondrej Zajicek
2012-01-08Implements support for link-local addresses in BGP.Ondrej Zajicek
Thanks Matthias Schiffer for the original patch.
2009-07-23Adds %R printf directive for Router ID.Ondrej Zajicek
2001-08-19IP address formatting now uses the same rules as formatting of stringsMartin Mares
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. Therefore |%I| generates unpadded format, |%1I| full size flush-right, and |%-1I| full size flush-left format.
2000-06-04Added library progdocs.Martin Mares
2000-05-02Defined format specifier `%M' which behaves as `%m', but takes theMartin Mares
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.
2000-03-31Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
1998-11-21Killed bug in processing of 'h' prefix. Patch taken from linux-2.1.129.Martin Mares
1998-11-16Implemented snprintf and similar functions. It took a lot of thinking,Martin Mares
but the modifications were relatively simple and straightforward.
1998-06-17Oops, forgot '%m'...Martin Mares
1998-06-17Added local version of sprintf (bsprintf and bvsprintf) offering few newMartin Mares
format strings: %I IP address %#I IP address in hexadecimal %1I IP address padded to full length %m strerror(errno)