The NetBSD Project

CVS log for src/sys/netinet/raw_ip.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / netinet

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.114.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:35 2014 UTC (7 days, 14 hours ago) by tls
Branch: tls-maxphys
Changes since 1.114.2.2: +372 -173 lines
Diff to previous 1.114.2.2 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored) to selected 1.26 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:25 2014 UTC (2 weeks, 3 days ago) by tls
Branch: tls-earlyentropy
Changes since 1.118: +370 -164 lines
Diff to previous 1.118 (colored) next main 1.119 (colored) to selected 1.26 (colored)

Rebase.

Revision 1.145 / (download) - annotate - [select for diffs], Sat Aug 9 05:33:01 2014 UTC (2 weeks, 4 days ago) by rtr
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.144: +35 -32 lines
Diff to previous 1.144 (colored) to selected 1.26 (colored)

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.144 / (download) - annotate - [select for diffs], Fri Aug 8 03:05:45 2014 UTC (2 weeks, 5 days ago) by rtr
Branch: MAIN
Changes since 1.143: +13 -6 lines
Diff to previous 1.143 (colored) to selected 1.26 (colored)

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.143 / (download) - annotate - [select for diffs], Tue Aug 5 07:55:32 2014 UTC (3 weeks, 1 day ago) by rtr
Branch: MAIN
Changes since 1.142: +55 -38 lines
Diff to previous 1.142 (colored) to selected 1.26 (colored)

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.142 / (download) - annotate - [select for diffs], Tue Aug 5 05:24:26 2014 UTC (3 weeks, 1 day ago) by rtr
Branch: MAIN
Changes since 1.141: +5 -5 lines
Diff to previous 1.141 (colored) to selected 1.26 (colored)

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.141 / (download) - annotate - [select for diffs], Sun Aug 3 11:44:52 2014 UTC (3 weeks, 3 days ago) by rtr
Branch: MAIN
Changes since 1.140: +3 -3 lines
Diff to previous 1.140 (colored) to selected 1.26 (colored)

req cannot be PRU_SENDOOB here as per KASSERT() earlier in the
rip_usrreq() function.

-       KASSERT(!control || (req == PRU_SEND || req == PRU_SENDOOB));
+       KASSERT(!control || (req == PRU_SEND));

Revision 1.140 / (download) - annotate - [select for diffs], Sat Aug 2 03:55:26 2014 UTC (3 weeks, 4 days ago) by rtr
Branch: MAIN
Changes since 1.139: +22 -3 lines
Diff to previous 1.139 (colored) to selected 1.26 (colored)

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.139 / (download) - annotate - [select for diffs], Thu Jul 31 03:39:35 2014 UTC (3 weeks, 6 days ago) by rtr
Branch: MAIN
Changes since 1.138: +49 -18 lines
Diff to previous 1.138 (colored) to selected 1.26 (colored)

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.138 / (download) - annotate - [select for diffs], Thu Jul 31 02:21:51 2014 UTC (3 weeks, 6 days ago) by ozaki-r
Branch: MAIN
Changes since 1.137: +4 -4 lines
Diff to previous 1.137 (colored) to selected 1.26 (colored)

Define IFNET_EMPTY() and replace !IFNET_FIRST() with it

No functional change.

Revision 1.137 / (download) - annotate - [select for diffs], Wed Jul 30 10:04:26 2014 UTC (4 weeks ago) by rtr
Branch: MAIN
Changes since 1.136: +29 -12 lines
Diff to previous 1.136 (colored) to selected 1.26 (colored)

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.136 / (download) - annotate - [select for diffs], Thu Jul 24 15:12:03 2014 UTC (4 weeks, 5 days ago) by rtr
Branch: MAIN
Changes since 1.135: +55 -30 lines
Diff to previous 1.135 (colored) to selected 1.26 (colored)

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.135 / (download) - annotate - [select for diffs], Wed Jul 23 13:17:18 2014 UTC (5 weeks ago) by rtr
Branch: MAIN
Changes since 1.134: +27 -12 lines
Diff to previous 1.134 (colored) to selected 1.26 (colored)

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.134 / (download) - annotate - [select for diffs], Mon Jul 14 13:39:18 2014 UTC (6 weeks, 2 days ago) by rtr
Branch: MAIN
Changes since 1.133: +4 -4 lines
Diff to previous 1.133 (colored) to selected 1.26 (colored)

fix fat fingered KASSERT(solocked(0)) -> KASSERT(solocked(so)) mistake.

spotted by Takahiro HAYASHI

Revision 1.133 / (download) - annotate - [select for diffs], Wed Jul 9 14:41:42 2014 UTC (7 weeks ago) by rtr
Branch: MAIN
Changes since 1.132: +15 -2 lines
Diff to previous 1.132 (colored) to selected 1.26 (colored)

* 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.132 / (download) - annotate - [select for diffs], Wed Jul 9 04:54:04 2014 UTC (7 weeks ago) by rtr
Branch: MAIN
Changes since 1.131: +30 -10 lines
Diff to previous 1.131 (colored) to selected 1.26 (colored)

* 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.131 / (download) - annotate - [select for diffs], Mon Jul 7 17:13:56 2014 UTC (7 weeks, 1 day ago) by rtr
Branch: MAIN
Changes since 1.130: +4 -2 lines
Diff to previous 1.130 (colored) to selected 1.26 (colored)

* sprinkle KASSERT(solocked(so)); in all pr_stat() functions.
* fix remaining inconsistent struct socket parameter names.

Revision 1.130 / (download) - annotate - [select for diffs], Mon Jul 7 15:13:21 2014 UTC (7 weeks, 1 day ago) by rtr
Branch: MAIN
Changes since 1.129: +4 -3 lines
Diff to previous 1.129 (colored) to selected 1.26 (colored)

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.129 / (download) - annotate - [select for diffs], Mon Jul 7 07:09:58 2014 UTC (7 weeks, 2 days ago) by rtr
Branch: MAIN
Changes since 1.128: +3 -10 lines
Diff to previous 1.128 (colored) to selected 1.26 (colored)

* 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.128 / (download) - annotate - [select for diffs], Sun Jul 6 03:33:33 2014 UTC (7 weeks, 3 days ago) by rtr
Branch: MAIN
Changes since 1.127: +18 -9 lines
Diff to previous 1.127 (colored) to selected 1.26 (colored)

* 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.127 / (download) - annotate - [select for diffs], Tue Jul 1 05:49:18 2014 UTC (8 weeks, 1 day ago) by rtr
Branch: MAIN
Changes since 1.126: +4 -5 lines
Diff to previous 1.126 (colored) to selected 1.26 (colored)

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.126 / (download) - annotate - [select for diffs], Mon Jun 23 17:18:45 2014 UTC (2 months ago) by rtr
Branch: MAIN
Changes since 1.125: +4 -4 lines
Diff to previous 1.125 (colored) to selected 1.26 (colored)

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.125 / (download) - annotate - [select for diffs], Sun Jun 22 08:10:18 2014 UTC (2 months ago) by rtr
Branch: MAIN
Changes since 1.124: +12 -5 lines
Diff to previous 1.124 (colored) to selected 1.26 (colored)

* 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.124 / (download) - annotate - [select for diffs], Fri May 30 01:39:03 2014 UTC (2 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.123: +6 -4 lines
Diff to previous 1.123 (colored) to selected 1.26 (colored)

Introduce 2 new variables: ipsec_enabled and ipsec_used.
Ipsec enabled is controlled by sysctl and determines if is allowed.
ipsec_used is set automatically based on ipsec being enabled, and
rules existing.

Revision 1.123 / (download) - annotate - [select for diffs], Thu May 22 23:42:53 2014 UTC (3 months ago) by rmind
Branch: MAIN
Changes since 1.122: +9 -4 lines
Diff to previous 1.122 (colored) to selected 1.26 (colored)

- Make ip_setmoptions(), ip_getmoptions() and ip_pcbopts() static.
- ip_output: eliminate 7th variadic argument; IP_RETURNMTU is flag
  always used to store MTU size into struct inpcb::inp_errormtu.
- Clean up these routines: reduce #ifdefs, variable scopes, etc.

Revision 1.112.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:10 2014 UTC (3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.112.2.1: +12 -21 lines
Diff to previous 1.112.2.1 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored) to selected 1.26 (colored)

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.122 / (download) - annotate - [select for diffs], Tue May 20 19:04:00 2014 UTC (3 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.121: +5 -4 lines
Diff to previous 1.121 (colored) to selected 1.26 (colored)

Adjust PR_WRAP_USRREQS() to include the attach/detach functions.
We still need the kernel-lock for some corner cases.

Revision 1.121 / (download) - annotate - [select for diffs], Mon May 19 02:51:25 2014 UTC (3 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.120: +70 -58 lines
Diff to previous 1.120 (colored) to selected 1.26 (colored)

- 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.116.2.4 / (download) - annotate - [select for diffs], Sun May 18 17:46:13 2014 UTC (3 months, 1 week ago) by rmind
Branch: rmind-smpnet
Changes since 1.116.2.3: +6 -11 lines
Diff to previous 1.116.2.3 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored) to selected 1.26 (colored)

sync with head

Revision 1.120 / (download) - annotate - [select for diffs], Sun May 18 14:46:16 2014 UTC (3 months, 1 week ago) by rmind
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.119: +10 -2 lines
Diff to previous 1.119 (colored) to selected 1.26 (colored)

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.119 / (download) - annotate - [select for diffs], Sun May 18 00:10:11 2014 UTC (3 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.118: +4 -4 lines
Diff to previous 1.118 (colored) to selected 1.26 (colored)

Use IFNET_FIRST() rather than open coding ifnet access.

Revision 1.118 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:12 2014 UTC (6 months ago) by pooka
Branch: 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
Changes since 1.117: +2 -7 lines
Diff to previous 1.117 (colored) to selected 1.26 (colored)

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.117 / (download) - annotate - [select for diffs], Sat Nov 23 14:20:21 2013 UTC (9 months ago) by christos
Branch: MAIN
Changes since 1.116: +6 -8 lines
Diff to previous 1.116 (colored) to selected 1.26 (colored)

convert from CIRCLEQ to TAILQ.

Revision 1.116.2.3 / (download) - annotate - [select for diffs], Mon Sep 23 00:57:53 2013 UTC (11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.116.2.2: +3 -2 lines
Diff to previous 1.116.2.2 (colored) to branchpoint 1.116 (colored) to selected 1.26 (colored)

- 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.116.2.2 / (download) - annotate - [select for diffs], Wed Aug 28 15:21:48 2013 UTC (11 months, 4 weeks ago) by rmind
Branch: rmind-smpnet
Changes since 1.116.2.1: +65 -38 lines
Diff to previous 1.116.2.1 (colored) to branchpoint 1.116 (colored) to selected 1.26 (colored)

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.116.2.1 / (download) - annotate - [select for diffs], Wed Jul 17 03:16:31 2013 UTC (13 months, 1 week ago) by rmind
Branch: rmind-smpnet
Changes since 1.116: +265 -257 lines
Diff to previous 1.116 (colored) to selected 1.26 (colored)

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.114.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:25 2013 UTC (14 months ago) by tls
Branch: tls-maxphys
Changes since 1.114.2.1: +6 -6 lines
Diff to previous 1.114.2.1 (colored) to branchpoint 1.114 (colored) to selected 1.26 (colored)

resync from head

Revision 1.116 / (download) - annotate - [select for diffs], Wed Jun 5 19:01:26 2013 UTC (14 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.115: +6 -6 lines
Diff to previous 1.115 (colored) to selected 1.26 (colored)

IPSEC has not come in two speeds for a long time now (IPSEC == kame,
FAST_IPSEC). Make everything refer to IPSEC to avoid confusion.

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:05 2013 UTC (18 months ago) by tls
Branch: tls-maxphys
Changes since 1.114: +4 -6 lines
Diff to previous 1.114 (colored) to selected 1.26 (colored)

resync with head

Revision 1.115 / (download) - annotate - [select for diffs], Tue Feb 5 17:30:02 2013 UTC (18 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver
Changes since 1.114: +4 -6 lines
Diff to previous 1.114 (colored) to selected 1.26 (colored)

Remove remnants of AF_IMPLINK.

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:41 2012 UTC (2 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.112: +4 -9 lines
Diff to previous 1.112 (colored) to selected 1.26 (colored)

sync with head

Revision 1.112.6.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:44 2012 UTC (2 years, 4 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.112.6.1: +4 -9 lines
Diff to previous 1.112.6.1 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored) to selected 1.26 (colored)

sync to latest -current.

Revision 1.114 / (download) - annotate - [select for diffs], Thu Mar 22 20:34:39 2012 UTC (2 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.113: +4 -9 lines
Diff to previous 1.113 (colored) to selected 1.26 (colored)

remove KAME IPSEC, replaced by FAST_IPSEC

Revision 1.112.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:39 2012 UTC (2 years, 6 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.112: +6 -6 lines
Diff to previous 1.112 (colored) to selected 1.26 (colored)

merge to -current.

Revision 1.113 / (download) - annotate - [select for diffs], Mon Dec 19 11:59:57 2011 UTC (2 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.112: +6 -6 lines
Diff to previous 1.112 (colored) to selected 1.26 (colored)

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.112 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:53 2011 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.111: +2 -4 lines
Diff to previous 1.111 (colored) to selected 1.26 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.107.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:28 2010 UTC (4 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.107.2.1: +9 -6 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored) to selected 1.26 (colored)

sync with head

Revision 1.111 / (download) - annotate - [select for diffs], Wed Dec 9 00:45:25 2009 UTC (4 years, 8 months ago) by dyoung
Branch: 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, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.110: +4 -5 lines
Diff to previous 1.110 (colored) to selected 1.26 (colored)

Remove superfluous cast of a pointer to void *.

Compare a pointer with NULL, not 0.

No functional change intended.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Sep 16 15:23:05 2009 UTC (4 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.109: +7 -3 lines
Diff to previous 1.109 (colored) to selected 1.26 (colored)

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.107.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:17 2009 UTC (5 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.107: +44 -35 lines
Diff to previous 1.107 (colored) to selected 1.26 (colored)

sync with head.

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:13 2009 UTC (5 years, 7 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.108: +12 -4 lines
Diff to previous 1.108 (colored) next main 1.109 (colored) to selected 1.26 (colored)

Sync with HEAD.

Revision 1.109 / (download) - annotate - [select for diffs], Mon Jan 19 02:27:57 2009 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend
Changes since 1.108: +12 -4 lines
Diff to previous 1.108 (colored) to selected 1.26 (colored)

Provide compatibility to the old timeval SCM_TIMESTAMP messages.

Revision 1.107.8.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:46 2008 UTC (5 years, 10 months ago) by haad
Branch: haad-dm
Changes since 1.107: +34 -33 lines
Diff to previous 1.107 (colored) next main 1.108 (colored) to selected 1.26 (colored)

Sync with HEAD.

Revision 1.103.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:58 2008 UTC (5 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.103.6.1: +32 -31 lines
Diff to previous 1.103.6.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored) to selected 1.26 (colored)

Sync with HEAD.

Revision 1.107.4.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:01 2008 UTC (5 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.107: +34 -33 lines
Diff to previous 1.107 (colored) next main 1.108 (colored) to selected 1.26 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.108 / (download) - annotate - [select for diffs], Wed Aug 6 15:01:23 2008 UTC (6 years ago) by plunky
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.107: +34 -33 lines
Diff to previous 1.107 (colored) to selected 1.26 (colored)

Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.

approved by core

Revision 1.103.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:24 2008 UTC (6 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.103: +21 -11 lines
Diff to previous 1.103 (colored) to selected 1.26 (colored)

Sync with HEAD.

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:29 2008 UTC (6 years, 3 months ago) by yamt
Branch: yamt-pf42
Changes since 1.105: +12 -7 lines
Diff to previous 1.105 (colored) next main 1.106 (colored) to selected 1.26 (colored)

sync with head.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:38 2008 UTC (6 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Changes since 1.106: +5 -2 lines
Diff to previous 1.106 (colored) to selected 1.26 (colored)

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 rac