DragonFly BSD

CVS log for src/sys/netinet6/in6_pcb.c

[BACK] Up to [DragonFly] / src / sys / netinet6

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Sep 4 09:08:22 2008 UTC (5 years, 7 months ago) by hasso
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.34: preferred, unified
Changes since revision 1.34: +14 -0 lines
The result of the "RFC3542 support" SoC project by Dashu Huang.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jan 5 14:02:40 2008 UTC (6 years, 3 months ago) by swildner
Branches: MAIN
CVS tags: DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_Preview
Diff to: previous 1.33: preferred, unified
Changes since revision 1.33: +4 -4 lines
For kmalloc(), MALLOC() and contigmalloc(), use M_ZERO instead of
explicitly bzero()ing.

Reviewed-by: sephe

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Dec 29 18:02:56 2006 UTC (7 years, 3 months ago) by victor
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10
Diff to: previous 1.32: preferred, unified
Changes since revision 1.32: +159 -26 lines
Made jails IPv6 aware and support more than one IP address.

Based-on: Pawel Jakub Dawidek mijail patches.
Reviewed-by: Simon 'corecode' Schubert, Thomas E. Spanjaard, et al.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Dec 5 23:31:57 2006 UTC (7 years, 4 months ago) by dillon
Branches: MAIN
Diff to: previous 1.31: preferred, unified
Changes since revision 1.31: +1 -1 lines
Local variables that were improperly named 'errno' must be renamed so as
not to conflict with libc's errno, when building a virtual kernel.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Oct 24 06:18:42 2006 UTC (7 years, 5 months ago) by hsu
Branches: MAIN
Diff to: previous 1.30: preferred, unified
Changes since revision 1.30: +30 -30 lines
Cosmetic changes.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:55:48 2006 UTC (7 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.29: preferred, unified
Changes since revision 1.29: +3 -3 lines
Rename malloc->kmalloc, free->kfree, and realloc->krealloc.  Pass 1

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 3 18:29:17 2006 UTC (7 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.28: preferred, unified
Changes since revision 1.28: +2 -2 lines
Rename functions to avoid conflicts with libc.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jan 31 19:05:42 2006 UTC (8 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6
Diff to: previous 1.27: preferred, unified
Changes since revision 1.27: +1 -1 lines
Bring in the parallel route table code and clean up ARP.  The
route table is now replicated across all cpus (ncpus, not ncpus2).
Note that cloned routes are not replicated.

This removes one of the few remaining obstacles to being able
to run the network protocol stacks without the BGL.

Primary-Design-by: Jeffrey Hsu
Work-by: Jeffrey Hsu and Matthew Dillon

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jun 3 19:56:08 2005 UTC (8 years, 10 months ago) by eirikn
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.26: preferred, unified
Changes since revision 1.26: +10 -12 lines
Remove *spl() from netinet6 replacing them with critical sections.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 6 05:09:25 2005 UTC (9 years, 1 month ago) by hsu
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.25: preferred, unified
Changes since revision 1.25: +7 -7 lines
Minimal patch that allows Path MTU discovery to be turned back on, but
leave it off by default.

Tested by:  Hiroki Sato, Dave Rhodus, Yonetani Tomokazu, Matt Dillon,
	    Andrew Atrens,

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Mar 4 03:05:59 2005 UTC (9 years, 1 month ago) by hsu
Branches: MAIN
Diff to: previous 1.24: preferred, unified
Changes since revision 1.24: +2 -2 lines
Remove (void) cast before a function call with an unused return value.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Feb 8 22:56:19 2005 UTC (9 years, 2 months ago) by hsu
Branches: MAIN
Diff to: previous 1.23: preferred, unified
Changes since revision 1.23: +4 -4 lines
Now that 'so_pcb' is properly declared as a 'void *', remove a layer of
indirection and directly use 'so->so_pcb' in place of 'sotoinpcb(so)'.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Feb 8 15:54:01 2005 UTC (9 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.22: preferred, unified
Changes since revision 1.22: +1 -1 lines
Set so->so_pcb directly to NULL to avoid lvalue cast.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Feb 1 16:09:37 2005 UTC (9 years, 2 months ago) by hrs
Branches: MAIN
Diff to: previous 1.21: preferred, unified
Changes since revision 1.21: +1 -1 lines
- Nuke #ifdef SCOPEDROUTING.  It was never enabled and is useless now[1].
- Add in6_domifattach(), in6_domifdetach(), and ifp->if_afdata[2].
- ANSIfy.

Obtained from:	KAME via FreeBSD
References (FreeBSD):

	net/
	if.c		1.168[2]
	if_var.h	1.59[2]

	netinet/
	icmp6.h		1.12[2]
	tcp_input.c	1.209[2]

	netinet6/
	icmp6.c		1.38[1], 1.39[2]
	in6.c		1.30[1], 1.31[2]
	ip6_forward.c	1.20[1]
	in6_gif.c	1.15[1]
	in6_proto.c	1.25[2]
	in6_ifattach.c	1.17[1], 1.18[2]
	ip6_input.c	1.53[1], 1.57[2]
	ip6_output.c	1.58[1], 1.59[2]
	in6_src.c	1.14[2]
	in6_var.h	1.14[2]
	nd6.c		1.30[1], 1.32[2]
	nd6.h		1.13[2]
	nd6_nbr.c	1.19[2]
	nd6_rtr.c	1.20[2]
	scope6.c	1.8[2]
	scope6_var.h	1.3[2]

	sys/
	domain.h	1.18[2]
	kernel.h	1.113[2]

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Jan 6 17:59:32 2005 UTC (9 years, 3 months ago) by hsu
Branches: MAIN
Diff to: previous 1.20: preferred, unified
Changes since revision 1.20: +2 -2 lines
Now that I understand the poorly written BSD routing code and what
it was trying to do, rewrite it in a clear and concise manner.

The old rtalloc1() code written by CSRG had a number of problems:
  1. it was not clear which route was being returned
  2. it was not clear what was being reported
  3. it hid the essential radix tree lookup operation inside a series of
      conditional tests and inline assignments
  4. it had multiple gotos to the inside of if statements
  5. it intermixed reporting code with the operational logic of lookup
      and cloning
  6. it assigns multiple times to key variables
  7. it has unnecessary assignments to key variables
  8. it overloaded the "report" argument parameter, to have two
      different semantics
  9. it misnamed the key route lookup function "rtalloc1", obscuring all uses
      of route lookup.

In contrast to the rtalloc1 code in FreeBSD 4 or the even more convoluted
rtalloc1 code in FreeBSD 5, the DragonFlyBSD version
  A. has a clear control flow that makes the common case obvious
      by highlighting the core call to the radix tree look up function,
      eliminating gotos into if statements,
      and completely separating out the special-case cloning logic
  B. makes it clear which route is being returned
      by only assigning once to the key "rt" variable
      and by expliciting returning "rt" or "clonedroute"
  C. abstracts out the reporting code into its own reporting API
  D. cleans up the semantics of the "report" argument parameter to
      only indicate whether to report a miss and not whether to clone
  E. introduces a simple single-argument API for caller that want to clone
      and those that do not.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Dec 28 19:55:16 2004 UTC (9 years, 3 months ago) by hsu
Branches: MAIN
Diff to: previous 1.19: preferred, unified
Changes since revision 1.19: +1 -1 lines
Fix off-by-one error with the range check for PRC_NCMDS.

Same as:  FreeBSD rev 1.38, OpenBSD rev 1.36, KAME rev 1.137.
Submitted by:  Hiroki Sato <hrs@allbsd.org>

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Dec 21 02:54:47 2004 UTC (9 years, 4 months ago) by hsu
Branches: MAIN
Diff to: previous 1.18: preferred, unified
Changes since revision 1.18: +5 -6 lines
Clean up the routing and networking code before I parallelize routing.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Oct 15 22:59:10 2004 UTC (9 years, 6 months ago) by hsu
Branches: MAIN
Diff to: previous 1.17: preferred, unified
Changes since revision 1.17: +3 -3 lines
Update includes now that the Fast IPSec code has moved to netproto/ipsec.

Submitted by:  Pawel Biernacki <kaktus@dragonflybsd.pl>

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jun 7 07:02:42 2004 UTC (9 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.16: preferred, unified
Changes since revision 1.16: +5 -0 lines
Additional listhead->pcblisthead and marker support for netinet6.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jun 3 13:30:26 2004 UTC (9 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +1 -1 lines
Don't cast away the const before dereferencing.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jun 2 16:41:28 2004 UTC (9 years, 10 months ago) by hsu
Branches: MAIN
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +7 -3 lines
Allow an inp control block to be inserted on multiple wildcard hash tables.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu May 20 18:30:36 2004 UTC (9 years, 11 months ago) by cpressey
Branches: MAIN
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +20 -48 lines
Style(9) cleanup to src/sys/netinet6:

- Convert K&R-style function definitions to ANSI style.

Submitted-by: Andre Nathan <andre@digirati.com.br>
Double-checked-by: YONETANI Tomokazu <qhwt+dragonfly-submit@les.ath.cx>

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Apr 10 00:10:42 2004 UTC (10 years ago) by hsu
Branches: MAIN
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +1 -1 lines
Send connects to the right processor.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 31 00:43:09 2004 UTC (10 years ago) by hsu
Branches: MAIN
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +3 -4 lines
Only enter wildcard sockets into the wildcard hash table.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 4 01:02:06 2004 UTC (10 years, 1 month ago) by hsu
Branches: MAIN
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +48 -70 lines
Split out wildcarded sockets from the connection hash table.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Aug 23 11:02:45 2003 UTC (10 years, 8 months ago) by rob
Branches: MAIN
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +1 -1 lines
well, if netproto doesnt need old prototypes inet6 doesnt either

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Aug 7 21:54:33 2003 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +1 -1 lines
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Aug 7 21:17:33 2003 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +2 -2 lines
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 26 21:04:50 2003 UTC (10 years, 8 months ago) by rob
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +6 -6 lines
Register keyword removal

Approved by: Matt Dillon

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jul 23 02:30:22 2003 UTC (10 years, 9 months ago) by dillon
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +4 -2 lines
LINT pass.  Cleanup missed proc->thread conversions and get rid of warnings.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 20 00:41:28 2003 UTC (10 years, 9 months ago) by dillon
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +2 -2 lines
zfreei->zfree (there is no zfreei anymore)

Report-by: Kip Macy <kmacy@fsmware.com>

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jun 25 03:56:04 2003 UTC (10 years, 9 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +10 -17 lines
proc->thread stage 4: rework the VFS and DEVICE subsystems to take thread
pointers instead of process pointers as arguments, similar to what FreeBSD-5
did.  Note however that ultimately both APIs are going to be message-passing
which means the current thread context will not be useable for creds and
descriptor access.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 23 17:55:46 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +2 -2 lines
proc->thread stage 2: MAJOR revamping of system calls, ucred, jail API,
and some work on the low level device interface (proc arg -> thread arg).
As -current did, I have removed p_cred and incorporated its functions
into p_ucred.  p_prison has also been moved into p_ucred and adjusted
accordingly.  The jail interface tests now uses ucreds rather then processes.

The syscall(p,uap) interface has been changed to just (uap).  This is inclusive
of the emulation code.  It makes little sense to pass a proc pointer around
which confuses the MP readability of the code, because most system call code
will only work with the current process anyway.  Note that eventually
*ALL* syscall emulation code will be moved to a kernel-protected userland
layer because it really makes no sense whatsoever to implement these
emulations in the kernel.

suser() now takes no arguments and only operates with the current process.
The process argument has been removed from suser_xxx() so it now just takes
a ucred and flags.

The sysctl interface was adjusted somewhat.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:52 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:55:35 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.10.2.9

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options