<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/net/if_sppp.h, branch releng/7.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-06-10T16:49:24Z</updated>
<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>Add FR support to sppp (MFCronyx).</title>
<updated>2004-12-28T00:07:57Z</updated>
<author>
<name>Roman Kurakin</name>
<email>rik@FreeBSD.org</email>
</author>
<published>2004-12-28T00:07:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d676cb6fad6d1c2dc7f0e8a9fc555bff73bbacb8'/>
<id>urn:sha1:d676cb6fad6d1c2dc7f0e8a9fc555bff73bbacb8</id>
<content type='text'>
Silence on: net@, current@, hackers@.
No objections: joerg

Requested by: by many (mostly Cronyx) users for a long long time.
MFC after:	10 days

PR:		kern/21771, kern/66348
</content>
</entry>
<entry>
<title>Make sppp MPSAFE.</title>
<updated>2004-12-12T14:54:15Z</updated>
<author>
<name>Roman Kurakin</name>
<email>rik@FreeBSD.org</email>
</author>
<published>2004-12-12T14:54:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e42ddbdf640c913eee2e249f483646e4d634e3fe'/>
<id>urn:sha1:e42ddbdf640c913eee2e249f483646e4d634e3fe</id>
<content type='text'>
MPSAFE could be turned off by IFF_NEEDSGIANT.

Silence on: net@, current@, hackers@.
No objections: joerg
</content>
</entry>
<entry>
<title>Implement an option to administratively disable the negotiation of</title>
<updated>2001-12-30T20:42:29Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2001-12-30T20:42:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ee037f26bc5987618ce8c06d1c0f1872a91bb468'/>
<id>urn:sha1:ee037f26bc5987618ce8c06d1c0f1872a91bb468</id>
<content type='text'>
IPv6 on an sppp interface.  In an IPv6-enabled kernel, every IPv6
interface automatically gets an IPv6 address assigned (and IPv6
multicast packets sent at initialization time).  For sppp links where
we know our remote peer wouldn't support IPv6 at all, there's no point
in attempting to negotiate IPV6CP (or to even dial out for an IPv6
packet at all for dial-on-demand interfaces).

I wish there were a more generic way to administratively disable IPv6
on an interface instead.  ume told me there isn't.

While i was at it, converted both, enable_vj and enable_ipv6 into flag
bits in struct sppp (enable_vj used to be an int of its own).

MFC after:	1 month
</content>
</entry>
<entry>
<title>Bump AUTHNAMELEN to 64.  Should probably be made dynamic instead.</title>
<updated>2001-12-30T18:40:28Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2001-12-30T18:40:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fde5145a62d01c8d3131ea0d586ec59cf0d8be3b'/>
<id>urn:sha1:fde5145a62d01c8d3131ea0d586ec59cf0d8be3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix my breakage to the low-level hardware sync drivers brought by the</title>
<updated>2001-12-28T23:20:12Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2001-12-28T23:20:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=47d6b4a6445cdb7c4e0483f393b9fd06f32ffb33'/>
<id>urn:sha1:47d6b4a6445cdb7c4e0483f393b9fd06f32ffb33</id>
<content type='text'>
inclusion of VJ compression into sppp.

Now, instead of the need to include this and that and everything plus
the kitchensink in each of those drivers, struct sppp uses struct
slcompress as an opaque structure only referenced by a pointer.  The
actual structure is then malloced at initialization time.

While i was at it, also fixed a bug where received VJ packets would only
be recognized if INET6 was defined.
</content>
</entry>
<entry>
<title>Implement timestamps so i4b/driver/i4b_isppp.c can derive the idle</title>
<updated>2001-12-28T15:59:54Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2001-12-28T15:59:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5450aa123921307883958d9f28cf7b3baf30cda2'/>
<id>urn:sha1:5450aa123921307883958d9f28cf7b3baf30cda2</id>
<content type='text'>
time from the PPP packets sent.  This effectively merges rev 1.2 of
the old i4b_ispppsubr.c, with the exception that i eventually ended up
in debugging and fixing it so the idle time is now really
detected. ;-)  (The version in i4b simply doesn't work right since it
still accounts for incoming LCP echo packets which it is supposed to
ignore for idle time considerations...)

Obtained from:	i4b
MFC after:	1 month
</content>
</entry>
<entry>
<title>Break out the relevant fields from struct sppp into a struct</title>
<updated>2001-12-27T22:38:50Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2001-12-27T22:38:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=39cb697c8c8b3ec5e470cfa281c4eaaec4f002dc'/>
<id>urn:sha1:39cb697c8c8b3ec5e470cfa281c4eaaec4f002dc</id>
<content type='text'>
sppp_parms that are needed for the SPPPIO[GS]DEFS ioctl commands.
This allows it to keep struct sppp inside #ifdef _KERNEL (where it
belongs), and prevents userland programs that wish to include
&lt;net/if_sppp.h&gt; from including the earth, the hell, and the universe
before the are able to resolve all the kernel-internal stuff that's in
struct sppp.

Discussed with:	hm
MFC after:	1 month
</content>
</entry>
<entry>
<title>Implement VJ header compression for sppp.</title>
<updated>2001-12-27T16:49:31Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2001-12-27T16:49:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a5d6f5e0bde40b44ad964622e145eea24c5ca30'/>
<id>urn:sha1:1a5d6f5e0bde40b44ad964622e145eea24c5ca30</id>
<content type='text'>
This is the logical merge of rev 1.32 of i4b's old if_spppsubr.c (which
was based on PR misc/11767), plus (i4b) rev 1.6 of i4b's if_ispppsubr.c,
albeit with numerous stylistic and cosmetic changes.

PR:		misc/11767
Submitted by:	i4b, Joachim Kuebart
MFC after:	1 month
</content>
</entry>
</feed>
