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


Keyword substitution: kv
Default branch: MAIN


Revision 1.6.14.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:34 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +43 -21 lines
Sync w/ HEAD.

Revision 1.6.16.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:21 2021 UTC (3 years, 10 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +43 -21 lines
sync with head

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 27 13:40:38 2021 UTC (3 years, 10 months ago) by christos
Branches: 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, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -13 lines
Simplify; no need to special case the small buffer zero src_len.
lla_snprintf1 never returns -1.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu May 27 13:36:33 2021 UTC (3 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +44 -16 lines
Don't use the stack, print to the buffer directly (this was one of the
biggest stack users).

Revision 1.3.20.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:45 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +34 -35 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Apr 30 20:56:32 2019 UTC (5 years, 11 months ago) by kre
Branches: 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-4-RELEASE, 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 29 19:08:11 2019 UTC (5 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
match definition of hexdigits[] to the declaration in <sys/systm.h>

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Apr 29 16:05:46 2019 UTC (5 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +30 -34 lines
Move lla_snprintf from if_arp.c to dl_print.c

Revision 1.3.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:02 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.3.16.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.16.1: +91 -0 lines
update from HEAD

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:17 2016 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +6 -3 lines
Sync with HEAD

Revision 1.3.16.1
Wed Apr 6 18:04:58 2016 UTC (9 years ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.3: +0 -91 lines
file dl_print.c was added on branch tls-maxphys on 2017-12-03 11:39:02 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 6 18:04:58 2016 UTC (9 years ago) by christos
Branches: 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-3-RELEASE, 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -3 lines
pretty-print link addresses.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:22 2015 UTC (10 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +88 -0 lines
Sync with HEAD

Revision 1.2.2.1
Tue Dec 2 19:34:33 2014 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -88 lines
file dl_print.c was added on branch nick-nhusb on 2015-04-06 15:18:22 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 2 19:34:33 2014 UTC (10 years, 4 months ago) by christos
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
missed _

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Dec 2 19:32:09 2014 UTC (10 years, 4 months ago) by christos
Branches: MAIN
- split struct dladdr out of struct sockaddr_dl
- add routines to print struct sockaddr_dl and struct dladdr
- make if_dl.h idempotent

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>