agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
enami
f431b58f2b
Back out rev. 1.56; `pointer points the byte just after the valid region'
...
is normal case. If the parser wants something more, there should be
another bounds check for it.
2003-10-11 03:35:42 +00:00
itojun
f462c5301e
paren around macro arg
2003-10-03 22:04:44 +00:00
itojun
d26799ebc9
off-by-one. from millert@openbsd
2003-10-03 22:04:03 +00:00
itojun
1db8823e19
out-of-bounds access. from openbsd
2003-09-23 03:19:28 +00:00
itojun
cfbab92fdb
use randomid(3). actually generate random ID for DNS queries (previous
...
fix was incomplete)
2003-09-09 22:16:58 +00:00
wiz
a2f146d519
Mention RFC 3493; inet_{ntop,pton} are in 1003.1-2001; move XNS5.2 to HISTORY.
...
Okayed by kleink.
2003-09-08 17:21:31 +00:00
wiz
47190e80b8
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
...
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
christos
cdf03491b8
rename exp to expo to avoid global shadowing warning.
2003-09-06 22:47:56 +00:00
itojun
08fc9c3284
move provos' copyright closer to res_randomid()
2003-09-06 11:46:32 +00:00
itojun
a970cdd909
bring in openbsd lib/libc/net/res_random.c for truely-random res_randomid().
2003-09-06 11:40:52 +00:00
wiz
a24c4806d6
Nm -> Fn getnameinfo; grammar improvements; markup improvement;
...
all from jmc@openbsd, thanks.
2003-08-28 12:03:08 +00:00
wiz
520d0eab98
Bump date for CAVEATS; fix punctuation usage in one place;
...
drop trailing space; use \*[Am] instead of & for HTML generation.
2003-08-28 09:39:11 +00:00
itojun
e3a97c1624
use NI_NUMERICHOST for 2nd invocation
2003-08-28 01:49:30 +00:00
itojun
9de573eee1
add int error in CAVEAT
2003-08-28 01:46:45 +00:00
itojun
91c72951cb
add CAVEATS section
2003-08-28 01:43:14 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
tshiozak
8adfd9b778
make _DIAGNOSTIC happy.
2003-07-10 08:50:43 +00:00
wiz
9d37bb0f6b
Va Sq -> Sq Va so both work.
2003-07-01 10:17:36 +00:00
kleink
5a44432bf1
Sprinkle some restrict.
2003-06-30 15:14:17 +00:00
itojun
7a5741651c
- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)
...
- routing header declaration with RFC3542
(note: sizeof(ip6_rthdr0) has changed!)
also, sync up with RFC2460 routing header definition (no "strict" source
routing mode any more)
part of advanced API update (RFC2292 -> 3542).
2003-06-06 08:13:43 +00:00
itojun
e72a5afeb3
KNF.
2003-06-06 06:43:18 +00:00
itojun
6a95da7f05
bound copies
2003-05-17 01:36:03 +00:00
kleink
affdf0b300
Change conformance reference to 1003.1-2001; the reference to 1003.1g is
...
retained in HISTORY. Spotted by Thomas Klausner.
2003-05-15 10:16:36 +00:00
wiz
ccc85581a5
Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
...
Bump date.
Suggested by kleink.
2003-05-15 10:13:53 +00:00
uebayasi
385286938f
Typo; from Onno van der Linden <o dot vd dot linden at quicknet dot nl>.
2003-05-10 08:51:54 +00:00
itojun
ece2a37389
fill ai_canonname field for numeric hostname, by the given hostname.
...
folows new recommendation in RFC3493
2003-05-08 05:30:53 +00:00
bjh21
e3f0868ef4
ANSIfy, since I'm in the area.
2003-05-05 21:35:40 +00:00
bjh21
306b20c934
Handle struct in_addr with proper respect, rather than assuming we can
...
make one by casting in in_addr_t *. This has the pleasant side-effect
of making the machine code shorter, at least on ARM.
2003-05-05 20:12:23 +00:00
bjh21
e6ad10a0b6
Remove some lint-pacification that's not necessary now that the signature of
...
inet_makeaddr() is correct.
2003-05-05 20:04:04 +00:00
bjh21
b8df43c967
Delint last change, reducing size of several variables.
2003-05-05 19:54:59 +00:00
bjh21
2c2e44766b
Delint last change (change a variable from unsigned long to in_addr_t).
...
Remove "register" at the same time.
2003-05-05 19:53:29 +00:00
wiz
fe160e31c2
No leading zero in Dd argument.
2003-05-05 17:16:20 +00:00
bjh21
83939562ef
Document signature changes to inet_addr() and friends.
2003-05-05 14:04:50 +00:00
bjh21
77de1304d5
Fix the signatures of inet_addr(), inet_lnaof(), inet_makeaddr(), inet_netof(),
...
and inet_network() to match XNS and (where applicable) POSIX. This is largely
just the replacement of unsigned long with in_addr_t.
This constitutes a small ABI change on sh5, but scw (sh5 portmaster) thinks
that both the users of that port will be able to cope. kleink claims the
change is ABI-neutral on other LP64 ports, and it's a no-op on ILP32 ports.
Hence, I'm doing it this way and avoiding the whole __RENAME dance.
2003-05-05 13:56:13 +00:00
wiz
3ca9503cd5
Misc. fixes from jmc@openbsd.
2003-05-03 19:11:31 +00:00
itojun
dc5aee069b
english grammer. by Jason McIntyre via kame
2003-04-30 06:30:48 +00:00
wiz
48ceee3140
Bump date for last.
2003-04-29 12:39:20 +00:00
bjh21
e94b259c46
<arpa/inet.h> no longer has any prerequisite headers, so don't pretend
...
it does.
2003-04-29 12:20:29 +00:00
simonb
6312e6abc3
Add a missing full stop, join to short lines.
2003-04-23 07:33:36 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
perry
9b2c6bd3d7
preceeded->preceded, desciptor->descriptor from Igor Sobrado, PR misc/19814
2003-03-31 18:38:11 +00:00
perry
8e85db615f
millenia->millennia from Igor Sobrado PR misc/19814
2003-03-31 18:35:38 +00:00
ross
c73965d14b
LP64 warnings
2003-03-21 03:07:40 +00:00
itojun
b5dda3e238
From: "Jason L. Wright" <jason@thought.net>
...
The man page for getaddrinfo() and RFC2553 says it should return EAI_NONAME
for the case where hostname != NULL, hostname is not a numeric string and
ai_flags has the AI_NUMERICHOST bit set. Instead, it returns EAI_NODATA
for this case. The diff below makes it return EAI_NONAME for this case.
This is why ntpq and ntpdc from ntp-4.1.74 can't resolve hostnames,
but work fine with numeric strings like ::1 or 127.0.0.1.
2003-03-17 23:10:25 +00:00
wiz
1035faff1d
writable, not writeable.
2003-01-06 20:30:28 +00:00
wiz
4824190751
transmission, not transmition.
2003-01-06 13:17:01 +00:00
itojun
233424cdc2
make sure to bound string operation by strlcpy
...
(there are bunch of "strcpy is safe" comments, i think we should change them
to strlcpy as much as possible)
2002-11-17 20:49:33 +00:00
itojun
ca7918fced
whitespace
2002-11-17 20:48:44 +00:00