<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netnatm, branch release/5.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2003-11-18T00:39:07Z</updated>
<entry>
<title>Introduce a MAC label reference in 'struct inpcb', which caches</title>
<updated>2003-11-18T00:39:07Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2003-11-18T00:39:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a557af222b70694470f63e2a0f1bf58c9dcc73fd'/>
<id>urn:sha1:a557af222b70694470f63e2a0f1bf58c9dcc73fd</id>
<content type='text'>
the   MAC label referenced from 'struct socket' in the IPv4 and
IPv6-based protocols.  This permits MAC labels to be checked during
network delivery operations without dereferencing inp-&gt;inp_socket
to get to so-&gt;so_label, which will eventually avoid our having to
grab the socket lock during delivery at the network layer.

This change introduces 'struct inpcb' as a labeled object to the
MAC Framework, along with the normal circus of entry points:
initialization, creation from socket, destruction, as well as a
delivery access control check.

For most policies, the inpcb label will simply be a cache of the
socket label, so a new protocol switch method is introduced,
pr_sosetlabel() to notify protocols that the socket layer label
has been updated so that the cache can be updated while holding
appropriate locks.  Most protocols implement this using
pru_sosetlabel_null(), but IPv4/IPv6 protocols using inpcbs use
the the worker function in_pcbsosetlabel(), which calls into the
MAC Framework to perform a cache update.

Biba, LOMAC, and MLS implement these entry points, as do the stub
policy, and test policy.

Reviewed by:	sam, bms
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
</content>
</entry>
<entry>
<title>o add a flags parameter to netisr_register that is used to specify</title>
<updated>2003-11-08T22:28:40Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2003-11-08T22:28:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7902224c6bf05f57bba57a72b6d11d4023a84883'/>
<id>urn:sha1:7902224c6bf05f57bba57a72b6d11d4023a84883</id>
<content type='text'>
  whether or not the isr needs to hold Giant when running; Giant-less
  operation is also controlled by the setting of debug_mpsafenet
o mark all netisr's except NETISR_IP as needing Giant
o add a GIANT_REQUIRED assertion to the top of netisr's that need Giant
o pickup Giant (when debug_mpsafenet is 1) inside ip_input before
  calling up with a packet
o change netisr handling so swi_net runs w/o Giant; instead we grab
  Giant before invoking handlers based on whether the handler needs Giant
o change netisr handling so that netisr's that are marked MPSAFE may
  have multiple instances active at a time
o add netisr statistics for packets dropped because the isr is inactive

Supported by:	FreeBSD Foundation
</content>
</entry>
<entry>
<title>Replace the if_name and if_unit members of struct ifnet with new members</title>
<updated>2003-10-31T18:32:15Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2003-10-31T18:32:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9bf40ede4a299f315bc4b0ae5329631b8c7dc271'/>
<id>urn:sha1:9bf40ede4a299f315bc4b0ae5329631b8c7dc271</id>
<content type='text'>
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By:	re (in principle)
Reviewed By:	njl, imp
Tested On:	i386, amd64, sparc64
Obtained From:	NetBSD (if_xname)
</content>
</entry>
<entry>
<title>Remove the last vestiges of ATM raw mode. This has not been useful for a</title>
<updated>2003-08-06T14:34:38Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-08-06T14:34:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a808105d6324a02d8013856bb268e04d6131bdab'/>
<id>urn:sha1:a808105d6324a02d8013856bb268e04d6131bdab</id>
<content type='text'>
long time and has already been removed from the only driver that supported
it (en(4)) and from the man page.
</content>
</entry>
<entry>
<title>Use the new OPENVCC and CLOSEVCC ioctls to open and close the NATM</title>
<updated>2003-08-06T14:07:54Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-08-06T14:07:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1d253d7336c74f5dadf8d5eb3b3c49ac1aff3f55'/>
<id>urn:sha1:1d253d7336c74f5dadf8d5eb3b3c49ac1aff3f55</id>
<content type='text'>
channel. These have been the last consumers of the old ioctls.
</content>
</entry>
<entry>
<title>Style(9): remove unneccesary space and blank lines, indentation,</title>
<updated>2003-08-06T13:46:15Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-08-06T13:46:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9a6d13bedefde1beee9d2053e4c96a4683c7bab9'/>
<id>urn:sha1:9a6d13bedefde1beee9d2053e4c96a4683c7bab9</id>
<content type='text'>
function prototypes. Use LIST_FOREACH instead of explicit loops.

The indentation of functions indendet by 4 space have been left alone.
2-space indented functions have been re-indented.
</content>
</entry>
<entry>
<title>Instead of returning an error call the ioctl() handler of the interface</title>
<updated>2003-07-15T15:51:50Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-07-15T15:51:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fe8dee1062d73e144cd4cf81039ad5351447896a'/>
<id>urn:sha1:fe8dee1062d73e144cd4cf81039ad5351447896a</id>
<content type='text'>
when we get request that we cannot handle ourself. This allows userland
to reach the ATM interfaces for ioctls.
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-06-11T05:37:42Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-06-11T05:37:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ab0de15baf7234734b1b64c3145cd36f867c98ea'/>
<id>urn:sha1:ab0de15baf7234734b1b64c3145cd36f867c98ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce an M_ASSERTPKTHDR() macro which performs the very common task</title>
<updated>2003-04-08T14:25:47Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-04-08T14:25:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fe58453891932b6e42539b9971ec882c24140153'/>
<id>urn:sha1:fe58453891932b6e42539b9971ec882c24140153</id>
<content type='text'>
of asserting that an mbuf has a packet header.  Use it instead of hand-
rolled versions wherever applicable.

Submitted by:	Hiten Pandya &lt;hiten@unixdaemons.com&gt;
</content>
</entry>
<entry>
<title>Update netisr handling; Each SWI now registers its queue, and all queue</title>
<updated>2003-03-04T23:19:55Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jlemon@FreeBSD.org</email>
</author>
<published>2003-03-04T23:19:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1cafed3941f1a4e9d2beb4fb126e91018505dfd4'/>
<id>urn:sha1:1cafed3941f1a4e9d2beb4fb126e91018505dfd4</id>
<content type='text'>
drain routines are done by swi_net, which allows for better queue control
at some future point.  Packets may also be directly dispatched to a netisr
instead of queued, this may be of interest at some installations, but
currently defaults to off.

Reviewed by: hsu, silby, jayanth, sam
Sponsored by: DARPA, NAI Labs
</content>
</entry>
</feed>
