<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netinet/libalias/alias_util.c, branch releng/6.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F6.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F6.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2005-06-27T07:36:02Z</updated>
<entry>
<title>Disable checksum processing in LibAlias, when it works as a</title>
<updated>2005-06-27T07:36:02Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2005-06-27T07:36:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=59dde15e8256c4393a0419fafc780164debfbec2'/>
<id>urn:sha1:59dde15e8256c4393a0419fafc780164debfbec2</id>
<content type='text'>
kernel module. LibAlias is not aware about checksum offloading,
so the caller should provide checksum calculation. (The only
current consumer is ng_nat(4)). When TCP packet internals has
been changed and it requires checksum recalculation, a cookie
is set in th_x2 field of TCP packet, to inform caller that it
needs to recalculate checksum. This ugly hack would be removed
when LibAlias is made more kernel friendly.

Incremental checksum updates are left as is, since they don't
conflict with offloading.

Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>- Don't use legacy function in a non-legacy one. This gives us</title>
<updated>2005-06-20T08:31:48Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2005-06-20T08:31:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=72f2d6578c6c936b5045959fcaf6f6f8e2f0dd80'/>
<id>urn:sha1:72f2d6578c6c936b5045959fcaf6f6f8e2f0dd80</id>
<content type='text'>
  possibility to compile libalias without legacy support.
- Use correct way to mark variable as unused.

Approved by:	re (dwhite)
</content>
</entry>
<entry>
<title>Play with includes so that libalias can be compiled both as userland</title>
<updated>2005-05-05T19:27:32Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2005-05-05T19:27:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c649a2e033f92a25f66149051f8e1db05c8a0b96'/>
<id>urn:sha1:c649a2e033f92a25f66149051f8e1db05c8a0b96</id>
<content type='text'>
library and kernel module.
</content>
</entry>
<entry>
<title>Introduce inline {ip,udp,tcp}_next() functions which take a pointer to an</title>
<updated>2004-07-06T12:13:28Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-07-06T12:13:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9fa0fd268273d90e765d9ebfe0be87ea4d64e138'/>
<id>urn:sha1:9fa0fd268273d90e765d9ebfe0be87ea4d64e138</id>
<content type='text'>
{ip,udp,tcp} header and return a void * pointing to the payload (i.e. the
first byte past the end of the header and any required padding).  Use them
consistently throughout libalias to a) reduce code duplication, b) improve
code legibility, c) get rid of a bunch of alignment warnings.
</content>
</entry>
<entry>
<title>Make libalias WARNS?=6-clean.  This mostly involves renaming variables</title>
<updated>2004-07-05T11:10:57Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-07-05T11:10:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ed01a5821550bf9859165f24c95b30c5f1b69f22'/>
<id>urn:sha1:ed01a5821550bf9859165f24c95b30c5f1b69f22</id>
<content type='text'>
named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing
signed / unsigned comparisons, and shoving unused function arguments
under the carpet.

I was hoping WARNS?=6 might reveal more serious problems, and perhaps
the source of the -O2 breakage, but found no smoking gun.
</content>
</entry>
<entry>
<title>Mechanical whitespace cleanup.</title>
<updated>2004-07-05T10:53:28Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-07-05T10:53:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f311ebb4ec205d59f36b71b24e8695cbb19a31ac'/>
<id>urn:sha1:f311ebb4ec205d59f36b71b24e8695cbb19a31ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Deal with aliasing warnings.</title>
<updated>2004-03-31T21:32:58Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-03-31T21:32:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2871c50186332900ef081db99ff114096eec0b3b'/>
<id>urn:sha1:2871c50186332900ef081db99ff114096eec0b3b</id>
<content type='text'>
Reviewed by:	ru
Approved by:	silence on the lists
</content>
</entry>
<entry>
<title>Run through indent(1) so I can read the code without getting a headache.</title>
<updated>2004-03-16T21:30:41Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-03-16T21:30:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f0f93429cfff16c9a06c162ae62d362ec20e050c'/>
<id>urn:sha1:f0f93429cfff16c9a06c162ae62d362ec20e050c</id>
<content type='text'>
The result isn't quite knf, but it's knfer than the original, and far
more consistent.
</content>
</entry>
<entry>
<title>Mostly mechanical rework of libalias:</title>
<updated>2004-01-17T10:52:21Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-01-17T10:52:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5e289f9eb682d86a53ecf2c20be45175a6491803'/>
<id>urn:sha1:5e289f9eb682d86a53ecf2c20be45175a6491803</id>
<content type='text'>
Makes it possible to have multiple packet aliasing instances in a
single process by moving all static and global variables into an
instance structure called "struct libalias".

Redefine a new API based on s/PacketAlias/LibAlias/g

Add new "instance" argument to all functions in the new API.

Implement old API in terms of the new API.
</content>
</entry>
<entry>
<title>Remove trailing whitespace</title>
<updated>2002-07-01T11:19:40Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2002-07-01T11:19:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=27cc91fbf84cc6c1cef81df859125f42292a2b69'/>
<id>urn:sha1:27cc91fbf84cc6c1cef81df859125f42292a2b69</id>
<content type='text'>
</content>
</entry>
</feed>
