DragonFly BSD

CVS log for src/sys/netinet/in_pcb.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


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

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Apr 4 06:13:26 2007 UTC (7 years, 5 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10, DragonFly_Preview
Diff to: previous 1.22: preferred, unified
Changes since revision 1.22: +4 -1 lines
Add IP_MINTTL socket option - used to set the minimum acceptable TTL a
packet must have when received on a socket.  All packets with a lower TTL
are silently dropped.  Works on already connected/connecting and listening
sockets for RAW/UDP/TCP.

Add IP_RECVTTL socket option support - When set, userland receives the
incoming packet's TTL as ancillary data with recvmsg(2) call.

Allows the implementation of security mechanisms described in RFC3682 (GTSM).

Obtained-from: FreeBSD.
Submitted-by: Hasso Tepper <hasso@estpak.ee>

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Mar 4 18:51:59 2007 UTC (7 years, 6 months ago) by swildner
Branches: MAIN
Diff to: previous 1.21: preferred, unified
Changes since revision 1.21: +0 -17 lines
Remove weird license clause which has expired.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Dec 29 18:02:56 2006 UTC (7 years, 9 months ago) by victor
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8
Diff to: previous 1.20: preferred, unified
Changes since revision 1.20: +3 -3 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.20: download - view: text, markup, annotated - select for diffs
Sat May 20 02:42:12 2006 UTC (8 years, 4 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6
Diff to: previous 1.19: preferred, unified
Changes since revision 1.19: +9 -1 lines
I'm growing tired of having to add #include lines for header files that
the include file(s) I really want depend on.

Go through nearly all major system include files and add appropriately
#ifndef'd #include lines to include all dependant header files.  Kernel
source files now only need to #include the header files they directly
depend on.

So, for example, if I wanted to add a SYSCTL to a kernel source file,
I would only have to #include <sys/sysctl.h> to bring in the support for
it, rather then four or five header files in addition to <sys/sysctl.h>.

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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Dec 20 11:03:16 2004 UTC (9 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.17: preferred, unified
Changes since revision 1.17: +0 -8 lines
Remove the userland visible part of the socket generation counting.
As a side issue, the CPU used for processing a PCB isn't shown anymore,
since this is currently not included by the userland sockets.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Dec 3 20:29:53 2004 UTC (9 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.16: preferred, unified
Changes since revision 1.16: +3 -0 lines
Replace div_pcblist / rip_pcblist / udp_pcblist with in_pcblist_global.
This is a slight change of semantic for rip sockets, which have now a
jail check too.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Aug 11 02:36:22 2004 UTC (10 years, 1 month ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004
Diff to: previous 1.15: preferred, unified
Changes since revision 1.15: +1 -0 lines
Add a state to sanity check tcp_close() to make sure it is not called
twice.

Add a 'cpu' field to the inpcb so the cpu owning a pcb can be made
well-known, for use in later assertions as we move closer to removing
the BGL.

Fix a bug in the closing of listen sockets.  The inp wildcard hash table
removal was being done asynchronously with the freeing of the inp, which
could lead to problems.  Instead of sending messages in parallel to all tcp
protocol threads to remove the wildcard hash we instead chain a single
message through all tcp protocol threads to remove the hash, then detach the
inp at the end of the chain.

There is still an issue with the socket being ripped out from under other
protocol threads which might be trying to accept connections on behalf of
the listen socket which must be resolved before the BGL can be removed (amoung
other things).

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jul 8 22:07:35 2004 UTC (10 years, 2 months ago) by hsu
Branches: MAIN
CVS tags: DragonFly_1_0_REL, DragonFly_1_0A_REL
Diff to: previous 1.14: preferred, unified
Changes since revision 1.14: +50 -1 lines
Add the standard DragonFly copyright notice to go along with mine.

Approved by:	Matt

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jun 7 02:36:22 2004 UTC (10 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_1_0_RC1
Diff to: previous 1.13: preferred, unified
Changes since revision 1.13: +4 -1 lines
Add in_pcbinfo_init() to encapsulate basic structural setup (right now just
the LIST_INIT).  Rename inpcbinfo->listhead to inpcbinfo->pcblisthead due
to changes in the API (addition of markers).

Add support for markers in the inpcbinfo->pcblisthead lists of INPCB
structures.  Use markers in sysctl output code to iterate through these lists
without losing its place or having to worry about structures being ripped out
from under it.  Scrap the original two-pass code.

Redo the sysctl INPCB output code for tcp, udp, and other protocols so we
always output the correct number of structures (as specified in xig_count).

Generate output for all cpus (for TCP).  This is accomplished by using
lwkt_setcpu_self() to migrate the kernel thread to each cpu, which allows us
to iterate the list(s) managed by that cpu without having to deal with mutexes
or other forms of locks.  Iterations always wind up on the same cpu they began
on.

Redo netstat to properly iterate across as many cpu chunks as the inpcb
sysctl's return, rather then just the first one.

Work-by: Hiten Pandya and Matthew Dillon

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 28 08:00:35 2004 UTC (10 years, 5 months ago) by hsu
Branches: MAIN
Diff to: previous 1.12: preferred, unified
Changes since revision 1.12: +3 -2 lines
Remember if an inpcb was entered into the wildcard table to save
some cycles when a connection is closed.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Apr 24 04:47:29 2004 UTC (10 years, 5 months ago) by hsu
Branches: MAIN
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +2 -0 lines
Replicate the TCP listen table to give each cpu its own copy.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Apr 18 20:05:09 2004 UTC (10 years, 5 months ago) by hsu
Branches: MAIN
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +7 -1 lines
Allow an inp control block to be inserted on multiple wildcard hash tables.

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

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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Mar 6 05:00:41 2004 UTC (10 years, 6 months ago) by hsu
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +2 -1 lines
Change the "struct inpcbhead *listhead" field in "struct inpcbinfo"
to "struct inpcbhead listhead" so we can have a separate list per
"struct inpcbinfo" when it becomes per-cpu.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Mar 5 16:57:15 2004 UTC (10 years, 6 months ago) by hsu
Branches: MAIN
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +1 -1 lines
Once we distribute socket protocol processing requests to different
processors, we no longer have a process context to refer to, so
eliminate the use of curproc in soreserve() by passing the sockbuf
resource limit all the down from the system call code to sbreserve().

Eliminate the use of curproc in unp_attach() by passing down the
fields it needs from the proc structure.  Define a pru_attach_info
structure to hold the information the attach usrreq function requires.

The thread argument to in_pcballoc() is unused, so we don't need
to pass a thread structure down to in_pcballoc().

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 4 01:02:05 2004 UTC (10 years, 7 months ago) by hsu
Branches: MAIN
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +17 -6 lines
Split out wildcarded sockets from the connection hash table.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 22 19:30:56 2003 UTC (10 years, 10 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +1 -1 lines
Properly spell compatible and compatibility.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 23 11:18:00 2003 UTC (11 years, 1 month ago) by rob
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +23 -23 lines
if ipv6 doesnt need oldstyle prototypes maybe its time we took them out
of ipv4's code

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jun 25 03:56:04 2003 UTC (11 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +5 -5 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.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:51 2003 UTC (11 years, 3 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:33 2003 UTC (11 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.32.2.7

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