History log of /netbsd-src/sys/netinet/ip.h (Results 1 – 25 of 39)
Revision Date Author Comments
# e2710f6f 17-Apr-2022 andvar <andvar@NetBSD.org>

fix various typos in comments.


# f2179901 03-Feb-2021 roy <roy@NetBSD.org>

CTASSERT -> __CTASSERT to unbreak userland build.

While here move __packed in tcp_debug.h back to where it was and
note removal warrants more investigation.


# 7a849d03 03-Feb-2021 roy <roy@NetBSD.org>

Sprinkle CTASSERT to enforce on-wire layout without __packed


# 1ca39e87 03-Feb-2021 roy <roy@NetBSD.org>

Remove __packed from various network structures

They are already network aligned and adding the __packed attribute
just causes needless compiler warnings about accssing members of packed
objects.


# a190cfde 28-Aug-2020 riastradh <riastradh@NetBSD.org>

netinet: Include the needful so include order doesn't matter.


# 6a4c771d 02-Nov-2012 christos <christos@NetBSD.org>

fix typo


# b621e730 02-Nov-2012 christos <christos@NetBSD.org>

make this standalone, like every others (except OpenBSD)


# 20d3618c 24-Jul-2011 christos <christos@NetBSD.org>

Fill in missing IPTOS defines (from Linux/OpenBSD)


# b6a2ef75 25-Dec-2007 perry <perry@NetBSD.org>

Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h


# 15c46375 21-Dec-2007 matt <matt@NetBSD.org>

Add fix for ip_id information leakage. Since the leakage information is
primarily used with TCP SYN and RST packets and such packets are less than
the smallest sized packet that an IP stack is allow

Add fix for ip_id information leakage. Since the leakage information is
primarily used with TCP SYN and RST packets and such packets are less than
the smallest sized packet that an IP stack is allowed to fragment, we simply
set ip_id to 0 for all packets 68 bytes or less.

show more ...


# ae91f9ec 17-Dec-2006 christos <christos@NetBSD.org>

According to ANSI c the only portably defined bitfields are unsigned int ones.


# 2fb2ae32 05-Sep-2006 rpaulo <rpaulo@NetBSD.org>

Import of TCP ECN algorithm for congestion control.
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.htm

Import of TCP ECN algorithm for congestion control.
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.html.

Work sponsored by the Google Summer of Code project 2006.
Special thanks to Kentaro Kurahone, Allen Briggs and Matt Thomas for their
help, comments and support during the project.

show more ...


# 9702e987 10-Dec-2005 elad <elad@NetBSD.org>

Multiple inclusion protection, as suggested by christos@ on tech-kern@
few days ago.


# 887b782b 25-Apr-2004 jonathan <jonathan@NetBSD.org>

Initial commit of a port of the FreeBSD implementation of RFC 2385
(MD5 signatures for TCP, as used with BGP). Credit for original
FreeBSD code goes to Bruce M. Simpson, with FreeBSD sponsorship
cre

Initial commit of a port of the FreeBSD implementation of RFC 2385
(MD5 signatures for TCP, as used with BGP). Credit for original
FreeBSD code goes to Bruce M. Simpson, with FreeBSD sponsorship
credited to sentex.net. Shortening of the setsockopt() name
attributed to Vincent Jardin.

This commit is a minimal, working version of the FreeBSD code, as
MFC'ed to FreeBSD-4. It has received minimal testing with a ttcp
modified to set the TCP-MD5 option; BMS's additions to tcpdump-current
(tcpdump -M) confirm that the MD5 signatures are correct. Committed
as-is for further testing between a NetBSD BGP speaker (e.g., quagga)
and industry-standard BGP speakers (e.g., Cisco, Juniper).


NOTE: This version has two potential flaws. First, I do see any code
that verifies recieved TCP-MD5 signatures. Second, the TCP-MD5
options are internally padded and assumed to be 32-bit aligned. A more
space-efficient scheme is to pack all TCP options densely (and
possibly unaligned) into the TCP header ; then do one final padding to
a 4-byte boundary. Pre-existing comments note that accounting for
TCP-option space when we add SACK is yet to be done. For now, I'm
punting on that; we can solve it properly, in a way that will handle
SACK blocks, as a separate exercise.

In case a pullup to NetBSD-2 is requested, this adds sys/netipsec/xform_tcp.c
,and modifies:

sys/net/pfkeyv2.h,v 1.15
sys/netinet/files.netinet,v 1.5
sys/netinet/ip.h,v 1.25
sys/netinet/tcp.h,v 1.15
sys/netinet/tcp_input.c,v 1.200
sys/netinet/tcp_output.c,v 1.109
sys/netinet/tcp_subr.c,v 1.165
sys/netinet/tcp_usrreq.c,v 1.89
sys/netinet/tcp_var.h,v 1.109
sys/netipsec/files.netipsec,v 1.3
sys/netipsec/ipsec.c,v 1.11
sys/netipsec/ipsec.h,v 1.7
sys/netipsec/key.c,v 1.11
share/man/man4/tcp.4,v 1.16
lib/libipsec/pfkey.c,v 1.20
lib/libipsec/pfkey_dump.c,v 1.17
lib/libipsec/policy_token.l,v 1.8
sbin/setkey/parse.y,v 1.14
sbin/setkey/setkey.8,v 1.27
sbin/setkey/token.l,v 1.15

Note that the preceding two revisions to tcp.4 will be
required to cleanly apply this diff.

show more ...


# aad01611 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.


# 5ee791c1 01-Apr-2003 dogcow <dogcow@NetBSD.org>

bring into conformance with RFC 3514


# ac36f7cb 05-Mar-2002 itojun <itojun@NetBSD.org>

bring in latest ALTQ from kjc. ALTQify some of the drivers.


# 7bbe09e1 24-Oct-2001 itojun <itojun@NetBSD.org>

it may fix PR14124.


# a5ff71ce 02-May-2000 sommerfeld <sommerfeld@NetBSD.org>

One more __attribute__((__packed__)) to dissuade egcs from making
unwarranted asumptions about the structure's alignment.


# 046d5934 20-Nov-1999 thorpej <thorpej@NetBSD.org>

Add the `packed' attribute to structures which describe wire protocol data.


# 118d2b1d 01-Jul-1999 itojun <itojun@NetBSD.org>

IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for d

IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.

show more ...


# f73530ba 10-Feb-1998 perry <perry@NetBSD.org>

add/cleanup multiple inclusion protection.


# e5e283e0 05-Jan-1998 thorpej <thorpej@NetBSD.org>

Finishing merging 4.4BSD-Lite2 netinet. At this point, the only changes
left were SCCS IDs and Copyright dates.


# ef60fc0b 11-Dec-1996 mycroft <mycroft@NetBSD.org>

Minor change to a comment.


# ee34a9ab 25-Oct-1996 thorpej <thorpej@NetBSD.org>

Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>


12