<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/net/if_tapvar.h, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-09-25T23:41:45Z</updated>
<entry>
<title>Revert part of an earlier patch attempt that snuck in with r240938.</title>
<updated>2012-09-25T23:41:45Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-09-25T23:41:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c11038e25247d1816aa4c7522ffe2dc6a1108ae8'/>
<id>urn:sha1:c11038e25247d1816aa4c7522ffe2dc6a1108ae8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid INVARIANTS panic destroying an in-use tap(4)</title>
<updated>2012-09-25T22:10:14Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-09-25T22:10:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a71e423509c85665210c4230368af68445a6a05'/>
<id>urn:sha1:5a71e423509c85665210c4230368af68445a6a05</id>
<content type='text'>
The requirement (implied by the KASSERT in tap_destroy) that the tap is
closed isn't valid; destroy_dev will block in devdrn while other threads
are in d_* functions.

Note: if_tun had the same issue, addressed in SVN revisions r186391,
r186483 and r186497.  The use of the condvar there appears to be
redundant with the functionality provided by destroy_dev.

Sponsored by:	ADARA Networks
Reviewed by:	dwhite
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Stop embedding struct ifnet at the top of driver softcs. Instead the</title>
<updated>2005-06-10T16:49:24Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2005-06-10T16:49:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fc74a9f93a5fbc83262aa12084404ac953c854b5'/>
<id>urn:sha1:fc74a9f93a5fbc83262aa12084404ac953c854b5</id>
<content type='text'>
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.

This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.

Other changes of note:
 - Struct arpcom is no longer referenced in normal interface code.
   Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
   To enforce this ac_enaddr has been renamed to _ac_enaddr.
 - The second argument to ether_ifattach is now always the mac address
   from driver private storage rather than sometimes being ac_enaddr.

Reviewed by:	sobomax, sam
</content>
</entry>
<entry>
<title>/* -&gt; /*- for license, minor formatting changes</title>
<updated>2005-01-07T01:45:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T01:45:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c398230b64aea809cb7c5cea8db580af7097920c'/>
<id>urn:sha1:c398230b64aea809cb7c5cea8db580af7097920c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do the dreaded s/dev_t/struct cdev */</title>
<updated>2004-06-16T09:47:26Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-06-16T09:47:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=89c9c53da05197f657dfe8e0bdda6941a2e9a0d4'/>
<id>urn:sha1:89c9c53da05197f657dfe8e0bdda6941a2e9a0d4</id>
<content type='text'>
Bump __FreeBSD_version accordingly.
</content>
</entry>
<entry>
<title>Add tap_mtx to tap_softc in order to protect per-softc variables</title>
<updated>2004-03-17T01:09:59Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-03-17T01:09:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7c924a52879a819d4367d9de326dabfeadfe2be8'/>
<id>urn:sha1:7c924a52879a819d4367d9de326dabfeadfe2be8</id>
<content type='text'>
(tap_pid, tap_flags).  if_tap should now be entirely MPSAFE.

Committed from:			Bamboo house by ocean in Taiwan
Tropical paradise provided by:	Chia-liang Kao &lt;clkao@clkao.org&gt;
</content>
</entry>
<entry>
<title>Remove stale (unused) unit variables from if_tun and if_tap softc's.</title>
<updated>2004-03-13T05:51:06Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-03-13T05:51:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a1be2f9f90e9fa6db88c84967aa260fca2dd481'/>
<id>urn:sha1:4a1be2f9f90e9fa6db88c84967aa260fca2dd481</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Device megapatch 2/6:</title>
<updated>2004-02-21T20:29:52Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-02-21T20:29:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b0b03348789e3dd9b271ed132b29adb8045293a7'/>
<id>urn:sha1:b0b03348789e3dd9b271ed132b29adb8045293a7</id>
<content type='text'>
This commit adds a couple of functions for pseudodrivers to use for
implementing cloning in a manner we will be able to lock down (shortly).

Basically what happens is that pseudo drivers get a way to ask for
"give me the dev_t with this unit number" or alternatively "give
me a dev_t with the lowest guaranteed free unit number" (there is
unfortunately a lot of non-POLA in the exact numeric value of this
number, just live with it for now)

Managing the unit number space this way removes the need to use
rman(9) to do so in the drivers this greatly simplifies the code in
the drivers because even using rman(9) they still needed to manage
their dev_t's anyway.

I have taken the if_tun, if_tap, snp and nmdm drivers through the
mill, partly because they (ab)used makedev(), but mostly because
together they represent three different problems for device-cloning:

if_tun and snp is the plain case: just give me a device.

if_tap has two kinds of devices, with a flag for device type.

nmdm has paired devices (ala pty) can you can clone either of them.
</content>
</entry>
<entry>
<title>Add cloning support for the tap(4) device similar to that in the tun(4)</title>
<updated>2001-09-05T01:06:21Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2001-09-05T01:06:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc9b30fcc24b1fc56597c60f82d66896c6803927'/>
<id>urn:sha1:dc9b30fcc24b1fc56597c60f82d66896c6803927</id>
<content type='text'>
device.

Submitted by:   Maksim Yevmenkin &lt;myevmenk@digisle.net&gt;
</content>
</entry>
<entry>
<title>Change to support vmware... SIOCSIFADDR on the character device</title>
<updated>2000-07-25T23:50:30Z</updated>
<author>
<name>Nick Sayer</name>
<email>nsayer@FreeBSD.org</email>
</author>
<published>2000-07-25T23:50:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b14e438ed84d66b9a20d1a1fd2920b5819403ffc'/>
<id>urn:sha1:b14e438ed84d66b9a20d1a1fd2920b5819403ffc</id>
<content type='text'>
sets the (notional) "remote" ethernet address.

Submitted by:	vsilyaev@mindspring.com
</content>
</entry>
</feed>
