History log of /openbsd/usr.sbin/tcpdump/print-atalk.c (Results 1 – 25 of 35)
Revision Date Author Comments
# 426b943d 01-Dec-2021 deraadt <deraadt@openbsd.org>

we do not need 'struct mbuf; struct rtentry;' to satisfy some ancient unix
variant that made a header file mistake.
ok jsg


# f96bb33f 24-Jan-2020 procter <procter@openbsd.org>

- (void)printf() -> printf(); the cast adds clutter for little value.
- fprintf(stdout, ...) -> printf()
- fputs(x, stdout) -> printf(); for consistency.
fputs is twice as fast on atom x5-Z8300@1.44G

- (void)printf() -> printf(); the cast adds clutter for little value.
- fprintf(stdout, ...) -> printf()
- fputs(x, stdout) -> printf(); for consistency.
fputs is twice as fast on atom x5-Z8300@1.44GHz but Amdahl sees a pure printf
tcpdump only 2% slower than a pure fputs (for constant strings) tcpdump
to /dev/null across a 20MB/~170k packet pcap file.

ok dlg@ for fputs and ok tedu@ krw@ deraadt@ a2k19 for the rest

show more ...


# 017c042b 30-Aug-2017 otto <otto@openbsd.org>

unsigneds cannot be < 0; ok jca@


# bcf1f8c1 14-Jun-2017 akfaew <akfaew@openbsd.org>

Don't support loading appletalk addresses from /etc/appletalk.names.

OK deraadt@


# c9f03deb 28-Oct-2016 jsg <jsg@openbsd.org>

Return early from atalk_print_llap() if the length is less than the
size of a header to avoid an integer underflow.
Found with afl.


# 0d5f83f3 15-Nov-2015 mmcc <mmcc@openbsd.org>

Remove more register keywords.

ok daniel@, discussed on hackers@


# 323ce4b6 21-Aug-2015 deraadt <deraadt@openbsd.org>

since stdlib.h is in scope, don't cast.... you know the drill.
no sneakiness detected by krw


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

show more ...


# c8768c64 14-Aug-2014 mpi <mpi@openbsd.org>

No use for <netinet/in_systm.h> nor <netinet/tcpip.h>.


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# 2068f686 07-Oct-2007 deraadt <deraadt@openbsd.org>

trash $Header goo which is just annoying; 5595


# 620a734d 27-Jun-2007 canacar <canacar@openbsd.org>

When aligning buffers correctly handle the case where the
buffers overlap, which happens on 64 bit archs, when
handling encapsulated packets. Reported and tested by Jurjen Oskam
additional testing by

When aligning buffers correctly handle the case where the
buffers overlap, which happens on 64 bit archs, when
handling encapsulated packets. Reported and tested by Jurjen Oskam
additional testing by Stuart Henderson and todd@, ok henning@

show more ...


# 65161bc5 04-Feb-2004 otto <otto@openbsd.org>

Some more non-alignment problems resolved.
ok deraadt@


# e4c9ae7d 02-Feb-2004 otto <otto@openbsd.org>

Do away with non-aligned memory accesses.
ok deraadt@ hshoexer@


# 231a0e50 28-Jan-2004 canacar <canacar@openbsd.org>

privilege separated tcpdump, joint work with otto@

tested by avsm@ vincent@ dhartmei@ markus@ hshoexer@ and others
go for it deraadt@


# 8f2378a7 14-Apr-2003 pvalchev <pvalchev@openbsd.org>

%d is 12 chars, not 10; ok deraadt


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# 2ac8abef 06-Nov-2001 deraadt <deraadt@openbsd.org>

a bit of snprintf cleaning


# 398521af 30-Oct-2001 ho <ho@openbsd.org>

ddp_print needs aligned data (alpha,sparc). Noted (with a patch) by <jepeway@blasted-heath.com>. Patch code relocated inside ddp_print(). Fixes PR# 1945.


# 9854f8fa 31-Oct-2000 deraadt <deraadt@openbsd.org>

some buffer care; jakob


# cf4e9b47 03-Oct-2000 ho <ho@openbsd.org>

Add $OpenBSD$. (jakob@ ok)


# edd7aa8f 26-Apr-2000 jakob <jakob@openbsd.org>

INET6
DHCP/BOOTP
tcp & udp checksum detection
numerous bugfixes


# eabe93e0 03-Apr-2000 itojun <itojun@openbsd.org>

add more ntohs(). u_short -> u_int16_t. (in-sync with tcpdump.org tree)


# b80b27f2 03-Apr-2000 deraadt <deraadt@openbsd.org>

byte order fixes; gwes@oat.com


# 5205045a 16-Sep-1999 brad <brad@openbsd.org>

bring more inline with tcpdump 3.4


12