CVS log for src/sys/netinet/tcp_usrreq.c
Up to [cvs.NetBSD.org] / src / sys / netinet
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.238.8.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:27:59 2026 UTC (11 days, 12 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.238: preferred, colored; next MAIN 1.239: preferred, colored
Changes since revision 1.238: +4 -4
lines
Sync with HEAD
Revision 1.239: download - view: text, markup, annotated - select for diffs
Mon Aug 31 02:21:46 2026 UTC (2 months, 2 weeks ago) by gutteridge
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +4 -4
lines
tcp_usrreq.c: minor sysctl description updates
TCP buffer autosizing can't really be deemed "experimental" since it was
enabled by default in early 2010.
Revision 1.238: download - view: text, markup, annotated - select for diffs
Fri Nov 4 09:01:53 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
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
Branch point for: perseant-exfatfs
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +13 -13
lines
inpcb: rename functions to in6pcb_*
Revision 1.237: download - view: text, markup, annotated - select for diffs
Fri Nov 4 09:00:58 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +15 -15
lines
inpcb: rename functions to inpcb_*
Inspired by rmind-smpnet patches.
Revision 1.236: download - view: text, markup, annotated - select for diffs
Sun Oct 30 08:45:46 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +6 -2
lines
tcp: restore NULL check for inp in tcp_ctloutput
Revision 1.235: download - view: text, markup, annotated - select for diffs
Sat Oct 29 15:35:16 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +35 -2
lines
tcp: restore NULL checks for inp
Revision 1.234: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:25:36 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +10 -10
lines
inpcb: separate inpcb again to reduce the size of PCB for IPv4
The data size of PCB for IPv4 increased because of the merge of
struct in6pcb. The change decreases the size to the original size by
separating struct inpcb (again). struct in4pcb and in6pcb that embed
struct inpcb are introduced.
Even after the separation, users don't need to realize the separation
and only have to use some macros to access dedicated data. For example,
inp->inp_laddr is now accessed through in4p_laddr(inp).
Revision 1.233: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:18:39 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +125 -294
lines
inpcb: integrate data structures of PCB into one
Data structures of network protocol control blocks (PCBs), i.e.,
struct inpcb, in6pcb and inpcb_hdr, are not organized well. Users of
the data structures have to handle them separately and thus the code
is cluttered and duplicated.
The commit integrates the data structures into one, struct inpcb. As a
result, users of PCBs only have to handle just one data structure, so
the code becomes simple.
One drawback is that the data size of PCB for IPv4 increases by 40 bytes
(from 248 bytes to 288 bytes).
Revision 1.232: download - view: text, markup, annotated - select for diffs
Tue Sep 20 07:19:14 2022 UTC (4 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +3 -2
lines
tcp: separate syn cache stuffs into tcp_syncache.[ch] files
No functional change.
Revision 1.231: download - view: text, markup, annotated - select for diffs
Tue Jun 28 01:44:19 2022 UTC (4 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +12 -2
lines
tcp(4): Bail early on sendoob if not connected.
XXX Not sure if testing tp->t_template is the right way to discern
this -- I just reached for it because the downstream crash is a panic
on tp->t_template == NULL in tcp_output.
XXX In principle this could try connecting to the address, except
it's not passed down from the logic in uipc_socket.c to tcp_sendoob.
Reported-by: syzbot+a01f4cfec72790855ce2@syzkaller.appspotmail.com
Revision 1.230: download - view: text, markup, annotated - select for diffs
Wed Aug 4 08:47:10 2021 UTC (5 years, 3 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-futex2-base,
thorpej-futex2
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +3 -3
lines
Get the value of the right variable (from RVP)
Revision 1.227.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:02 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.227.2.1: preferred, colored; next MAIN 1.228: preferred, colored
Changes since revision 1.227.2.1: +3 -3
lines
Sync with HEAD.
Revision 1.229: download - view: text, markup, annotated - select for diffs
Mon Mar 8 18:17:27 2021 UTC (5 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +3 -3
lines
Remove the unused "addin" argument (it was always 0) and go back using
a random iss by default (instead of rfc1948)
Revision 1.227.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:15 2020 UTC (5 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +5 -3
lines
Sync w/ HEAD.
Revision 1.228: download - view: text, markup, annotated - select for diffs
Mon Nov 23 00:52:53 2020 UTC (5 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +5 -3
lines
Restore correct functioning of SIOCATMARK by removing the previous
change that was done to fix poll(POLLPRI | POLLRDBAND) and instead
add a separate flag to track when poll() should indicate that a
MSG_OOB byte is available. Re-fixes PR 54435 properly.
Revision 1.227: download - view: text, markup, annotated - select for diffs
Sat Oct 17 08:50:38 2020 UTC (6 years, 1 month ago) by mlelstv
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +6 -4
lines
Fix RTT values reported by TCP_INFO.
Revision 1.219.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:44 2020 UTC (6 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.219.2.2: preferred, colored; branchpoint 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219.2.2: +1 -1
lines
Sync with HEAD
Revision 1.225.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:12 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.225: preferred, colored; next MAIN 1.226: preferred, colored
Changes since revision 1.225: +3 -3
lines
Sync with HEAD
Revision 1.226: download - view: text, markup, annotated - select for diffs
Mon Apr 13 15:54:45 2020 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +3 -3
lines
hardclock_ticks -> getticks()
Revision 1.219.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:16 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.219.2.1: preferred, colored; branchpoint 1.219: preferred, colored
Changes since revision 1.219.2.1: +11 -7
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.224.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 10 16:19:00 2019 UTC (7 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
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
Diff to: previous 1.224: preferred, colored; next MAIN 1.225: preferred, colored
Changes since revision 1.224: +11 -7
lines
Pull up following revision(s) (requested by maxv in ticket #193):
sys/netinet/tcp_timer.h: revision 1.30
sys/netinet/tcp_input.c: revision 1.415
sys/netinet/tcp_usrreq.c: revision 1.225
sys/netinet/tcp_subr.c: revision 1.283
Clamp tcp timer quantities to reasonable ranges.
Revision 1.225: download - view: text, markup, annotated - select for diffs
Tue Aug 6 15:48:18 2019 UTC (7 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +11 -7
lines
Clamp tcp timer quantities to reasonable ranges.
Reported-by: syzbot+259675123340bf46a6de@syzkaller.appspotmail.com
Revision 1.219.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:47 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +70 -58
lines
Sync with HEAD
Revision 1.224: download - view: text, markup, annotated - select for diffs
Tue Feb 5 04:48:47 2019 UTC (7 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +3 -3
lines
adjust fallthru comments to appease gcc7.
Revision 1.200.2.2.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 08:12:18 2019 UTC (7 years, 9 months ago) by msaitoh
Branches: netbsd-7-1
Diff to: previous 1.200.2.2: preferred, colored; next MAIN 1.200.2.3: preferred, colored
Changes since revision 1.200.2.2: +8 -3
lines
Pull up following revision(s) (requested by martin in ticket #1676):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/tcp_usrreq.c 1.223 via patch
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.200.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 08:09:00 2019 UTC (7 years, 9 months ago) by msaitoh
Branches: netbsd-7-0
Diff to: previous 1.200.2.2: preferred, colored; next MAIN 1.200.2.3: preferred, colored
Changes since revision 1.200.2.2: +8 -3
lines
Pull up following revision(s) (requested by martin in ticket #1676):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/tcp_usrreq.c 1.223 via patch
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.200.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 29 07:57:00 2019 UTC (7 years, 9 months ago) by msaitoh
Branches: netbsd-7
Diff to: previous 1.200.2.3: preferred, colored; branchpoint 1.200: preferred, colored; next MAIN 1.201: preferred, colored
Changes since revision 1.200.2.3: +8 -3
lines
Pull up following revision(s) (requested by martin in ticket #1676):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/tcp_usrreq.c 1.223 via patch
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.214.6.2: download - view: text, markup, annotated - select for diffs
Tue Jan 29 07:04:09 2019 UTC (7 years, 9 months ago) by msaitoh
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.214.6.1: preferred, colored; branchpoint 1.214: preferred, colored; next MAIN 1.215: preferred, colored
Changes since revision 1.214.6.1: +8 -3
lines
Pull up following revision(s) (requested by martin in ticket #1175):
sys/net/link_proto.c 1.37
sys/netatalk/ddp_usrreq.c 1.72
sys/netbt/hci_socket.c 1.46
sys/netbt/l2cap_socket.c 1.36
sys/netbt/rfcomm_socket.c 1.38
sys/netbt/sco_socket.c 1.38
sys/netinet/sctp_usrreq.c 1.14
sys/netinet/tcp_usrreq.c 1.223
sys/netinet6/raw_ip6.c 1.173
sys/netinet6/sctp6_usrreq.c 1.17
sys/netinet6/udp6_usrreq.c 1.146
sys/netmpls/mpls_proto.c 1.32
sys/netnatm/natm.c patch
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.223: download - view: text, markup, annotated - select for diffs
Mon Jan 28 12:53:01 2019 UTC (7 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +8 -3
lines
Fix memory leaks pointed out by Ilja Van Sprundel: all
sendoob() functions are expted to free both passed
mbuf chains.
Revision 1.216.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:05 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.216.2.4: preferred, colored; branchpoint 1.216: preferred, colored; next MAIN 1.217: preferred, colored
Changes since revision 1.216.2.4: +3 -3
lines
Sync with HEAD, resolve a few conflicts
Revision 1.222: download - view: text, markup, annotated - select for diffs
Sun Dec 16 17:46:58 2018 UTC (7 years, 11 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +3 -3
lines
sbspace() does not return negative values anymore and that broke OOB data
sending. Instead of depending on negative values, account for the 1024
bytes sosend() adds so that it can use all the space here in a separate
function sbspace_oob(). Idea from mlelstv@
Revision 1.216.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:51 2018 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.216.2.3: preferred, colored; branchpoint 1.216: preferred, colored
Changes since revision 1.216.2.3: +62 -55
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.221: download - view: text, markup, annotated - select for diffs
Sat Nov 24 17:05:54 2018 UTC (7 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-1126
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +49 -49
lines
KNF, no functional change.
Revision 1.220: download - view: text, markup, annotated - select for diffs
Sat Nov 24 16:58:40 2018 UTC (7 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +15 -8
lines
Fix kernel pointer leaks in sysctl_inpcblist.
Revision 1.216.2.3: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:16 2018 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.216.2.2: preferred, colored; branchpoint 1.216: preferred, colored
Changes since revision 1.216.2.2: +2 -3
lines
Sync with HEAD
Revision 1.219: download - view: text, markup, annotated - select for diffs
Thu May 3 07:13:48 2018 UTC (8 years, 6 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +2 -3
lines
Remove now unused tcpip.h includes. Some were already unused before.
Revision 1.216.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 16 02:00:09 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.216.2.1: preferred, colored; branchpoint 1.216: preferred, colored
Changes since revision 1.216.2.1: +2 -5
lines
Sync with HEAD, resolve some conflicts
Revision 1.218: download - view: text, markup, annotated - select for diffs
Sat Apr 7 13:48:50 2018 UTC (8 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +2 -5
lines
Remove dead code.
Revision 1.216.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 06:20:16 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +4 -54
lines
Resolve conflicts between branch and HEAD
Revision 1.217: download - view: text, markup, annotated - select for diffs
Thu Mar 29 07:46:43 2018 UTC (8 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0407,
pgoyette-compat-0330
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +4 -54
lines
Remove #ifdef INET. Same as tcp_input.c. Makes the code easier to
understand.
Also make tcp6_mtudisc() static in tcp_subr.c.
Revision 1.165.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:04 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.165.2.2: preferred, colored; branchpoint 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165.2.2: +130 -79
lines
update from HEAD
Revision 1.200.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 11 05:46:43 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.200.2.2: preferred, colored; branchpoint 1.200: preferred, colored
Changes since revision 1.200.2.2: +18 -8
lines
Pull up following revision(s) (requested by jdolecek in ticket #1498):
sys/netinet/tcp_usrreq.c: revision 1.216
add some more getsockopt(2) params
Revision 1.202.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:12 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.202.2.6: preferred, colored; branchpoint 1.202: preferred, colored; next MAIN 1.203: preferred, colored
Changes since revision 1.202.2.6: +18 -14
lines
Sync with HEAD
Revision 1.214.6.1: download - view: text, markup, annotated - select for diffs
Fri Aug 25 05:36:16 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +18 -8
lines
Pull up following revision(s) (requested by jdolecek in ticket #216):
sys/netinet/tcp_usrreq.c: revision 1.216
add some more getsockopt(2) params
Revision 1.216: download - view: text, markup, annotated - select for diffs
Tue Aug 15 09:21:48 2017 UTC (9 years, 3 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0322,
pgoyette-compat-0315,
nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +18 -8
lines
add some more getsockopt(2) params
Revision 1.215: download - view: text, markup, annotated - select for diffs
Fri Jul 28 19:16:41 2017 UTC (9 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +2 -8
lines
Remove TCP_COMPAT_42. This feature is a workaround for a bug in the TCP
stack of BSD4.2. Having such features just does not make any sense, and
looking at the code, I'm not sure it actually works.
Revision 1.213.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:06 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.213: preferred, colored; next MAIN 1.214: preferred, colored
Changes since revision 1.213: +14 -6
lines
Sync with HEAD
Revision 1.212.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:51 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.212.2.1: preferred, colored; branchpoint 1.212: preferred, colored; next MAIN 1.213: preferred, colored
Changes since revision 1.212.2.1: +14 -6
lines
Sync with HEAD
Revision 1.202.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:59 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.202.2.5: preferred, colored; branchpoint 1.202: preferred, colored
Changes since revision 1.202.2.5: +14 -6
lines
Sync with HEAD
Revision 1.214: download - view: text, markup, annotated - select for diffs
Tue Jan 24 07:09:24 2017 UTC (9 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170204,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +14 -6
lines
Tweak softnet_lock and NET_MPSAFE
- Don't hold softnet_lock in some functions if NET_MPSAFE
- Add softnet_lock to sysctl_net_inet_icmp_redirtimeout
- Add softnet_lock to expire_upcalls of ip_mroute.c
- Restore softnet_lock for in{,6}_pcbpurgeif{,0} if NET_MPSAFE
- Mark some softnet_lock for future work
Revision 1.212.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:51 2017 UTC (9 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +12 -6
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.202.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:28 2016 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.202.2.4: preferred, colored; branchpoint 1.202: preferred, colored
Changes since revision 1.202.2.4: +12 -6
lines
Sync with HEAD
Revision 1.213: download - view: text, markup, annotated - select for diffs
Fri Nov 18 06:50:04 2016 UTC (10 years ago) by knakahara
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
nick-nhusb-base-20161204,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +12 -6
lines
fix: "ifconfig destory" can stalls when "ifconfig" is done parallel.
This problem occurs only if NET_MPSAFE on.
ifconfig destroy side:
kernel entry point is ifioctl => if_clone_destroy.
pr_purgeif() acquires softnet_lock, and then ifa_remove() calls
pserialize_perform() holding softnet_lock.
ifconfig side:
kernel entry point is socreate.
pr_attach()(udp_attach_wrapper()) calls sosetlock(). In this call path,
sosetlock() try to acquire softnet_lock.
These can cause dead lock.
Revision 1.202.2.4: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (10 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.202.2.3: preferred, colored; branchpoint 1.202: preferred, colored
Changes since revision 1.202.2.3: +2 -3
lines
Sync with HEAD
Revision 1.212: download - view: text, markup, annotated - select for diffs
Tue Apr 26 08:44:45 2016 UTC (10 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +2 -3
lines
Sweep unnecessary route.h inclusions
Revision 1.211: download - view: text, markup, annotated - select for diffs
Mon Feb 15 14:59:03 2016 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +3 -0
lines
Reduce code duplication.
Split creation of IPv4-Mapped IPv6 addresses into its own function
and use it.
No functional change intended. As posted to tech-net@
Revision 1.210: download - view: text, markup, annotated - select for diffs
Sun Feb 14 23:47:57 2016 UTC (10 years, 9 months ago) by rtr
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +2 -5
lines
remove duplicated #include of <netinet/in.h>
Revision 1.202.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:11 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.202.2.2: preferred, colored; branchpoint 1.202: preferred, colored
Changes since revision 1.202.2.2: +5 -4
lines
Sync with HEAD
Revision 1.209: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:21:26 2015 UTC (11 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +5 -4
lines
sprinkle _KERNEL_OPT
Revision 1.202.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:25 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.202.2.1: preferred, colored; branchpoint 1.202: preferred, colored
Changes since revision 1.202.2.1: +40 -74
lines
Sync with HEAD
Revision 1.208: download - view: text, markup, annotated - select for diffs
Sat May 2 17:18:03 2015 UTC (11 years, 6 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +6 -6
lines
make connect syscall use sockaddr_big and modify pr_{send,connect}
nam parameter type from buf * to sockaddr *.
final commit for parameter type changes to protocol user requests
* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}
Revision 1.207: download - view: text, markup, annotated - select for diffs
Sun Apr 26 21:40:49 2015 UTC (11 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +2 -40
lines
remove pr_generic from struct pr_usrreqs and all implementations of
pr_generic in protocols.
bump to 7.99.13
approved by rmind@
Revision 1.206: download - view: text, markup, annotated - select for diffs
Fri Apr 24 22:32:37 2015 UTC (11 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +19 -15
lines
make accept, getsockname and getpeername syscalls use sockaddr_big and modify
pr_{accept,sockname,peername} nam parameter type from mbuf * to sockaddr *.
* retained use of mbuftypes[MT_SONAME] for now.
* bump to netbsd version 7.99.12 for parameter type change.
patch posted to tech-net@ 2015/04/19
Revision 1.202.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:23 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +74 -6
lines
Sync with HEAD
Revision 1.205: download - view: text, markup, annotated - select for diffs
Fri Apr 3 20:01:07 2015 UTC (11 years, 7 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +9 -5
lines
* change pr_bind to accept struct sockaddr * instead of struct mbuf *
* update protocol bind implementations to use/expect sockaddr *
instead of mbuf *
* introduce sockaddr_big struct for storage of addr data passed via
sys_bind; sockaddr_big is of sufficient size and alignment to
accommodate all addr data sizes received.
* modify sys_bind to allocate sockaddr_big instead of using an mbuf.
* bump kernel version to 7.99.9 for change to pr_bind() parameter type.
Patch posted to tech-net@
http://mail-index.netbsd.org/tech-net/2015/03/15/msg005004.html
The choice to use a new structure sockaddr_big has been retained since
changing sockaddr_storage size would lead to unnecessary ABI change. The
use of the new structure does not preclude future work that increases
the size of sockaddr_storage and at that time sockaddr_big may be
trivially replaced.
Tested by mrg@ and myself, discussed with rmind@, posted to tech-net@
Revision 1.204: download - view: text, markup, annotated - select for diffs
Tue Mar 31 08:47:01 2015 UTC (11 years, 7 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +2 -3
lines
Remove unnecessary opt_ipsec.h inclusions
Revision 1.200.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 21 13:40:19 2015 UTC (11 years, 8 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-1,
netbsd-7-0
Diff to: previous 1.200.2.1: preferred, colored; branchpoint 1.200: preferred, colored
Changes since revision 1.200.2.1: +67 -2
lines
Pull up following revision(s) (requested by he in ticket #530):
sys/netinet/tcp_output.c: revision 1.180
sys/netinet/tcp_input.c: revision 1.336
sys/netinet/tcp_usrreq.c: revision 1.203
share/man/man4/tcp.4: revision 1.30
sys/netinet/tcp.h: revision 1.31
sys/netinet/tcp_subr.c: revision 1.258
sys/netinet/tcp_var.h: revision 1.176
sys/netinet/tcp_var.h: revision 1.177
sys/sys/param.h: bump revision
Port over the TCP_INFO socket option from FreeBSD, originally from
the Linux 2.6 TCP API. This permits the caller to query certain information
about a TCP connection, and is used by pkgsrc's net/iperf3 test program
if available.
This extends struct tcbcb with three fields to count retransmits,
out-of-sequence receives and zero window announcements, and will
therefore warrant a kernel revision bump (done separately).
Change the new counter variables in struct tcpcb to uint32_t, as
per christos' comments.
Revision 1.203: download - view: text, markup, annotated - select for diffs
Sat Feb 14 12:57:53 2015 UTC (11 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +67 -2
lines
Port over the TCP_INFO socket option from FreeBSD, originally from
the Linux 2.6 TCP API. This permits the caller to query certain information
about a TCP connection, and is used by pkgsrc's net/iperf3 test program
if available.
This extends struct tcbcb with three fields to count retransmits,
out-of-sequence receives and zero window announcements, and will
therefore warrant a kernel revision bump (done separately).
Revision 1.200.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:10:53 2015 UTC (11 years, 10 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +2 -3
lines
Pull up following revision(s) (requested by maxv in ticket #427):
sys/compat/svr4/svr4_schedctl.c: revision 1.8
sys/netinet/tcp_timer.c: revision 1.88
sys/miscfs/genfs/layer_vfsops.c: revision 1.45
sys/compat/svr4/svr4_ioctl.c: revision 1.37
sys/ufs/chfs/chfs_vfsops.c: revision 1.14
sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
sys/compat/common/kern_time_50.c: revision 1.28
sys/netinet6/ip6_forward.c: revision 1.74
sys/miscfs/umapfs/umap_vnops.c: revision 1.57
sys/compat/svr4/svr4_fcntl.c: revision 1.74
distrib/sets/lists/comp/mi: revision 1.1931
sys/netinet6/udp6_output.c: revision 1.46
sys/fs/puffs/puffs_compat.c: revision 1.3
sys/fs/udf/udf_rename.c: revision 1.11
sys/compat/svr4/svr4_filio.c: revision 1.24
sys/fs/udf/udf_rename.c: revision 1.12
sys/netinet/tcp_usrreq.c: revision 1.202
sys/miscfs/umapfs/umap_subr.c: revision 1.29
sys/compat/linux/common/linux_fadvise64.c: revision 1.3
sys/netinet/if_atm.c: revision 1.34
sys/miscfs/procfs/procfs_subr.c: revision 1.106
sys/miscfs/genfs/layer_subr.c: revision 1.37
sys/netinet/tcp_sack.c: revision 1.30
sys/compat/freebsd/freebsd_misc.c: revision 1.33
sys/compat/freebsd/freebsd_file.c: revision 1.33
sys/ufs/chfs/chfs_vnode.c: revision 1.12
sys/compat/svr4/svr4_ttold.c: revision 1.34
sys/compat/linux/common/linux_file.c: revision 1.114
sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
sys/compat/linux/common/linux_signal.c: revision 1.76
sys/compat/common/compat_util.c: revision 1.46
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
sys/compat/svr4/svr4_sockio.c: revision 1.36
sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
sys/compat/svr4/svr4_signal.c: revision 1.66
sys/kern/kern_exec.c: revision 1.410
sys/fs/puffs/puffs_vfsops.c: revision 1.115
sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
sys/compat/linux32/common/linux32_misc.c: revision 1.24
sys/netinet/in_pcb.c: revision 1.153
sys/sys/malloc.h: revision 1.116
sys/compat/common/if_43.c: revision 1.9
share/man/man9/Makefile: revision 1.380
sys/netinet/tcp_vtw.c: revision 1.12
sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
sys/compat/common/uipc_syscalls_43.c: revision 1.46
sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
sys/fs/puffs/puffs_msgif.c: revision 1.97
sys/compat/svr4/svr4_ipc.c: revision 1.27
sys/compat/linux/common/linux_exec.c: revision 1.117
sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
sys/netinet/tcp_output.c: revision 1.179
sys/compat/svr4/svr4_termios.c: revision 1.28
sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
sys/fs/puffs/puffs_subr.c: revision 1.67
sys/fs/puffs/puffs_node.c: revision 1.36
sys/miscfs/overlay/overlay_vnops.c: revision 1.21
sys/fs/cd9660/cd9660_node.c: revision 1.34
sys/netinet/raw_ip.c: revision 1.146
sys/sys/mallocvar.h: revision 1.13
sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
share/man/man9/malloc.9: revision 1.50
sys/netinet6/dest6.c: revision 1.18
sys/compat/linux/common/linux_uselib.c: revision 1.33
sys/compat/linux/common/linux_socket.c: revision 1.120
share/man/man9/malloc.9: revision 1.51
sys/netinet/tcp_subr.c: revision 1.257
sys/compat/linux/common/linux_socketcall.c: revision 1.45
sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
sys/compat/freebsd/freebsd_ipc.c: revision 1.17
sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
sys/netinet6/in6_pcb.c: revision 1.132
sys/netinet6/in6_ifattach.c: revision 1.94
sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
sys/miscfs/nullfs/null_vfsops.c: revision 1.90
sys/fs/cd9660/cd9660_util.c: revision 1.12
sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
sys/compat/linux/common/linux_sched.c: revision 1.67
sys/compat/linux/common/linux_exec_aout.c: revision 1.67
sys/compat/linux/common/linux_pipe.c: revision 1.67
sys/compat/linux/common/linux_llseek.c: revision 1.34
sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
- remove struct kmembuckets (dead)
- correctly deadify MALLOC_XX
- remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
- remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.
Revision 1.202: download - view: text, markup, annotated - select for diffs
Mon Nov 10 18:52:51 2014 UTC (12 years ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +2 -3
lines
Do not uselessly include <sys/malloc.h>.
Revision 1.201: download - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:29 2014 UTC (12 years, 1 month ago) by snj
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +3 -3
lines
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
Revision 1.165.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:35 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.165.2.1: preferred, colored; branchpoint 1.165: preferred, colored
Changes since revision 1.165.2.1: +988 -641
lines
Rebase to HEAD as of a few days ago.
Revision 1.171.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:25 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.171: preferred, colored; next MAIN 1.172: preferred, colored
Changes since revision 1.171: +935 -611
lines
Rebase.
Revision 1.200: download - view: text, markup, annotated - select for diffs
Sat Aug 9 05:33:01 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +65 -65
lines
split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq
switches and put into separate functions
- always KASSERT(solocked(so)) even if not implemented
(for PRU_CONNECT2 only)
- replace calls to pr_generic() with req = PRU_CONNECT2 with calls to
pr_connect2()
- replace calls to pr_generic() with req = PRU_PURGEIF with calls to
pr_purgeif()
put common code from unp_connect2() (used by unp_connect() into
unp_connect1() and call out to it when needed
patch only briefly reviewed by rmind@
Revision 1.199: download - view: text, markup, annotated - select for diffs
Fri Aug 8 03:05:45 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +39 -17
lines
split PRU_RCVD function out of pr_generic() usrreq switches and put into
separate functions
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_RCVD with calls to
pr_rcvd()
Revision 1.198: download - view: text, markup, annotated - select for diffs
Tue Aug 5 07:55:32 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +43 -18
lines
split PRU_SEND function out of pr_generic() usrreq switches and put into
separate functions
xxx_send(struct socket *, struct mbuf *, struct mbuf *,
struct mbuf *, struct lwp *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_SEND with calls to
pr_send()
rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_send() PRUs
- l2cap_send() -> l2cap_send_pcb()
- sco_send() -> sco_send_pcb()
- rfcomm_send() -> rfcomm_send_pcb()
patch reviewed by rmind
Revision 1.197: download - view: text, markup, annotated - select for diffs
Tue Aug 5 07:10:41 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +5 -20
lines
get_tcppcb() is nearly always called upon entry to usrreqs so
KASSERT(solocked(so)) inside it and remove the redundant KASSERT
everywhere we are using tcp_getpcb()
Revision 1.196: download - view: text, markup, annotated - select for diffs
Tue Aug 5 05:24:26 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +13 -13
lines
revert the removal of struct lwp * parameter from bind, listen and connect
user requests.
this should resolve the issue relating to nfs client hangs presented
recently by wiz on current-users@
Revision 1.195: download - view: text, markup, annotated - select for diffs
Sat Aug 2 03:55:26 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +29 -14
lines
restore splsoftnet() in various usrreqs that were removed during the PRU
splits. we will properly review removal after the PRU split work is
complete.
Revision 1.194: download - view: text, markup, annotated - select for diffs
Thu Jul 31 03:39:35 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +107 -36
lines
split PRU_DISCONNECT, PRU_SHUTDOWN and PRU_ABORT function out of
pr_generic() usrreq switches and put into separate functions
xxx_disconnect(struct socket *)
xxx_shutdown(struct socket *)
xxx_abort(struct socket *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req =
PRU_{DISCONNECT,SHUTDOWN,ABORT}
with calls to pr_{disconnect,shutdown,abort}() respectively
rename existing internal functions used to implement above functionality
to permit use of the names for xxx_{disconnect,shutdown,abort}().
- {l2cap,sco,rfcomm}_disconnect() ->
{l2cap,sco,rfcomm}_disconnect_pcb()
- {unp,rip,tcp}_disconnect() -> {unp,rip,tcp}_disconnect1()
- unp_shutdown() -> unp_shutdown1()
patch reviewed by rmind
Revision 1.193: download - view: text, markup, annotated - select for diffs
Wed Jul 30 10:04:26 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +95 -68
lines
split PRU_CONNECT function out of pr_generic() usrreq switches and put
into seaparate functions
xxx_listen(struct socket *, struct mbuf *)
- always KASSERT(solocked(so)) and KASSERT(nam != NULL)
- replace calls to pr_generic() with req = PRU_CONNECT with
pr_connect()
- rename existin {l2cap,sco,rfcomm}_connect() to
{l2cap,sco,rfcomm}_connect_pcb() respectively to permit
naming consistency with other protocols functions.
- drop struct lwp * parameter from unp_connect() and at_pcbconnect()
and use curlwp instead where appropriate.
patch reviewed by rmind
Revision 1.192: download - view: text, markup, annotated - select for diffs
Wed Jul 30 06:53:53 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +95 -362
lines
put boilerplate extraction of inpcb or in6pcb and tcpcb performed in tcp
usrreqs into a function that can be called instead of cut & pasting it
to every single usrreq function.
tcp_getpcb(struct socket *, struct inpcb **, struct in6pcb **, struct tcpcb **)
* examines the family of the provided socket and fills in either inpcb
or in6pcb and tcpcb.
* if the pcb is not present for the family of the socket EINVAL is
returned, if the family is not AF_INET{,6} EAFNOSUPPORT is returned.
signature provided by and patch reviewed by rmind
Revision 1.191: download - view: text, markup, annotated - select for diffs
Thu Jul 24 16:02:19 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +4 -23
lines
cleanup after last commit
- add KASSERT(req != PRU_BIND) and KASSERT(req != PRU_LISTEN) inside
tcp_usrreq() as these reqs should no longer reach here.
- remove (now unreachable) PRU_LISTEN case in switch.
Revision 1.190: download - view: text, markup, annotated - select for diffs
Thu Jul 24 15:12:03 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +197 -31
lines
split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreq
switches and put into separate functions
xxx_bind(struct socket *, struct mbuf *)
xxx_listen(struct socket *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_BIND with call to
pr_bind()
- replace calls to pr_generic() with req = PRU_LISTEN with call to
pr_listen()
- drop struct lwp * parameter from at_pcbsetaddr(), in_pcbbind() and
unp_bind() and always use curlwp.
rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_{bind,listen}() PRUs
- l2cap_{bind,listen}() -> l2cap_{bind,listen}_pcb()
- sco_{bind,listen}() -> sco_{bind,listen}_pcb()
- rfcomm_{bind,listen}() -> rfcomm_{bind,listen}_pcb()
patch reviewed by rmind
welcome to netbsd 6.99.48
Revision 1.189: download - view: text, markup, annotated - select for diffs
Wed Jul 23 13:17:18 2014 UTC (12 years, 3 months ago) by rtr
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +142 -42
lines
split PRU_SENDOOB and PRU_RCVOOB function out of pr_generic() usrreq
switches and put into separate functions
xxx_sendoob(struct socket *, struct mbuf *, struct mbuf *)
xxx_recvoob(struct socket *, struct mbuf *, int)
- always KASSERT(solocked(so)) even if request is not implemented
- replace calls to pr_generic() with req = PRU_{SEND,RCV}OOB with
calls to pr_{send,recv}oob() respectively.
there is still some tweaking of m_freem(m) and m_freem(control) to come
for consistency. not performed with this commit for clarity.
reviewed by rmind
Revision 1.188: download - view: text, markup, annotated - select for diffs
Mon Jul 14 13:20:41 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +2 -8
lines
pr_generic() for req = PRU_RCVOOB is always called with control == NULL
so don't bother with a conditional block that handles non-NULL, it
doesn't happen.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Thu Jul 10 14:05:19 2014 UTC (12 years, 4 months ago) by rmind
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +12 -20
lines
tcp_accept: simplify a little.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Wed Jul 9 14:41:42 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +79 -18
lines
* split PRU_ACCEPT function out of pr_generic() usrreq switches and put
into a separate function xxx_accept(struct socket *, struct mbuf *)
note: future cleanup will take place to remove struct mbuf parameter
type and replace it with a more appropriate type.
patch reviewed by rmind
Revision 1.185: download - view: text, markup, annotated - select for diffs
Wed Jul 9 04:54:04 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +137 -42
lines
* split PRU_PEERADDR and PRU_SOCKADDR function out of pr_generic()
usrreq switches and put into separate functions
xxx_{peer,sock}addr(struct socket *, struct mbuf *).
- KASSERT(solocked(so)) always in new functions even if request
is not implemented
- KASSERT(pcb != NULL) and KASSERT(nam) if the request is
implemented and not for tcp.
* for tcp roll #ifdef KPROF and #ifdef DEBUG code from tcp_usrreq() into
easier to cut & paste functions tcp_debug_capture() and
tcp_debug_trace()
- functions provided by rmind
- remaining use of PRU_{PEER,SOCK}ADDR #define to be removed in a
future commit.
* rename netbt functions to permit consistency of pru function names
(as has been done with other requests already split out).
- l2cap_{peer,sock}addr() -> l2cap_{peer,sock}_addr_pcb()
- rfcomm_{peer,sock}addr() -> rfcomm_{peer,sock}_addr_pcb()
- sco_{peer,sock}addr() -> sco_{peer,sock}_addr_pcb()
* split/refactor do_sys_getsockname(lwp, fd, which, nam) into
two functions do_sys_get{peer,sock}name(fd, nam).
- move PRU_PEERADDR handling into do_sys_getpeername() from
do_sys_getsockname()
- have svr4_stream directly call do_sys_get{sock,peer}name()
respectively instead of providing `which' & fix a DPRINTF string
that incorrectly wrote "getpeername" when it meant "getsockname"
- fix sys_getpeername() and sys_getsockname() to call
do_sys_get{sock,peer}name() without `which' and `lwp' & adjust
comments
- bump kernel version for removal of lwp & which parameters from
do_sys_getsockname()
note: future cleanup to remove struct mbuf * abuse in
xxx_{peer,sock}name()
still to come, not done in this commit since it is easier to do post
split.
patch reviewed by rmind
welcome to 6.99.47
Revision 1.184: download - view: text, markup, annotated - select for diffs
Mon Jul 7 17:13:56 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +4 -2
lines
* sprinkle KASSERT(solocked(so)); in all pr_stat() functions.
* fix remaining inconsistent struct socket parameter names.
Revision 1.183: download - view: text, markup, annotated - select for diffs
Mon Jul 7 15:13:21 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +4 -3
lines
backout change that made pr_stat return EOPNOTSUPP for protocols that
were not filling in struct stat.
decision made after further discussion with rmind and investigation of
how other operating systems behave. soo_stat() is doing just enough to
be able to call what gets returned valid and thus justifys a return of
success.
additional review will be done to determine of the pr_stat functions
that were already returning EOPNOTSUPP can be considered successful with
what soo_stat() is doing.
Revision 1.182: download - view: text, markup, annotated - select for diffs
Mon Jul 7 07:09:58 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +3 -4
lines
* have pr_stat return EOPNOTSUPP consistently for all protocols that do
not fill in struct stat instead of returning success.
* in pr_stat remove all checks for non-NULL so->so_pcb except where the
pcb is actually used (i.e. cases where we don't return EOPNOTSUPP).
proposed on tech-net@
Revision 1.181: download - view: text, markup, annotated - select for diffs
Sun Jul 6 03:33:33 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +14 -11
lines
* split PRU_SENSE functionality out of xxx_usrreq() switches and place into
separate xxx_stat(struct socket *, struct stat *) functions.
* replace calls using pr_generic with req == PRU_SENSE with pr_stat().
further change will follow that cleans up the pattern used to extract the
pcb and test for its presence.
reviewed by rmind
Revision 1.180: download - view: text, markup, annotated - select for diffs
Tue Jul 1 05:49:18 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +5 -8
lines
fix parameter types in pr_ioctl, called xx_control() functions and remove
abuse of pointer to struct mbuf type.
param2 changed to u_long type and uses parameter name 'cmd' (ioctl command)
param3 changed to void * type and uses parameter name 'data'
param4 changed to struct ifnet * and uses parameter name 'ifp'
param5 has been removed (formerly struct lwp *) and uses of 'l' have been
replaced with curlwp from curproc(9).
callers have had (now unnecessary) casts to struct mbuf * removed, called
code has had (now unnecessary) casts to u_long, void * and struct ifnet *
respectively removed.
reviewed by rmind@
Revision 1.179: download - view: text, markup, annotated - select for diffs
Mon Jun 23 17:18:45 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +7 -7
lines
where appropriate rename xxx_ioctl() struct mbuf * parameters from
`control' to `ifp' after split from xxx_usrreq().
sys_socket.c
fix wrapping of arguments to be consistent with other function calls
in the file after replacing pr_usrreq() call with pr_ioctl() which
required one less argument.
link_proto.c
fix indentation of parameters in link_ioctl() prototype to be
consistent with the rest of the file.
discussed with rmind@
Revision 1.178: download - view: text, markup, annotated - select for diffs
Sun Jun 22 08:10:18 2014 UTC (12 years, 4 months ago) by rtr
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +25 -19
lines
* split PRU_CONTROL functionality out of xxx_userreq() switches and place
into separate xxx_ioctl() functions.
* place KASSERT(req != PRU_CONTROL) inside xxx_userreq() as it is now
inappropriate for req = PRU_CONTROL in xxx_userreq().
* replace calls to pr_generic() with req = PRU_CONTROL with pr_ioctl().
* remove & fixup references to PRU_CONTROL xxx_userreq() function comments.
* fix various comments references for xxx_userreq() that mentioned
PRU_CONTROL as xxx_userreq() no longer handles the request.
a further change will follow to fix parameter and naming inconsistencies
retained from original code.
Reviewed by rmind@
Revision 1.160.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:10 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.160.2.2: preferred, colored; branchpoint 1.160: preferred, colored; next MAIN 1.161: preferred, colored
Changes since revision 1.160.2.2: +72 -28
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.177: download - view: text, markup, annotated - select for diffs
Thu May 22 00:28:32 2014 UTC (12 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +5 -6
lines
tcp_usrreq: fix the previous - the assert is still not true (but PRU_SENSE
case will handle it); eventually, pr_usrreq should not be called without
PCB attached.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Wed May 21 18:41:43 2014 UTC (12 years, 5 months ago) by rmind
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +5 -6
lines
tcp_usrreq: fix the previous correctly - restore the assert logic,
but move it after the PRU_SENSE check.
Revision 1.175: download - view: text, markup, annotated - select for diffs
Wed May 21 13:21:20 2014 UTC (12 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +3 -3
lines
Restore original sense of the check, and allow both inp and in6p to be
NULL. This case is explicitly handled below.
Revision 1.174: download - view: text, markup, annotated - select for diffs
Tue May 20 19:04:00 2014 UTC (12 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +5 -4
lines
Adjust PR_WRAP_USRREQS() to include the attach/detach functions.
We still need the kernel-lock for some corner cases.
Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon May 19 02:51:25 2014 UTC (12 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +104 -61
lines
- Split off PRU_ATTACH and PRU_DETACH logic into separate functions.
- Replace malloc with kmem and eliminate M_PCB while here.
- Sprinkle more asserts.
Revision 1.166.4.5: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:13 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.166.4.4: preferred, colored; branchpoint 1.166: preferred, colored; next MAIN 1.167: preferred, colored
Changes since revision 1.166.4.4: +48 -18
lines
sync with head
Revision 1.172: download - view: text, markup, annotated - select for diffs
Sun May 18 14:46:16 2014 UTC (12 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +13 -6
lines
Add struct pr_usrreqs with a pr_generic function and prepare for the
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.
Bump for struct protosw. Welcome to 6.99.62!
Revision 1.171: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:12 2014 UTC (12 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +2 -7
lines
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
Revision 1.162.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 14 19:29:29 2013 UTC (12 years, 11 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.162.2.2: preferred, colored; branchpoint 1.162: preferred, colored; next MAIN 1.163: preferred, colored
Changes since revision 1.162.2.2: +38 -5
lines
Pull up following revision(s) (requested by kefren in ticket #992):
sys/netinet/tcp_usrreq.c: revision 1.170
Update TCP CB with new values on rfc1323 and mssdflt sysctl updates
=46rom yasuoka-cj7TXg5MjN14Eiagz67IpQ@public.gmane.org in kern/44254
Revision 1.170: download - view: text, markup, annotated - select for diffs
Mon Dec 2 09:39:54 2013 UTC (12 years, 11 months ago) by kefren
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +38 -5
lines
Update TCP CB with new values on rfc1323 and mssdflt sysctl updates
From yasuoka@iij.ad.jp in kern/44254
Revision 1.169: download - view: text, markup, annotated - select for diffs
Sat Nov 23 14:20:21 2013 UTC (12 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -7
lines
convert from CIRCLEQ to TAILQ.
Revision 1.162.2.1.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 20 13:29:48 2013 UTC (13 years ago) by bouyer
Branches: netbsd-6-0
CVS tags: netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE
Diff to: previous 1.162.2.1: preferred, colored; next MAIN 1.162.2.2: preferred, colored
Changes since revision 1.162.2.1: +10 -8
lines
Pull up following revision(s) (requested by spz in ticket #967):
sys/netinet/tcp_usrreq.c: revision 1.168
PR/48098: Brian Marcotte: Avoid kernel assertion for embryonic sockets that
don't have credentials yet.
XXX: pullup-6
Revision 1.162.2.1.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 20 13:29:44 2013 UTC (13 years ago) by bouyer
Branches: netbsd-6-1
CVS tags: netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE
Diff to: previous 1.162.2.1: preferred, colored; next MAIN 1.162.2.2: preferred, colored
Changes since revision 1.162.2.1: +10 -8
lines
Pull up following revision(s) (requested by spz in ticket #967):
sys/netinet/tcp_usrreq.c: revision 1.168
PR/48098: Brian Marcotte: Avoid kernel assertion for embryonic sockets that
don't have credentials yet.
XXX: pullup-6
Revision 1.162.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 20 13:29:37 2013 UTC (13 years ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.162.2.1: preferred, colored; branchpoint 1.162: preferred, colored
Changes since revision 1.162.2.1: +10 -8
lines
Pull up following revision(s) (requested by spz in ticket #967):
sys/netinet/tcp_usrreq.c: revision 1.168
PR/48098: Brian Marcotte: Avoid kernel assertion for embryonic sockets that
don't have credentials yet.
XXX: pullup-6
Revision 1.166.4.4: download - view: text, markup, annotated - select for diffs
Thu Oct 17 23:52:18 2013 UTC (13 years, 1 month ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.166.4.3: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.4.3: +1 -1
lines
Eliminate some of the splsoftnet() calls, misc clean up.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Fri Oct 4 16:20:35 2013 UTC (13 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +12 -10
lines
PR/48098: Brian Marcotte: Avoid kernel assertion for embryonic sockets that
don't have credentials yet.
XXX: pullup-6
Revision 1.166.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 23 00:57:53 2013 UTC (13 years, 1 month ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.166.4.2: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.4.2: +3 -3
lines
- Add some initial locking to the IPv4 PCB.
- Rename inpcb_lookup_*() routines to be more accurate and add comments.
- Add some comments about connection life-cycle WRT socket layer.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Sep 15 14:45:50 2013 UTC (13 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +2 -5
lines
Remove unused variables
Revision 1.166.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 28 15:21:48 2013 UTC (13 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.166.4.1: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.4.1: +119 -73
lines
Checkpoint work in progress:
- Initial split of the protocol user-request method into the following
methods: pr_attach, pr_detach and pr_generic for old the pr_usrreq.
- Adjust socreate(9) and sonewconn(9) to call pr_attach without the
socket lock held (as a preparation for the locking scheme adjustment).
- Adjust all pr_attach routines to assert that PCB is not set.
- Sprinkle various comments, document some routines and their locking.
- Remove M_PCB, replace with kmem(9).
- Fix few bugs spotted on the way.
Revision 1.166.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 17 03:16:31 2013 UTC (13 years, 4 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +57 -241
lines
Checkpoint work in progress:
- Move PCB structures under __INPCB_PRIVATE, adjust most of the callers
and thus make IPv4 PCB structures mostly opaque. Any volunteers for
merging in6pcb with inpcb (see rpaulo-netinet-merge-pcb branch)?
- Move various global vars to the modules where they belong, make them static.
- Some preliminary work for IPv4 PCB locking scheme.
- Make raw IP code mostly MP-safe. Simplify some of it.
- Rework "fast" IP forwarding (ipflow) code to be mostly MP-safe. It should
run from a software interrupt, rather than hard.
- Rework tun(4) pseudo interface to be MP-safe.
- Work towards making some other interfaces more strict.
Revision 1.165.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:25 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +25 -4
lines
resync from head
Revision 1.166: download - view: text, markup, annotated - select for diffs
Wed Apr 10 00:16:03 2013 UTC (13 years, 7 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +25 -4
lines
Limit the tcp initial window setting to 10, leaving it by default to 4
and simplifying the code in process. Per draft-ietf-initcwnd-08.txt.
Revision 1.160.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:47 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.160.2.1: preferred, colored; branchpoint 1.160: preferred, colored
Changes since revision 1.160.2.1: +3 -3
lines
sync with head
Revision 1.165: download - view: text, markup, annotated - select for diffs
Sat Jun 2 21:36:47 2012 UTC (14 years, 5 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +3 -3
lines
Add some pre-processor magic to verify that the type of the data item
passed to sysctl_createv() actually matches the declared type for
the item itself.
In the places where the caller specifies a function and a structure
address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.
Revision 1.160.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:41 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +7 -13
lines
sync with head
Revision 1.160.6.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:44 2012 UTC (14 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.160.6.1: preferred, colored; branchpoint 1.160: preferred, colored; next MAIN 1.161: preferred, colored
Changes since revision 1.160.6.1: +6 -10
lines
sync to latest -current.
Revision 1.164: download - view: text, markup, annotated - select for diffs
Thu Mar 22 20:34:39 2012 UTC (14 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base10
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +2 -6
lines
remove KAME IPSEC, replaced by FAST_IPSEC
Revision 1.162.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 17 19:51:45 2012 UTC (14 years, 8 months ago) by bouyer
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: netbsd-6-1,
netbsd-6-0
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +6 -6
lines
Pull up following revision(s) (requested by jruoho in ticket #124):
sys/netinet/tcp_usrreq.c: revision 1.163
PR/46077: M. Nunberg: Stat should not fial on connecting socket.
Revision 1.163: download - view: text, markup, annotated - select for diffs
Sat Mar 17 02:48:51 2012 UTC (14 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +6 -6
lines
PR/46077: M. Nunberg: Stat should not fial on connecting socket.
Revision 1.160.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:41 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +5 -7
lines
merge to -current.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Thu Feb 2 19:43:07 2012 UTC (14 years, 9 months ago) by tls
Branches: MAIN
CVS tags: netbsd-6-base,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +3 -5
lines
Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.
ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Mon Dec 19 11:59:57 2011 UTC (14 years, 11 months ago) by drochner
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +4 -4
lines
rename the IPSEC in-kernel CPP variable and config(8) option to
KAME_IPSEC, and make IPSEC define it so that existing kernel
config files work as before
Now the default can be easily be changed to FAST_IPSEC just by
setting the IPSEC alias to FAST_IPSEC.
Revision 1.159.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:26 2011 UTC (15 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.159: preferred, colored; next MAIN 1.160: preferred, colored
Changes since revision 1.159: +3 -3
lines
Catchup with rmind-uvmplock merge.
Revision 1.158.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:30 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.158.4.1: preferred, colored; branchpoint 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.4.1: +1 -1
lines
sync with head
Revision 1.160: download - view: text, markup, annotated - select for diffs
Mon Jun 6 19:15:43 2011 UTC (15 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +3 -3
lines
Don't allocate resources for vtw until/unless it is enabled. This will
further help those machines where memory is in short supply.
TBD: release resources after vtw is disabled and all entries have
expired.
Revision 1.158.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:57 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158: +77 -4
lines
Sync with HEAD.
Revision 1.158.4.1: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:08 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +77 -4
lines
sync with head
Revision 1.159: download - view: text, markup, annotated - select for diffs
Tue May 3 18:28:45 2011 UTC (15 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +77 -4
lines
Reduces the resources demanded by TCP sessions in TIME_WAIT-state using
methods called Vestigial Time-Wait (VTW) and Maximum Segment Lifetime
Truncation (MSLT).
MSLT and VTW were contributed by Coyote Point Systems, Inc.
Even after a TCP session enters the TIME_WAIT state, its corresponding
socket and protocol control blocks (PCBs) stick around until the TCP
Maximum Segment Lifetime (MSL) expires. On a host whose workload
necessarily creates and closes down many TCP sockets, the sockets & PCBs
for TCP sessions in TIME_WAIT state amount to many megabytes of dead
weight in RAM.
Maximum Segment Lifetimes Truncation (MSLT) assigns each TCP session to
a class based on the nearness of the peer. Corresponding to each class
is an MSL, and a session uses the MSL of its class. The classes are
loopback (local host equals remote host), local (local host and remote
host are on the same link/subnet), and remote (local host and remote
host communicate via one or more gateways). Classes corresponding to
nearer peers have lower MSLs by default: 2 seconds for loopback, 10
seconds for local, 60 seconds for remote. Loopback and local sessions
expire more quickly when MSLT is used.
Vestigial Time-Wait (VTW) replaces a TIME_WAIT session's PCB/socket
dead weight with a compact representation of the session, called a
"vestigial PCB". VTW data structures are designed to be very fast and
memory-efficient: for fast insertion and lookup of vestigial PCBs,
the PCBs are stored in a hash table that is designed to minimize the
number of cacheline visits per lookup/insertion. The memory both
for vestigial PCBs and for elements of the PCB hashtable come from
fixed-size pools, and linked data structures exploit this to conserve
memory by representing references with a narrow index/offset from the
start of a pool instead of a pointer. When space for new vestigial PCBs
runs out, VTW makes room by discarding old vestigial PCBs, oldest first.
VTW cooperates with MSLT.
It may help to think of VTW as a "FIN cache" by analogy to the SYN
cache.
A 2.8-GHz Pentium 4 running a test workload that creates TIME_WAIT
sessions as fast as it can is approximately 17% idle when VTW is active
versus 0% idle when VTW is inactive. It has 103 megabytes more free RAM
when VTW is active (approximately 64k vestigial PCBs are created) than
when it is inactive.
Revision 1.149.6.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:22 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.149.6.1: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.6.1: +8 -2
lines
sync to netbsd-5
Revision 1.144.2.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:29 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.144.2.4: preferred, colored; branchpoint 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144.2.4: +10 -17
lines
sync with head
Revision 1.158: download - view: text, markup, annotated - select for diffs
Wed Dec 30 06:59:32 2009 UTC (16 years, 10 months ago) by elad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: rmind-uvmplock,
jruoho-x86intr
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +3 -3
lines
Get the uid from the socket's credentials.
Revision 1.149.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 26 18:34:29 2009 UTC (17 years, 1 month ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.149.4.1: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.4.1: +8 -2
lines
Pull up following revision(s) (requested by darran in ticket #950):
sys/netinet/tcp_input.c: revision 1.299
sys/netinet/tcp_usrreq.c: revision 1.156
sys/netinet/tcp_var.h: revision 1.161
Make tcp msl (max segment life) tunable via sysctl net.inet.tcp.msl.
Okayed by tls@.
Revision 1.157: download - view: text, markup, annotated - select for diffs
Wed Sep 16 15:23:05 2009 UTC (17 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: matt-premerge-20091211,
jym-xensuspend-nbase
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +9 -16
lines
Replace a large number of link set based sysctl node creations with
calls from subsystem constructors. Benefits both future kernel
modules and rump.
no change to sysctl nodes on i386/MONOLITHIC & build tested i386/ALL
Revision 1.144.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:38:02 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.144.2.3: preferred, colored; branchpoint 1.144: preferred, colored
Changes since revision 1.144.2.3: +8 -2
lines
sync with head
Revision 1.156: download - view: text, markup, annotated - select for diffs
Wed Sep 9 22:41:28 2009 UTC (17 years, 2 months ago) by darran
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +8 -2
lines
Make tcp msl (max segment life) tunable via sysctl net.inet.tcp.msl.
Okayed by tls@.
Revision 1.129.8.1: download - view: text, markup, annotated - select for diffs
Sat Sep 5 13:58:52 2009 UTC (17 years, 2 months ago) by bouyer
Branches: netbsd-4-0
Diff to: previous 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129: +5 -2
lines
Pull up following revision(s) (requested by mlelstv in ticket #1358):
sys/netinet/tcp_usrreq.c: revision 1.148 via patch
Make the sysctl routines take raise to splnet() before dealing with
any data structures.
Revision 1.129.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 5 13:58:48 2009 UTC (17 years, 2 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.129.2.2: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.2.2: +5 -2
lines
Pull up following revision(s) (requested by mlelstv in ticket #1358):
sys/netinet/tcp_usrreq.c: revision 1.148 via patch
Make the sysctl routines take raise to splnet() before dealing with
any data structures.
Revision 1.150.4.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:48 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.150.4.1: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.4.1: +5 -3
lines
Sync with HEAD.
Revision 1.144.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:34 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.144.2.2: preferred, colored; branchpoint 1.144: preferred, colored
Changes since revision 1.144.2.2: +5 -3
lines
sync with head
Revision 1.149.6.1: download - view: text, markup, annotated - select for diffs
Wed Jun 17 20:29:37 2009 UTC (17 years, 5 months ago) by bouyer
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +5 -3
lines
Pull up following revision(s) (requested by rmind in ticket #812):
sys/netinet/tcp_usrreq.c: revision 1.155
sysctl_inpcblist: fix a lock leak in error path (hi <matt>).
Revision 1.149.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 17 20:29:33 2009 UTC (17 years, 5 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +5 -3
lines
Pull up following revision(s) (requested by rmind in ticket #812):
sys/netinet/tcp_usrreq.c: revision 1.155
sysctl_inpcblist: fix a lock leak in error path (hi <matt>).
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun Jun 7 16:20:29 2009 UTC (17 years, 5 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +5 -3
lines
sysctl_inpcblist: fix a lock leak in error path (hi <matt>).
Revision 1.150.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:22:28 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +22 -31
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.144.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:18 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.144.2.1: preferred, colored; branchpoint 1.144: preferred, colored
Changes since revision 1.144.2.1: +88 -86
lines
sync with head.
Revision 1.149.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:23 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.149.2.2: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.2.2: +18 -31
lines
Sync with HEAD.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Fri Apr 17 01:48:22 2009 UTC (17 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +4 -4
lines
Pass the lwp argument to in6_pcbbind() for the INET6 PRU_LISTEN and
PRU_CONNECT cases of tcp_usrreq(). It seems they were forgotten a long
time ago.
Similar code in FreeBSD and OpenBSD passes the thread (credentials)/proc.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Wed Apr 15 20:44:25 2009 UTC (17 years, 7 months ago) by elad
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +13 -24
lines
Remove a few KAUTH_GENERIC_ISSUSER in favor of more descriptive
alternatives.
Discussed on tech-kern:
http://mail-index.netbsd.org/tech-kern/2009/04/11/msg004798.html
Input from ad@, christos@, dyoung@, tsutsui@.
Okay ad@.
Revision 1.152: download - view: text, markup, annotated - select for diffs
Wed Mar 11 05:55:22 2009 UTC (17 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +5 -7
lines
like KERN_FILE2: *do* update "needed" when there is no count. we want
userland to know what sort of size to provide..
while here, slightly normalise the previous to init_sysctl.c.
Revision 1.149.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:33:39 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.149.2.1: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.1: +6 -2
lines
Sync with HEAD.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Wed Feb 18 13:18:32 2009 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +6 -2
lines
sysctl_net_inet_ip_ports: fix ipv6 sysctls.
Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:13 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +6 -8
lines
Sync with HEAD.
Revision 1.140.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:32 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.140.6.2: preferred, colored; branchpoint 1.140: preferred, colored; next MAIN 1.141: preferred, colored
Changes since revision 1.140.6.2: +5 -6
lines
Sync with HEAD.
Revision 1.146.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:27 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.146.6.1: preferred, colored; branchpoint 1.146: preferred, colored; next MAIN 1.147: preferred, colored
Changes since revision 1.146.6.1: +6 -8
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Nov 6 03:34:37 2008 UTC (18 years ago) by dyoung
Branches: MAIN
CVS tags: mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +6 -8
lines
Cosmetic: change (type *)0 to NULL.
Revision 1.146.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:46 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +66 -53
lines
Sync with HEAD.
Revision 1.149: download - view: text, markup, annotated - select for diffs
Sat Oct 11 13:40:57 2008 UTC (18 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5-0,
netbsd-5
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -2
lines
Move uidinfo to its own module in kern_uidinfo.c and include in rump.
No functional change to uidinfo.
Revision 1.140.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:58 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.140.6.1: preferred, colored; branchpoint 1.140: preferred, colored
Changes since revision 1.140.6.1: +63 -51
lines
Sync with HEAD.
Revision 1.146.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:01 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.146: preferred, colored; next MAIN 1.147: preferred, colored
Changes since revision 1.146: +65 -53
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Wed Aug 20 18:35:20 2008 UTC (18 years, 3 months ago) by matt
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +22 -13
lines
Make the sysctl routines take out softnet_lock before dealing with
any data structures.
Change inet6ctlerrmap and zeroin6_addr to const.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Wed Aug 6 15:01:23 2008 UTC (18 years, 3 months ago) by plunky
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +45 -42
lines
Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.
approved by core
Revision 1.129.4.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:42 2008 UTC (18 years, 5 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129: +157 -58
lines
Sync with netbsd-4.
Revision 1.140.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:25 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +17 -11
lines
Sync with HEAD.
Revision 1.142.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:29 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.142: preferred, colored; next MAIN 1.143: preferred, colored
Changes since revision 1.142: +9 -35
lines
sync with head.
Revision 1.144.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:42 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +3 -15
lines
sync with head.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Sun May 4 07:22:14 2008 UTC (18 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
haad-dm
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -8
lines
Simplify the interface to netstat_sysctl() and allocate space for
the collated counters using kmem_alloc().
PR kern/38577
Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:09 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.144: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:38:38 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +8 -2
lines
Merge the socket locking patch:
- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.
With much feedback from matt@ and plunky@.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Wed Apr 23 06:09:05 2008 UTC (18 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +7 -27
lines
Make IPSEC and FAST_IPSEC stats per-cpu. Use <net/net_stats.h> and
netstat_sysctl().
Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Apr 12 05:58:22 2008 UTC (18 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +36 -4
lines
Make IP, TCP, UDP, and ICMP statistics per-CPU. The stats are collated
when the user requests them via sysctl.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Tue Apr 8 01:03:58 2008 UTC (18 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +4 -4
lines
Change TCP stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old tcpstat structure; old netstat
binaries will continue to work properly.
Revision 1.129.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 29 22:37:44 2008 UTC (18 years, 9 months ago) by pavel
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.129.2.1: preferred, colored; branchpoint 1.129: preferred, colored
Changes since revision 1.129.2.1: +2 -0
lines
Pull up following revision(s) (requested by joerg in ticket #1057):
sys/netinet/tcp_usrreq.c: revision 1.134
Protect inet6_ident_core() with #ifdef INET6, fixes building without
options INET6.
Revision 1.129.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 21 20:17:48 2008 UTC (18 years, 9 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +155 -58
lines
Pull up following revision(s) (requested by ghen in ticket #1039):
sys/netinet/tcp_var.h: revision 1.148
distrib/sets/lists/comp/mi: revision 1.1035
distrib/sets/lists/man/mi: revision 1.1010
usr.sbin/tcpdrop/Makefile: revision 1.1
usr.sbin/tcpdrop/tcpdrop.c: revision 1.1 - 1.3
usr.sbin/tcpdrop/tcpdrop.8: revision 1.1
usr.sbin/Makefile: revision 1.228 via patch
sys/netinet/tcp_usrreq.c: revision 1.133
distrib/sets/lists/base/mi: revision 1.712
Import tcpdrop(8) from OpenBSD
Revision 1.106.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:19 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.106.2.6: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.6: +4 -6
lines
sync with head
Revision 1.136.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:30 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.136.4.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.4.1: +11 -13
lines
sync with HEAD
Revision 1.139.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:57:26 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139: +4 -6
lines
Sync with HEAD
Revision 1.138.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:32 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.138.2.1: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.2.1: +4 -6
lines
Sync with HEAD.
Revision 1.139.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:42 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139: +4 -6
lines
Sync with head.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Dec 16 14:12:35 2007 UTC (18 years, 11 months ago) by elad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -6
lines
Really fix low port allocation, by always passing a valid lwp to
in_pcbbind().
Okay dyoung@.
Note that the network code is another candidate for major cleanup... also
note that this issue is likely to be present in netinet6 code, too.
Revision 1.138.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:14 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +9 -9
lines
Sync with HEAD.
Revision 1.106.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:34:32 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.106.2.5: preferred, colored
Changes since revision 1.106.2.5: +9 -9
lines
sync with head
Revision 1.136.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:15:11 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.136.2.2: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.2.2: +9 -9
lines
Sync with HEAD.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Tue Nov 27 22:45:30 2007 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +9 -9
lines
require that the options argument is the right size, not that it is greater
or equal to the requested size. Suggested by Matt Thomas.
Revision 1.106.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:45:08 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.106.2.4: preferred, colored
Changes since revision 1.106.2.4: +5 -6
lines
sync with head.
Revision 1.137.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:02:52 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +5 -6
lines
Sync with HEAD
Revision 1.136.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:33:53 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +6 -9
lines
sync with HEAD
Revision 1.136.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 4 21:03:39 2007 UTC (19 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.136.2.1: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.1: +5 -6
lines
Sync with HEAD.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sun Nov 4 11:04:27 2007 UTC (19 years ago) by rmind
Branches: MAIN
CVS tags: jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +5 -6
lines
Pick the smallest possible TCP window scaling factor that will still allow
us to scale up to sb_max. This might fix the problems with some firewalls.
Taken from FreeBSD (silby).
OK by <dyoung>.
Revision 1.106.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:09 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.106.2.3: preferred, colored
Changes since revision 1.106.2.3: +3 -5
lines
sync with head.
Revision 1.131.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:52 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.131.2.2: preferred, colored; branchpoint 1.131: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.2.2: +3 -5
lines
Sync with head.
Revision 1.136.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:29:21 2007 UTC (19 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -5
lines
Sync with HEAD.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Wed Sep 19 04:33:44 2007 UTC (19 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -5
lines
1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that
tells a socket that it should both add a protocol header to tx'd
datagrams and remove the header from rx'd datagrams:
int onoff = 1, s = socket(...);
setsockopt(s, SOL_SOCKET, SO_NOHEADER, &onoff);
2) Add an implementation of (SOL_SOCKET, SO_NOHEADER) for raw IPv4
sockets.
3) Reorganize the protocols' pr_ctloutput implementations a bit.
Consistently return ENOPROTOOPT when an option is unsupported,
and EINVAL if a supported option's arguments are incorrect.
Reorganize the flow of code so that it's more clear how/when
options are passed down the stack until they are handled.
Shorten some pr_ctloutput staircases for readability.
4) Extract common mbuf code into subroutines, add new sockaddr
methods, and introduce a new subroutine, fsocreate(), for reuse
later; use it first in sys_socket():
struct mbuf *m_getsombuf(struct socket *so)
Create an mbuf and make its owner the socket `so'.
struct mbuf *m_intopt(struct socket *so, int val)
Create an mbuf, make its owner the socket `so', put the
int `val' into it, and set its length to sizeof(int).
int fsocreate(..., int *fd)
Create a socket, a la socreate(9), put the socket into the
given LWP's descriptor table, return the descriptor at `fd'
on success.
void *sockaddr_addr(struct sockaddr *sa, socklen_t *slenp)
const void *sockaddr_const_addr(const struct sockaddr *sa, socklen_t *slenp)
Extract a pointer to the address part of a sockaddr. Write
the length of the address part at `slenp', if `slenp' is
not NULL.
socklen_t sockaddr_getlen(const struct sockaddr *sa)
Return the length of a sockaddr. This just evaluates to
sa->sa_len. I only add this for consistency with code that
appears in a portable userland library that I am going to
import.
const struct sockaddr *sockaddr_any(const struct sockaddr *sa)
Return the "don't care" sockaddr in the same family as
`sa'. This is the address a client should sobind(9) if it
does not care the source address and, if applicable, the
port et cetera that it uses.
const void *sockaddr_anyaddr(const struct sockaddr *sa, socklen_t *slenp)
Return the "don't care" sockaddr in the same family as
`sa'. This is the address a client should sobind(9) if it
does not care the source address and, if applicable, the
port et cetera that it uses.
Revision 1.106.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:43:04 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.106.2.2: preferred, colored
Changes since revision 1.106.2.2: +338 -77
lines
sync with head.
Revision 1.131.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:02 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.131.2.1: preferred, colored; branchpoint 1.131: preferred, colored
Changes since revision 1.131.2.1: +61 -4
lines
Sync with HEAD.
Revision 1.135.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:49:47 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +61 -4
lines
Sync with HEAD.
Revision 1.136.6.2: download - view: text, markup, annotated - select for diffs
Thu Aug 2 02:42:42 2007 UTC (19 years, 3 months ago) by rmind
Branches: matt-mips64
Diff to: previous 1.136.6.1: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.6.1: +2039 -0
lines
TCP socket buffers automatic sizing - ported from FreeBSD.
http://mail-index.netbsd.org/tech-net/2007/02/04/0006.html
! Disabled by default, marked as experimental. Testers are very needed.
! Someone should thoroughly test this, and improve if possible.
Discussed on <tech-net>:
http://mail-index.netbsd.org/tech-net/2007/07/12/0002.html
Thanks Greg Troxel for comments.
OK by the long silence on <tech-net>.
Revision 1.136.6.1
Thu Aug 2 02:42:41 2007 UTC (19 years, 3 months ago) by rmind
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.136: +0 -2039
lines
file tcp_usrreq.c was added on branch matt-mips64 on 2007-08-02 02:42:42 +0000
Revision 1.136: download - view: text, markup, annotated - select for diffs
Thu Aug 2 02:42:41 2007 UTC (19 years, 3 months ago) by rmind
Branches: MAIN
CVS tags: nick-csl-alignment-base5,
matt-mips64-base
Branch point for: matt-mips64,
matt-armv6,
jmcneill-pm
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +61 -4
lines
TCP socket buffers automatic sizing - ported from FreeBSD.
http://mail-index.netbsd.org/tech-net/2007/02/04/0006.html
! Disabled by default, marked as experimental. Testers are very needed.
! Someone should thoroughly test this, and improve if possible.
Discussed on <tech-net>:
http://mail-index.netbsd.org/tech-net/2007/07/12/0002.html
Thanks Greg Troxel for comments.
OK by the long silence on <tech-net>.
Revision 1.131.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:59 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +276 -72
lines
Sync with head.
Revision 1.131.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:11:29 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.131: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131: +276 -72
lines
Sync with head.
Revision 1.135: download - view: text, markup, annotated - select for diffs
Thu Jun 28 21:11:12 2007 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
hpcarm-cleanup
Branch point for: nick-csl-alignment
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +37 -19
lines
Handle mapped and scoped ipv6 addresses. From Anon Ymous.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Tue Jun 26 09:19:36 2007 UTC (19 years, 4 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -2
lines
Protect inet6_ident_core() with #ifdef INET6, fixes building without
options INET6.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Mon Jun 25 23:35:12 2007 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +155 -58
lines
tcpdrop kernel bits (from anon ymous)
Revision 1.132: download - view: text, markup, annotated - select for diffs
Wed Jun 20 15:29:19 2007 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +96 -9
lines
- per socket keepalive settings
- settable connection establishment timeout
Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:39 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +5 -5
lines
Sync with HEAD.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:22 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +5 -5
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.120.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:14 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.120.2.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.2.1: +5 -5
lines
Sync with head.
Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:34 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.106.2.1: preferred, colored
Changes since revision 1.106.2.1: +135 -28
lines
sync with head.
Revision 1.122.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:11 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.122.2.1: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.2.1: +6 -6
lines
sync with head.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Dec 6 09:10:45 2006 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +5 -5
lines
add some more tcp mowners.
Revision 1.120.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:37 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +110 -31
lines
Sync with head.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Fri Nov 10 13:19:16 2006 UTC (20 years ago) by yamt
Branches: MAIN
CVS tags: wrstuden-fixsa-base-1,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: wrstuden-fixsa,
netbsd-4-0,
netbsd-4
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -3
lines
tcp_ctloutput: when called for a socket which is not AF_INET or AF_INET6,
panic rather than returning possibly leaking an mbuf.
Revision 1.122.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:29 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +109 -32
lines
sync with head
Revision 1.128: download - view: text, markup, annotated - select for diffs
Thu Oct 19 14:14:34 2006 UTC (20 years, 1 month ago) by rpaulo
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +24 -29
lines
Use a better way to create sysctl subtrees for ECN and Congctl.
Inspired on ABC subtree.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu Oct 19 11:40:51 2006 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +20 -2
lines
implement RFC3465 appropriate byte counting.
from Kentaro A. Kurahone, with minor adjustments by me.
the ack prediction part of the original patch was omitted because
it's a separate change. reviewed by Rui Paulo.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Oct 16 18:13:56 2006 UTC (20 years, 1 month ago) by rpaulo
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +13 -2
lines
Export the tcp_do_rfc1948 variable to userland via sysctl.
The code to generate an ISS via an MD5 hash has been present in the
NetBSD kernel since 2001, but it wasn't even exported to userland at
that time. It was agreed on tech-net with the original author <thorpej>
that we should let the user decide if he wants to enable it or not.
Not enabled by default.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Fri Oct 13 15:39:19 2006 UTC (20 years, 1 month ago) by elad
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +5 -9
lines
Introduce KAUTH_REQ_NETWORK_SOCKET_CANSEE. Since we're not gonna be having
credentials on sockets, at least not anytime soon, this is a way to check
if we can "look" at a socket. Later on when (and if) we do have socket
credentials, the interface usage remains the same because we pass the
socket.
This also fixes sysctl for inet/inet6 pcblist.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Oct 9 16:27:07 2006 UTC (20 years, 1 month ago) by rpaulo
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +63 -9
lines
Modular (I tried ;-) TCP congestion control API. Whenever certain conditions
happen in the TCP stack, this interface calls the specified callback to
handle the situation according to the currently selected congestion
control algorithm.
A new sysctl node was created: net.inet.tcp.congctl.{available,selected}
with obvious meanings.
The old net.inet.tcp.newreno MIB was removed.
The API is discussed in tcp_congctl(9).
In the near future, it will be possible to selected a congestion control
algorithm on a per-socket basis.
Discussed on tech-net and reviewed by <yamt>.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Thu Oct 5 17:35:19 2006 UTC (20 years, 1 month ago) by tls
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +6 -3
lines
Protect calls to pool_put/pool_get that may occur in interrupt context
with spl used to protect other allocations and frees, or datastructure
element insertion and removal, in adjacent code.
It is almost unquestionably the case that some of the spl()/splx() calls
added here are superfluous, but it really seems wrong to see:
s=splfoo();
/* frob data structure */
splx(s);
pool_put(x);
and if we think we need to protect the first operation, then it is hard
to see why we should not think we need to protect the next. "Better
safe than sorry".
It is also almost unquestionably the case that I missed some pool
gets/puts from interrupt context with my strategy for finding these
calls; use of PR_NOWAIT is a strong hint that a pool may be used from
interrupt context but many callers in the kernel pass a "can wait/can't
wait" flag down such that my searches might not have found them. One
notable area that needs to be looked at is pf.
See also:
http://mail-index.netbsd.org/tech-kern/2006/07/19/0003.html
http://mail-index.netbsd.org/tech-kern/2006/07/19/0009.html
Revision 1.113.8.3: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:55 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.113.8.2: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.8.2: +38 -9
lines
sync with head.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Wed Sep 13 10:07:42 2006 UTC (20 years, 2 months ago) by elad
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3
lines
Don't use KAUTH_RESULT_* where it's not applicable.
Prompted by yamt@.
Revision 1.113.4.3: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:47 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.113.4.2: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.4.2: +62 -27
lines
sync with head
Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Sep 8 20:58:58 2006 UTC (20 years, 2 months ago) by elad
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +9 -7
lines
First take at security model abstraction.
- Add a few scopes to the kernel: system, network, and machdep.
- Add a few more actions/sub-actions (requests), and start using them as
opposed to the KAUTH_GENERIC_ISSUSER place-holders.
- Introduce a basic set of listeners that implement our "traditional"
security model, called "bsd44". This is the default (and only) model we
have at the moment.
- Update all relevant documentation.
- Add some code and docs to help folks who want to actually use this stuff:
* There's a sample overlay model, sitting on-top of "bsd44", for
fast experimenting with tweaking just a subset of an existing model.
This is pretty cool because it's *really* straightforward to do stuff
you had to use ugly hacks for until now...
* And of course, documentation describing how to do the above for quick
reference, including code samples.
All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:
http://kauth.linbsd.org/kauthwiki
NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:
- Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
- Checks 'securelevel' directly,
- Checks a uid/gid directly.
(or if you feel you have to, contact me first)
This is still work in progress; It's far from being done, but now it'll
be a lot easier.
Relevant mailing list threads:
http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html
Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).
Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.
Happy birthday Randi! :)
Revision 1.120: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:29:36 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: MAIN
CVS tags: rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +31 -4
lines
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.
Revision 1.113.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:46:33 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.113.8.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.8.1: +17 -16
lines
sync with head
Revision 1.119: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:13 2006 UTC (20 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +14 -16
lines
Use the LWP cached credentials where sane.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Jul 16 21:13:00 2006 UTC (20 years, 4 months ago) by elad
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +7 -4
lines
get rid of CURTAIN() macro. inline the last use of it, together
with a nice XXX comment (assigned to me of course) that we should
be doing this differently.
Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:11:02 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +58 -14
lines
sync with head.
Revision 1.113.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:38:47 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.113.6.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.6.1: +5 -4
lines
Sync with head.
Revision 1.113.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:45 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +20 -13
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.113.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:03 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +20 -13
lines
sync with head.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun May 14 21:19:34 2006 UTC (20 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -4
lines
integrate kauth.
Revision 1.113.10.3: download - view: text, markup, annotated - select for diffs
Sat May 6 23:32:11 2006 UTC (20 years, 6 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.113.10.2: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.10.2: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.113.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:11 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +17 -11
lines
Sync with head.
Revision 1.113.10.2: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:46:11 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.113.10.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.10.1: +17 -11
lines
sync with head.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Apr 15 00:29:25 2006 UTC (20 years, 7 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -4
lines
Move pf2 assignment after we've assigned pf.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Apr 14 23:17:24 2006 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +4 -3
lines
Coverity CID 1154: Prevent NULL deref.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Apr 14 23:09:16 2006 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +16 -10
lines
Coverity CID 738: Fix the query size vs. result returning setup.
Revision 1.113.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:19:40 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -4
lines
Adapt to kernel authorization KPI.
Revision 1.113.4.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 03:47:54 2006 UTC (20 years, 9 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.113.4.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.4.1: +25 -34
lines
in6pcb -> inpcb merge.
Revision 1.113.4.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 03:09:11 2006 UTC (20 years, 9 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -3
lines
<netinet6/in6_pcb.h> went away. Bye!
Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:58 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +6 -3
lines
merge ktrace-lwp.
Revision 1.81.2.11: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:24 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.81.2.10: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.10: +4 -4
lines
Sync with head.
Revision 1.111.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 22 16:08:21 2005 UTC (20 years, 11 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +4 -4
lines
sync with head.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Nov 15 18:39:46 2005 UTC (21 years ago) by dsl
Branches: MAIN
CVS tags: yamt-readahead-base3,
yamt-readahead-base2,
ktrace-lwp-base
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -4
lines
Pass the current process structure to in_pcbconnect() so that it can
pass it to in_pcbbind() so that can allocate a low numbered port
if setsockopt() has been used to set IP_PORTRANGE to IP_PORTRANGE_LOW.
While there, fail in_pcbconnect() if the in_pcbbind() fails - rather
than sending the request out from a port of zero.
This has been largely broken since the socket option was added in 1998.
Revision 1.81.2.10: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:11:07 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.9: preferred, colored
Changes since revision 1.81.2.9: +80 -15
lines
Sync with HEAD. Here we go again...
Revision 1.111: download - view: text, markup, annotated - select for diffs
Wed Sep 7 17:58:13 2005 UTC (21 years, 2 months ago) by elad
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-readahead
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +6 -2
lines
Implement curtain for AF_INET{,6} PCB lists.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Sep 6 02:57:04 2005 UTC (21 years, 2 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -4
lines
Correct SYSCTL_DESCR for tcp.debx.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Sep 6 02:41:14 2005 UTC (21 years, 2 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +24 -2
lines
Implement tcp.inet{,6}.tcp{,6}.(debug|debx) when TCP_DEBUG is set. They
can be used to ``transliterate protocol trace'' like trpt(8) does.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Wed Aug 10 13:06:49 2005 UTC (21 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +3 -2
lines
move {tcp,udp}_do_loopback_cksum back to tcp/udp
so that they can be referenced by ipv6.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri Aug 5 09:21:26 2005 UTC (21 years, 3 months ago) by elad
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +10 -2
lines
Add sysctls for IP, ICMP, TCP, and UDP statistics.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Jun 20 02:49:18 2005 UTC (21 years, 5 months ago) by atatat
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +7 -3
lines
Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone. Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Jun 9 02:19:59 2005 UTC (21 years, 5 months ago) by atatat
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3
lines
Properly fix the constipated lossage wrt -Wcast-qual and the sysctl
code. I know it's not the prettiest code, but it seems to work rather
well in spite of itself.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun May 29 21:41:23 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +9 -9
lines
- add const
- remove bogus casts
- avoid nested variables
Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat May 7 17:42:09 2005 UTC (21 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -4
lines
PR/30154: YAMAMOTO Takashi: tcp_close locking botch
chgsbsize() as mentioned in the PR can be called from an interrupt context
via tcp_close(). Avoid calling uid_find() in chgsbsize().
- Instead of storing so_uid in struct socketvar, store *so_uidinfo
- Add a simple lock to struct uidinfo.
Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Fri May 6 08:35:27 2005 UTC (21 years, 6 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.1: +32 -5
lines
Pull up revision 1.102 (requested by kurahone in ticket #199):
Added sysctl tunable limits for the number of maximum SACK holes
per connection and per system.
Idea taken from FreeBSD.
Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Sun May 1 16:53:04 2005 UTC (21 years, 6 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -3
lines
Pull up revision 1.101 (requested by yamt in ticket #221):
s of sack is selective, not selection. pointed by Michael Eriksson.
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:34 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +228 -26
lines
sync with -current
Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Apr 5 01:07:17 2005 UTC (21 years, 7 months ago) by kurahone
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +34 -7
lines
Added sysctl tunable limits for the number of maximum SACK holes
per connection and per system.
Idea taken from FreeBSD.
Revision 1.81.2.9: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:31:50 2005 UTC (21 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.8: preferred, colored
Changes since revision 1.81.2.8: +187 -4
lines
Sync with HEAD.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Wed Mar 30 11:09:58 2005 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -3
lines
s of sack is selective, not selection. pointed by Michael Eriksson.
Revision 1.93.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:38 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.93.4.1: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.4.1: +190 -6
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Mar 11 06:16:16 2005 UTC (21 years, 8 months ago) by atatat
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -3
lines
Revert the change that made kern.file2 and net.*.*.pcblist into nodes
instead of structs. It had other deleterious side-effects that are
rather nasty. Another solution must be found.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Mar 10 05:49:14 2005 UTC (21 years, 8 months ago) by atatat
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +7 -3
lines
Make this build without INET6 xor INET (hah!) again.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Mar 10 05:43:25 2005 UTC (21 years, 8 months ago) by atatat
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3
lines
Change types of kern.file2 and net.*.*.pcblist to NODE
Revision 1.97: download - view: text, markup, annotated - select for diffs
Wed Mar 9 05:07:19 2005 UTC (21 years, 8 months ago) by atatat
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +182 -3
lines
Add the following nodes to the sysctl tree:
net.local.stream.pcblist
net.local.dgram.pcblist
net.inet.tcp.pcblist
net.inet.udp.pcblist
net.inet.raw.pcblist
net.inet6.tcp6.pcblist
net.inet6.udp6.pcblist
net.inet6.raw6.pcblist
which allow retrieval of the pcbs in use for those protocols. The
struct involved is 32/64 bit clean and incorporates parts of struct
inpcb, struct unpcb, a bit of struct tcpcb, and two socket addresses.
Revision 1.81.2.8: download - view: text, markup, annotated - select for diffs
Tue Mar 8 13:53:12 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.7: preferred, colored
Changes since revision 1.81.2.7: +3 -4
lines
Sync with HEAD.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Mar 6 10:15:30 2005 UTC (21 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -4
lines
update SYSCTL_DESCR; sack is implemented.
Revision 1.81.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:53:30 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.6: preferred, colored
Changes since revision 1.81.2.6: +5 -3
lines
Sync with HEAD.
Hi Perry!
Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Mar 2 10:20:18 2005 UTC (21 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +5 -3
lines
Copyright maintenance.
Revision 1.93.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:54 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +9 -18
lines
sync with head.
Revision 1.81.2.6: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:47:49 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.5: preferred, colored
Changes since revision 1.81.2.5: +10 -19
lines
Sync with HEAD.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Feb 3 23:54:17 2005 UTC (21 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +9 -18
lines
ANSIfy function declarations
Revision 1.81.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:33:06 2004 UTC (21 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.4: preferred, colored
Changes since revision 1.81.2.4: +9 -2
lines
Sync with HEAD.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Dec 15 04:25:20 2004 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +9 -2
lines
Don't perform checksums on loopback interfaces. They can be reenabled with
the net.inet.*.do_loopback_cksum sysctl.
Approved by: groo
Revision 1.81.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:37:15 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.3: preferred, colored
Changes since revision 1.81.2.3: +5 -2
lines
Fix the sync with head I botched.
Revision 1.81.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:54 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.2: preferred, colored
Changes since revision 1.81.2.2: +4 -7
lines
Sync with HEAD.
Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:46 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.81.2.1: preferred, colored
Changes since revision 1.81.2.1: +484 -93
lines
Sync with HEAD
Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Fri May 28 07:23:55 2004 UTC (22 years, 5 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +65 -29
lines
Pull up revision 1.92 (requested by atatat in ticket #391):
Sysctl descriptions under net subtree (net.key not done)
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue May 25 04:34:00 2004 UTC (22 years, 5 months ago) by atatat
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1,
BEFORE-IPF413
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +65 -29
lines
Sysctl descriptions under net subtree (net.key not done)
Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue May 18 14:44:16 2004 UTC (22 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +5 -12
lines
fix MD5 signature support to actually validate inbound signature, and
drop packet if fails.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Apr 25 22:25:04 2004 UTC (22 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +27 -2
lines
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.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Apr 20 22:54:31 2004 UTC (22 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -3
lines
export tcpstates for _KERNEL and remove tcp_usrreq.c's incorrect
declartion.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Mar 29 04:59:03 2004 UTC (22 years, 7 months ago) by atatat
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +5 -4
lines
Make these compile without INET. tcp_input probably needs a lot more
work...
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:54 2004 UTC (22 years, 7 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-0-base,
BEFORE-IPF411
Branch point for: netbsd-2-0
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +66 -35
lines
Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:24 2003 UTC (22 years, 11 months ago) by atatat
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +393 -87
lines
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.
PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Oct 22 02:45:57 2003 UTC (23 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +5 -2
lines
Rather than zeroing a tcpcb structure and filling in all the fields
individually, create a tcpcb template pre-initialized (and pre-zero'd)
with the static and mostly-static tcpcb parameters. The template is
now copied into the new tcpcb, which zeros and initializes most of the
tcpcb in one pass. The template is kept up-to-date as TCP sysctl
variables are changed.
Combined with the previous sb_max change, TCP socket creation is now
25% faster.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Sep 29 21:39:35 2003 UTC (23 years, 1 month ago) by tls
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -4
lines
Increase default socket-buffer sizes from 16K to 32K. This increases
throughput significantly in a wide variety of test cases, including
local gigabit ethernet with both jumbo and standard frames,
transcontinental (U.S.) connections with e2e bandwidths ranging from
10Mbit/sec to 155Mbit/sec, and on a variety of test connections
between the NetBSD Project public servers and machines in Australia.
The impact of this change is less dramatic for high-delay connections
when Path MTU is in use but still measurable.
For optimal performance on local gigabit networks, a higher socket
buffer size (at least 64K) will still yield a substantial improvement
in performance, but 32K gets us most of the way there in my test
cases, with only a cost of _doubling_ memory use per socket rather
than _quadrupling_ it.
N.B. Windows NT, at least since Win2k SP2, uses a default socket buffer
size (or their analogue thereof) of 64K, which is a useful data
point.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Sep 4 09:17:02 2003 UTC (23 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -5
lines
revamp inpcb/in6pcb so that they are more aligned with each other.
in6pcb lookup now uses hash(9).
Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:33:19 2003 UTC (23 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:27:00 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -4
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:32:00 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -6
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Jun 29 12:00:47 2003 UTC (23 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
Fix a nit in a comment.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:09 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +6 -4
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Jun 26 17:32:22 2003 UTC (23 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +21 -19
lines
abuse the mib instead of abusing the new pointer. Idea from simon burge.
It allows the tcp_sysctl_ident to run by non-super-users. No backwards
compatibility provided.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Jun 23 11:02:16 2003 UTC (23 years, 4 months ago) by martin
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -2
lines
Make sure to include opt_foo.h if a defflag option FOO is used.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Apr 19 20:58:36 2003 UTC (23 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +45 -2
lines
PR/2352: Tor Egge: Add sysctl to get uid of connected socket.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Feb 26 06:31:16 2003 UTC (23 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -2
lines
Add MBUFTRACE kernel option.
Do a little mbuf rework while here. Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *). These are not performance critical and making them
call m_get saves considerable space. Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.
Revision 1.60.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:15:33 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.60.2.8: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.8: +9 -5
lines
Catch up to -current
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Oct 22 03:14:16 2002 UTC (24 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +11 -7
lines
Guard use of "ostate" with #ifdef TCP_DEBUG in tcp_usrreq().
Don't put semicolons at the end of "#define token value".
Revision 1.63.2.6: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:49:22 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.63.2.5: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.5: +4 -4
lines
sync kqueue branch with HEAD
Revision 1.60.2.8: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:50 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.7: preferred, colored
Changes since revision 1.60.2.7: +4 -4
lines
Catch up to -current.
Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:37:01 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.1: +4 -4
lines
catch up with -current.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Jul 3 21:36:58 2002 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-base,
gehenna-devsw-base
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -4
lines
Rename sbappend_stream() to sbappendstream(), per suggestion from
Jonathan Stone.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Jul 3 19:06:52 2002 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4
lines
Make insertion of data into socket buffers O(C):
* Keep pointers to the first and last mbufs of the last record in the
socket buffer.
* Use the sb_lastrecord pointer in the sbappend*() family of functions
to avoid traversing the packet chain to find the last record.
* Add a new sbappend_stream() function for stream protocols which
guarantee that there will never be more than one record in the
socket buffer. This function uses the sb_mbtail pointer to perform
the data insertion. Make TCP use sbappend_stream().
On a profiling run, this makes sbappend of a TCP transmission using
a 1M socket buffer go from 50% of the time to .02% of the time.
Thanks to Bill Sommerfeld and YAMAMOTO Takashi for their debugging
assistance!
Revision 1.63.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:51:03 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.63.2.4: preferred, colored
Changes since revision 1.63.2.4: +6 -6
lines
catch up with -current on kqueue branch
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 15:52:31 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +6 -6
lines
catch up with -current.
Revision 1.60.2.7: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:49:00 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.6: preferred, colored
Changes since revision 1.60.2.6: +6 -6
lines
Catch up to -current.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Jun 9 16:33:44 2002 UTC (24 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +6 -6
lines
whitespace
Revision 1.60.2.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:48:45 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.5: preferred, colored
Changes since revision 1.60.2.5: +24 -6
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:15 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.63.2.3: preferred, colored
Changes since revision 1.63.2.3: +24 -6
lines
Catch up with -current.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Mar 11 10:06:12 2002 UTC (24 years, 8 months ago) by martin
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +13 -13
lines
KNFify my last change.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Feb 28 20:26:17 2002 UTC (24 years, 8 months ago) by martin
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +23 -5
lines
Enforce a lower bound of 32 for tcp_mssdflt.
This avoids kernel crashes when we don't handle nonsensial values
like 0 gracefully. Better check here once beforehand than having to
check for non meaningful values in time critical paths (like tcp_output).
Fixes PR 15709.
Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:03:04 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.63.2.2: preferred, colored
Changes since revision 1.63.2.2: +5 -6
lines
Sync kqueue branch with -current.
Revision 1.60.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:34:11 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.4: preferred, colored
Changes since revision 1.60.2.4: +3 -4
lines
Catch up to -current.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Nov 20 14:34:28 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -4
lines
- replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:17:59 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.3: preferred, colored
Changes since revision 1.60.2.3: +4 -4
lines
Catch up to -current.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Nov 13 00:32:42 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -1
lines
add RCSIDs
Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:29 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +1 -4
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Oct 29 07:02:34 2001 UTC (25 years ago) by simonb
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -4
lines
Don't need to include <uvm/uvm_extern.h> just to include <sys/sysctl.h>
anymore.
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:47:49 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +1 -10
lines
Catch up with -current.
Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:36:51 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.2: preferred, colored
Changes since revision 1.60.2.2: +1 -10
lines
Catch up to -current.
Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:16:25 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.63.2.1: preferred, colored
Changes since revision 1.63.2.1: +1 -10
lines
Update the kqueue branch to HEAD.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Sep 10 20:15:14 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -10
lines
Split tcp_timers() into multiple functions, one for each timer,
and call it directly from tcp_slowtimo() (via a table) rather
than going through tcp_userreq().
This will allow us to call TCP timers directly from callouts,
in a future revision.
Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:12:32 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60.2.1: preferred, colored
Changes since revision 1.60.2.1: +6 -21
lines
Catch up with -current.
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:57 2001 UTC (25 years, 3 months ago) by lukem
Branches: kqueue
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -21
lines
update to -current
Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Jul 25 23:28:02 2001 UTC (25 years, 3 months ago) by itojun
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -21
lines
allocate ipsec policy buffer attached to pcb in in*_pcballoc, before
giving anyone accesses to pcb (do not reveal an inconsistent ones).
sync with kame
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jul 8 16:18:59 2001 UTC (25 years, 4 months ago) by abs
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -1
lines
Rename TCPDEBUG to TCP_DEBUG, defopt TCP_DEBUG and TCP_NDEBUG, and
make all usage of tcp_trace dependent on TCP_DEBUG - resulting in
a 31K saving on an INET enabled i386 kernel.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jul 3 08:06:19 2001 UTC (25 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -1
lines
call in{,6}_pcbpurgeif0() before in{,6}_purgeif().
Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:58:33 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2
lines
Catch up with -current.
Revision 1.42.2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:32:35 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.42.2.3: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.3: +2 -2
lines
Sync with HEAD.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Mar 20 20:07:52 2001 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2
lines
Two changes, designed to make us even more resilient against TCP
ISS attacks (which we already fend off quite well).
1. First-cut implementation of RFC1948, Steve Bellovin's cryptographic
hash method of generating TCP ISS values. Note, this code is experimental
and disabled by default (experimental enough that I don't export the
variable via sysctl yet, either). There are a couple of issues I'd
like to discuss with Steve, so this code should only be used by people
who really know what they're doing.
2. Per a recent thread on Bugtraq, it's possible to determine a system's
uptime by snooping the RFC1323 TCP timestamp options sent by a host; in
4.4BSD, timestamps are created by incrementing the tcp_now variable
at 2 Hz; there's even a company out there that uses this to determine
web server uptime. According to Newsham's paper "The Problem With
Random Increments", while NetBSD's TCP ISS generation method is much
better than the "random increment" method used by FreeBSD and OpenBSD,
it is still theoretically possible to mount an attack against NetBSD's
method if the attacker knows how many times the tcp_iss_seq variable
has been incremented. By not leaking uptime information, we can make
that much harder to determine. So, we avoid the leak by giving each
TCP connection a timebase of 0.
Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:19 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.2: +11 -3
lines
Sync with HEAD.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Feb 11 06:39:35 2001 UTC (25 years, 9 months ago) by itojun
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -2
lines
make sure we call tcp_output() only if we have template.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Jan 18 20:28:22 2001 UTC (25 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2
lines
constify
Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:35 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +15 -7
lines
Sync with HEAD (for UBC fixes).
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Dec 11 00:07:48 2000 UTC (25 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +15 -7
lines
make sure t_family has the correct protocol family, after connect(2)
and/or bind(2). sync with kame
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:10:37 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +92 -31
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Oct 17 21:16:57 2000 UTC (26 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -1
lines
allow INET6-less build.
From: smd@ebone.net (Sean Doran)
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Oct 17 03:06:44 2000 UTC (26 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +44 -10
lines
be more friendly with INET-less build.
XXX we need to do more to do a working INET-less build
Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 9 02:25:26 2000 UTC (26 years, 1 month ago) by enami
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +13 -5
lines
Pullup rev. 1.54 and 1.55 (approved by jhawk):
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Oct 6 10:21:06 2000 UTC (26 years, 1 month ago) by enami
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3
lines
Cosmetic changes to previous commit; indent break statement sanely.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Oct 6 09:24:40 2000 UTC (26 years, 1 month ago) by enami
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +13 -5
lines
Just call matching purgeif/pcbpurgeif routine for the protocol family.
Without this, if a v6 address is placed before a v4 address in if_addrlist,
a PRU_PURGEIF request for v6 tcp protocol purges also v4 addresses and,
as a result, if_detach fails to request PRU_PURGEIF for v4 protocols
other than tcp.
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 16 01:22:24 2000 UTC (26 years, 3 months ago) by itojun
Branches: netbsd-1-5
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -23
lines
pullup (approved by releng-1-5)
switch from net.inet*.*.*ratelimit to net.inet*.*.ppslimit.
(tags are rough estimate - we had some try-and-error in main trunc)
sys/netinet/icmp6.h 1.9 -> 1.11
sys/netinet/icmp_var.h 1.15 -> 1.17
sys/netinet/in_proto.c 1.39 -> 1.42
sys/netinet/ip_icmp.c 1.50 -> 1.51, 1.52 -> 1.54
sys/netinet/tcp_input.c 1.111 -> 1.112, 1.115 -> 1.117
sys/netinet/tcp_usrreq.c 1.52 -> 1.53
sys/netinet/tcp_var.h 1.72 -> 1.75
sys/netinet6/icmp6.c 1.34 -> 1.35, 1.36 -> 1.38
sys/netinet6/in6_proto.c 1.17 -> 1.19
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jul 28 04:06:54 2000 UTC (26 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -23
lines
nuke the following sysctl variables. "ppsratelimit" should work better.
need to recompile sbin/sysctl after updating /usr/include.
net.inet.tcp.rstratelimit
net.inet.icmp.errratelimit
net.inet6.icmp6.errratelimit
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jun 28 03:01:17 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2
lines
<vm/vm.h> -> <uvm/uvm_extern.h>
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:09:50 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +6 -6
lines
Sync w/ netbsd-1-5-base.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jun 5 06:38:22 2000 UTC (26 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -6
lines
pass struct proc * down to udp6_output and in6_pcbbind.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon May 22 12:08:43 2000 UTC (26 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -1
lines
disallow negative numbers for ratelimit interval (tcp, icmp, icmp6).
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Mar 30 13:25:10 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -11
lines
Remove register declarations.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Feb 15 19:54:12 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +22 -1
lines
Add support for rate-limiting RSTs sent in response to no socket for
an incoming packet. Default minimum interval is 10ms. The interval
is changeable via the "net.inet.tcp.rstratelimit" sysctl variable.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Feb 4 14:34:22 2000 UTC (26 years, 9 months ago) by itojun
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -1
lines
avoid calling in6_control(SIOCDIFADDR_IN6) from interrupt context.
it is not supposed to work.
logging fix: add "\n" to some of log() in in6_prefix.c.
improve in6_ifdetach(). now almost all structure depend on ifnet
will be cleared up.
possible loose ends:
- cached route_in6 in static varaiables needs to be cleared as well
- there are ifaddr manipulation without reference counting,
which should be fixed
we still see panics after card removal, though... not sure what is left.
(sync with kame)
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Feb 2 23:28:09 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +7 -3
lines
PRU_PURGEADDR -> PRU_PURGEIF, per a discussion w/ itojun. In the IPv4
and IPv6 code, also use this to traverse PCB tables, looking for cached
routes referencing the dying ifnet, forcing them to be refreshed.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Feb 1 22:52:10 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -1
lines
First-draft if_detach() implementation, originally from Bill Studnemund,
although this version has been changed somewhat:
- reference counting on ifaddrs isn't as complete as Bill's original
work was. This is hard to get right, and we should attack one
protocol at a time.
- This doesn't do reference counting or dynamic allocation of ifnets yet.
- This version introduces a new PRU -- PRU_PURGEADDR, which is used to
purge an ifaddr from a protocol. The old method Bill used didn't work
on all protocols, and it only worked on some because it was Very Lucky.
This mostly works ... i.e. works for my USB Ethernet, except for a dangling
ifaddr reference left by the IPv6 code; have not yet tracked this down.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Jan 31 14:18:58 2000 UTC (26 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
bring in latest KAME ipsec tree.
- interop issues in ipcomp is fixed
- padding type (after ESP) is configurable
- key database memory management (need more fixes)
- policy specification is revisited
XXX m->m_pkthdr.rcvif is still overloaded - hope to fix it soon
Revision 1.42.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:20 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +13 -7
lines
Pull up to last week's -current.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Dec 13 15:17:21 1999 UTC (26 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +13 -7
lines
sync IPv6 part with latest KAME tree. IPsec part is left unmodified
due to massive changes in KAME side.
- IPv6 output goes through nd6_output
- faith can capture IPv4 packets as well - you can run IPv4-to-IPv6 translator
using heavily modified DNS servers
- per-interface statistics (required for IPv6 MIB)
- interface autoconfig is revisited
- udp input handling has a big change for mapped address support.
- introduce in4_cksum() for non-overwriting checksumming
- introduce m_pulldown()
- neighbor discovery cleanups/improvements
- netinet/in.h strictly conforms to RFC2553 (no extra defs visible to userland)
- IFA_STATS is fixed a bit (not tested)
- and more more more.
TODO:
- cleanup os-independency #ifdef
- avoid rcvif dual use (for IPsec) to help ifdetach
(sorry for jumbo commit, I can't separate this any more...)
Revision 1.39.10.3: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:35:41 1999 UTC (26 years, 11 months ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.39.10.2: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.10.2: +15 -6
lines
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other
source code). Please do not try to modify the branch, this is just for
referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
Revision 1.39.8.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:35:00 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.39.8.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.8.1: +4 -1
lines
Update from trunk.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jul 9 22:57:23 1999 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: wrstuden-devbsize,
thorpej_scsipi
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -1
lines
defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h).
Revision 1.39.10.2: download - view: text, markup, annotated - select for diffs
Tue Jul 6 11:02:50 1999 UTC (27 years, 4 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705
Diff to: previous 1.39.10.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.10.1: +2 -2
lines
KAME/NetBSD 1.4, SNAP kit 1999/07/05.
NOTE: this branch is just for reference purposes (i.e. for taking cvs diff).
do not touch anything on the branch. actual work must be done on HEAD branch.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jul 2 12:45:32 1999 UTC (27 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -1
lines
avoid "variable not initialized" warnings on some of the platforms.
Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:47:04 1999 UTC (27 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +297 -32
lines
Sync w/ -current.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jul 1 08:12:51 1999 UTC (27 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +297 -32
lines
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.
Revision 1.39.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 28 06:37:02 1999 UTC (27 years, 4 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990628
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +297 -32
lines
KAME/NetBSD 1.4 SNAP kit, dated 19990628.
NOTE: this branch (kame) is used just for refernce. this may not compile
due to multiple reasons.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Sep 10 19:53:28 1998 UTC (28 years, 2 months ago) by tv
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Branch point for: kame,
chs-ubc2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2
lines
egcs {brace} warning fix
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Sep 10 10:47:01 1998 UTC (28 years, 2 months ago) by mouse
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +16 -7
lines
Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls.
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Sat May 9 03:33:01 1998 UTC (28 years, 6 months ago) by mycroft
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.1: +5 -1
lines
Pull up patch from kml.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed May 6 01:21:24 1998 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Use macros from tcp_timer.h to manipulate TCP timers, so that their
implementation can be changed easily.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Apr 29 20:43:30 1998 UTC (28 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -33
lines
New TCP reassembly code. The new code reduces the memory needed by
out-of-order packets and builds the infrastructure needed for sending
SACK blocks (to be added shortly).
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Apr 13 21:18:20 1998 UTC (28 years, 7 months ago) by kml
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -1
lines
Fix to ensure that the correct MSS is advertised for loopback
TCP connections by using the MTU of the interface. Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interface to calculate the advertised MSS.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Feb 19 02:36:44 1998 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +38 -1
lines
Update copyright (sigh, should have done this long ago).
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jan 5 10:32:12 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
Finishing merging 4.4BSD-Lite2 netinet. At this point, the only changes
left were SCCS IDs and Copyright dates.
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jan 5 09:56:08 1998 UTC (28 years, 10 months ago) by thorpej
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +16 -4
lines
Import sys/netinet from 4.4BSD-Lite2 for reference purposes.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jan 5 09:54:27 1998 UTC (28 years, 10 months ago) by thorpej
Branches: WFJ-920714,
CSRG
CVS tags: lite-1,
date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +67 -48
lines
Import sys/netinet from 4.4BSD-Lite for reference purposes.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jan 5 09:12:30 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
From 4.4BSD-Lite2 (noted by Frank van der Linden):
so_linger is used as an argument to tsleep(), so was stuffed with
clockticks for the TCP linger time. However, so_linger is set directly from
l_linger if the linger time is specified, and l_linger is seconds (although
this is not currently documented anywhere). Fix this to set the TCP
linger time in seconds, and multiply so_linger by hz when tsleep() is
called to actually perform the linger.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Dec 13 21:02:38 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -9
lines
After further examination of traces of bulk transfers (with help from
Kevin Lahey), undo the "defer window update until next delayed ACK".
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Dec 11 22:47:27 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -1
lines
Implement an infrastructure to allow larger initial congestion windows.
The sysctl'able variable "tcp_init_win", when set to 0, selects an
auto-tuning algorithm for selecting the initial window, based on transmit
segment size, per discussion in the IETF tcpimpl working group.
Default initial window is still 1 segment, but will soon become 2 segments,
per discussion in tcpimpl.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Dec 11 06:53:06 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +9 -1
lines
In the PRU_RCVD entry point, if TF_DELACK is set, don't send the window
update now, since it will be sent within 200ms when the delayed ACK is
sent. Instrument how many hits we get on this optimization.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 8 06:31:35 1997 UTC (29 years ago) by thorpej
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4
lines
Pull up from trunk: TCP MSS fixes to provide cleaner slow-start and recovery.
(kml)
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Nov 8 02:35:26 1997 UTC (29 years ago) by kml
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4
lines
TCP MSS fixes to provide cleaner slow-start and recovery.
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:29:49 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +2 -2
lines
Update marc-pcmcia branch from trunk.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Oct 10 01:51:11 1997 UTC (29 years, 1 month ago) by explorer
Branches: MAIN
CVS tags: netbsd-1-3-base,
marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2
lines
Add hooks to use the kernel random system to generate TCP sequence numbers.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Jul 28 22:31:10 1997 UTC (29 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -1
lines
Generate dependencies for the TCP_SENDSPACE and TCP_RECVSPACE options.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jul 28 22:18:48 1997 UTC (29 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +21 -4
lines
Make the following tunable via sysctl, inspired by BSD/OS:
- tcp_sendspace
- tcp_recvspace
- tcp_mssdflt
- tcp_syn_cache_limit
- tcp_syn_bucket_limit
- tcp_syn_cache_timer
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jun 12 18:41:14 1997 UTC (29 years, 5 months ago) by kleink
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -9
lines
Eliminate a superflouus `if' statement: when detaching the TCP protocol from
a socket, just calling tcp_disconnect() on the tcpcb will do the right thing.
From Thorsten Frueauf <frueauf@ira.uka.de> and W. Richard Stevens in PR/3738
resp. TCP/IP Illustrated, Vol. 2.
Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 11 04:01:10 1996 UTC (29 years, 11 months ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +41 -22
lines
From trunk:
Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods
that need it.
Fix numerous memory leaks and bogus return values.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu May 23 17:03:29 1996 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: thorpej-setroot,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +17 -6
lines
Make sure the control mbufs are freed in all cases.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu May 23 16:13:19 1996 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +22 -17
lines
Minor changes.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 22 13:55:34 1996 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -6
lines
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
PRU_CONTROL. The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 13 23:44:16 1996 UTC (30 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -2
lines
netinet prototypes
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 2 06:12:58 1996 UTC (30 years, 9 months ago) by mycroft
Branches: netbsd-1-1
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +12 -2
lines
Bring in changes for mondo patch 2.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jan 31 05:42:37 1996 UTC (30 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -1
lines
Add a comment describing the previous.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 31 05:37:29 1996 UTC (30 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -2
lines
If we close from FIN_WAIT_2 state, make sure we don't leave the socket
around forever if we don't get a final FIN. From Arne Juul, PR 1659.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Sep 30 07:02:05 1995 UTC (31 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001
Branch point for: netbsd-1-1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +29 -1
lines
Implement tcp_sysctl(). Add a sysctl option to enable/disable RFC1323
extensions to TCP. From John Kohl <jtk@kolvir.blrc.ma.us>.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Aug 12 23:59:41 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
splnet --> splsoftnet
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jun 12 00:48:00 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
Various cleanup, including:
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Apr 13 06:36:53 1995 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -5
lines
be a bit more careful and explicit with types. (basically a large no-op.)
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Mar 21 07:48:14 1995 UTC (31 years, 8 months ago) by glass
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -2
lines
Default linger time was 120 clock ticks instead of the intended
2 minutes.
[Bug pointed out by Wright/Stevens in TCP/IP Illustrated Vol II]
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 14 16:01:54 1994 UTC (32 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
Don't return received data to the user until the initial handshake is complete.
Also use TCPS_HAVEESTABLISHED() in a few other places.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 13 14:27:41 1994 UTC (32 years, 1 month ago) by mycroft
Branches: netbsd-1-0
CVS tags: netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +9 -3
lines
Update from trunk.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 13 14:26:15 1994 UTC (32 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -3
lines
Increase the default window size to 16k.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:38:52 1994 UTC (32 years, 4 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 13 06:06:49 1994 UTC (32 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +36 -12
lines
Update to 4.4-Lite networking code, with a few local changes.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 10 23:27:45 1994 UTC (32 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -10
lines
Change the counters to be all the same type -- u_long.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jan 8 23:26:42 1994 UTC (32 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2
lines
Remove some extra prototypes.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 8 23:07:23 1994 UTC (32 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1
lines
Prototypes.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Dec 18 00:42:13 1993 UTC (32 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +24 -24
lines
Canonicalize all #includes.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:55:02 1993 UTC (33 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -1
lines
Make all files using spl*() #include cpu.h. Changes from trunk.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 15 02:25:26 1993 UTC (33 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-0-9-patch-001,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
magnum-base
Branch point for: magnum
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
bump sendspace and recvspace up to 8k each; rod says
these should be safe values...
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 22 11:42:50 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2
lines
add include of select.h if necessary for protos, or delete if extraneous
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue May 18 18:20:21 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-alpha-1,
netbsd-0-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1
lines
make kernel select interface be one-stop shopping & clean it all up.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>