The NetBSD Project

CVS log for src/sys/net/dl_print.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / net

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6.14.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:34 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.6: +43 -21 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync w/ HEAD.

Revision 1.6.16.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:21 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.6: +43 -21 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 27 13:40:38 2021 UTC (2 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.7: +7 -13 lines
Diff to previous 1.7 (colored)

Simplify; no need to special case the small buffer zero src_len.
lla_snprintf1 never returns -1.

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 27 13:36:33 2021 UTC (2 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.6: +44 -16 lines
Diff to previous 1.6 (colored)

Don't use the stack, print to the buffer directly (this was one of the
biggest stack users).

Revision 1.3.20.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:45 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +34 -35 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 30 20:56:32 2019 UTC (4 years, 11 months ago) by kre
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_staticlib_x-base, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.5: +8 -5 lines
Diff to previous 1.5 (colored)

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).

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 29 19:08:11 2019 UTC (4 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

match definition of hexdigits[] to the declaration in <sys/systm.h>

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 29 16:05:46 2019 UTC (4 years, 11 months ago) by roy
Branch: MAIN
Changes since 1.3: +30 -34 lines
Diff to previous 1.3 (colored)

Move lla_snprintf from if_arp.c to dl_print.c

Revision 1.3.16.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:02 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.16.1: +91 -0 lines
Diff to previous 1.3.16.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:17 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.2: +6 -3 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3.16.1, Wed Apr 6 18:04:58 2016 UTC (8 years ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3: +0 -91 lines
FILE REMOVED

file dl_print.c was added on branch tls-maxphys on 2017-12-03 11:39:02 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 6 18:04:58 2016 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys, phil-wifi
Changes since 1.2: +6 -3 lines
Diff to previous 1.2 (colored)

pretty-print link addresses.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:22 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.1: +88 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.2.2.1, Tue Dec 2 19:34:33 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2: +0 -88 lines
FILE REMOVED

file dl_print.c was added on branch nick-nhusb on 2015-04-06 15:18:22 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 2 19:34:33 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Branch point for: nick-nhusb
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

missed _

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 2 19:32:09 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN

- split struct dladdr out of struct sockaddr_dl
- add routines to print struct sockaddr_dl and struct dladdr
- make if_dl.h idempotent

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>