Home | History | Annotate | Download | only in net
History log of /src/sys/net/dl_print.c
RevisionDateAuthorComments
 1.8  27-May-2021  christos Simplify; no need to special case the small buffer zero src_len.
lla_snprintf1 never returns -1.
 1.7  27-May-2021  christos Don't use the stack, print to the buffer directly (this was one of the
biggest stack users).
 1.6  30-Apr-2019  kre branches: 1.6.14; 1.6.16;
Add the missing add. (Return to the earlier state, done differently.)

When dl_print() was converted to use lla_snprintf() the offset to
the LLA in dl_addr.dl_data was forgotten (dl_data contains both
the interface name and the LL addr, we want the latter, not the former).

When there is no data (src_len == 0), still null terminate the output buffer
(provided there is space in it for the \0).
 1.5  29-Apr-2019  christos match definition of hexdigits[] to the declaration in <sys/systm.h>
 1.4  29-Apr-2019  roy Move lla_snprintf from if_arp.c to dl_print.c
 1.3  06-Apr-2016  christos branches: 1.3.16; 1.3.20;
pretty-print link addresses.
 1.2  02-Dec-2014  christos branches: 1.2.2;
missed _
 1.1  02-Dec-2014  christos - split struct dladdr out of struct sockaddr_dl
- add routines to print struct sockaddr_dl and struct dladdr
- make if_dl.h idempotent
 1.2.2.3  22-Apr-2016  skrll Sync with HEAD
 1.2.2.2  06-Apr-2015  skrll Sync with HEAD
 1.2.2.1  02-Dec-2014  skrll file dl_print.c was added on branch nick-nhusb on 2015-04-06 15:18:22 +0000
 1.3.20.1  10-Jun-2019  christos Sync with HEAD
 1.3.16.2  03-Dec-2017  jdolecek update from HEAD
 1.3.16.1  06-Apr-2016  jdolecek file dl_print.c was added on branch tls-maxphys on 2017-12-03 11:39:02 +0000
 1.6.16.1  31-May-2021  cjep sync with head
 1.6.14.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed