<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netinet/ip_var.h, branch stable/4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2005-01-02T01:53:44Z</updated>
<entry>
<title>MFC of port randomization rate-based disabling:</title>
<updated>2005-01-02T01:53:44Z</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2005-01-02T01:53:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cf12f9ab09fb320c683fa1023a92d3ec032289c5'/>
<id>urn:sha1:cf12f9ab09fb320c683fa1023a92d3ec032289c5</id>
<content type='text'>
in_pcb.c rev 1.157
in_pcb.h rev 1.79
ip_input.c rev 1.293
ip_var.h rev 1.93

Approved by:	re
</content>
</entry>
<entry>
<title>MFC: Add the IP_ONESBCAST option, to enable undirected IP broadcasts to be</title>
<updated>2003-09-09T19:09:23Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2003-09-09T19:09:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=de28d89963d97f41a113e6cd22f17ff5474e6fde'/>
<id>urn:sha1:de28d89963d97f41a113e6cd22f17ff5474e6fde</id>
<content type='text'>
sent on specific interfaces. This is required by aodvd, and may in future
help us in getting rid of the requirement for BPF from our import of isc-dhcp.

PR:		kern/37486
Obtained from:	BSD/OS
Approved by:	re, jake (mentor)
</content>
</entry>
<entry>
<title>Merge from -current support for Protocol Independent Multicast.</title>
<updated>2003-08-24T08:24:39Z</updated>
<author>
<name>Jeffrey Hsu</name>
<email>hsu@FreeBSD.org</email>
</author>
<published>2003-08-24T08:24:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3c9ffa9f4382a8c09ccacab6acd643a7ee4052e9'/>
<id>urn:sha1:3c9ffa9f4382a8c09ccacab6acd643a7ee4052e9</id>
<content type='text'>
Submitted by:   Pavlin Radoslavov &lt;pavlin@icir.org&gt;
</content>
</entry>
<entry>
<title>A correct MFC:</title>
<updated>2003-02-27T04:50:02Z</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2003-02-27T04:50:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f5d09033755745d0257aa877f5bb875b13d42cc1'/>
<id>urn:sha1:f5d09033755745d0257aa877f5bb875b13d42cc1</id>
<content type='text'>
ip_input.c revs 1.225, 1.229
ip_var.h   rev  1.71

Approved by:	re (bmah)
</content>
</entry>
<entry>
<title>Backout:</title>
<updated>2003-02-27T04:12:01Z</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2003-02-27T04:12:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=082250b77d7da970203cee0f70a5a6d986222b1d'/>
<id>urn:sha1:082250b77d7da970203cee0f70a5a6d986222b1d</id>
<content type='text'>
ip_input 1.130.2.49
ip_var.h 1.50.2.10

This is not even close to a straight mfc, my mistake.
</content>
</entry>
<entry>
<title>IP frag per packet limits</title>
<updated>2003-02-27T03:55:46Z</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2003-02-27T03:55:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3a2dfa399db38fe8232ae9a3eb2fd3b0aa2749d2'/>
<id>urn:sha1:3a2dfa399db38fe8232ae9a3eb2fd3b0aa2749d2</id>
<content type='text'>
MFC
ip_input.c rev 1.225
ip_var.h   rev 1.71

Approved by:	re (bmah)
</content>
</entry>
<entry>
<title>MFC: m_tag support</title>
<updated>2003-01-23T21:06:48Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2003-01-23T21:06:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e1b7c4cdaa276a21e66dc41dc066ac341c49e76e'/>
<id>urn:sha1:e1b7c4cdaa276a21e66dc41dc066ac341c49e76e</id>
<content type='text'>
Replace aux mbufs with packet tags:

  o instead of a list of mbufs use a list of m_tag structures a la openbsd
  o for netgraph et. al. extend the stock openbsd m_tag to include a 32-bit
    ABI/module number cookie
  o for openbsd compatibility define a well-known cookie MTAG_ABI_COMPAT and
    use this in defining openbsd-compatible m_tag_find and m_tag_get routines
  o rewrite KAME use of aux mbufs in terms of packet tags
  o eliminate the most heavily used aux mbufs by adding an additional struct
    inpcb parameter to ip_output and ip6_output to allow the IPsec code to
    locate the security policy to apply to outbound packets
  o bump __FreeBSD_version so code can be conditionalized
  o fixup ipfilter's call to ip_output based on __FreeBSD_version
</content>
</entry>
<entry>
<title>MFC: fix multicast routing KLD support, including some minor bug fixes</title>
<updated>2002-11-20T23:20:55Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-11-20T23:20:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cc6f28c7d9f750b13c825965c88d46b2ba1b695a'/>
<id>urn:sha1:cc6f28c7d9f750b13c825965c88d46b2ba1b695a</id>
<content type='text'>
(see 1.83 of ip_mroute.c).

In detail:
conf/files
        ip_mroute optional mrouting

net/route.c
        remove useless #include, MFC mrouting KLD support

netinet/ip_encap.c
        remove useless #include, access ipip_input through a function pointer
        (only a partial MFC -- -current has a better solution).
        fix interface to encap4_input() to avoid varargs

netinet/ip_encap.h
        remove __P, fix interface to encap4_input

netinet/ip_input.c
        MFC: mrouting KLD support, and move here rsvp_input() together
        with the rest of the rsvp code.

netinet/ip_mroute.[ch]
        MFC 1.83 mrouting cleanup and KLD support

netinet/ip_output.c
        MFC mrouting KLD support

netinet/ip_var.h
        MFC support for mrouting KLD

netinet/raw_ip.c
        MFC support for mrouting KLD
        Also some innocuous style cleanup (fix function headers,
        remove register, etc.) which have slipped in and i am too
        fed up to remove yet another time (and rerun all the kernel
        builds with all possible combinations of relevant options to
	make sure their removal does not introduce bugs).
</content>
</entry>
<entry>
<title>MFC: in_rmx.c,v 1.39, ip_input.c,v 1.165, and ip_var.h,v 1.54:</title>
<updated>2002-08-09T14:49:23Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-08-09T14:49:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3976147b356b54b49797fefc30de5f043863d5e6'/>
<id>urn:sha1:3976147b356b54b49797fefc30de5f043863d5e6</id>
<content type='text'>
Invalidate cached forwarding route (ipforward_rt) whenever a new
route is added to the routing table, otherwise we may end up using
the wrong route when forwarding.

PR:		kern/10778
Spotted by:	Sergey Starosek &lt;star@sunbay.com&gt;,
		Andrew Rukavishnikov &lt;rav@sunbay.com&gt;
</content>
</entry>
<entry>
<title>The purpose of this commit is to bring the net/ and netinet/ sources</title>
<updated>2002-07-09T09:11:43Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-07-09T09:11:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=539f5f9799c74500b284aca343f10e381c31cc89'/>
<id>urn:sha1:539f5f9799c74500b284aca343f10e381c31cc89</id>
<content type='text'>
more in sync with what is in -current, so that mainteinance and
bugfix of the two trees is not a nightmare.

	THERE IS NO FUNCTIONAL OR EXTERNAL API CHANGE IN THIS COMMIT

You should not need to recompile any userland code.

In (some) more detail, this commit does the following:

  * remove a number of static variables from the ip stack that were
    used to support DIVERT, IPFIREWALL_FORWARD and stateful rules/
    dynamic pipes. These are replaced with packet annotations, much
    in the same (ugly for someone, but it is extremely fast and easy
    to extend) way used for ages to support dummynet annotations.

    On passing, fix a bug in the handling of divert for fragmented packets.

  * as part of the removal of static variables, change the (internal)
    interface of ip_fw_chk() to use a single structure to hold arguments.
    Adapt clients of the above (ip_input, ip_output, bridge, ether_output,
    ether_demux) to use the new interface.

  * remove some unused variables.

  * remove some of the __P() macros from some of the files involved

Because of the NO FUNCTIONAL CHANGE you don't get the following features
which are in -current:

  * ipfw on layer-2 packets. All the hooks and the code are there,
    but the controlling variable

	net.link.ether.ipfw: 0

    is readonly because i am only 99% confident on how the old ipfw
    handles these frames. Just edit if_ethersubr.c to make the
    variable RW if you want this feature. I might commit this in
    due time if there is interest.

    these frames. Just edit if_ethersubr.c to make it RW if you want this
    feature. I might commit this in due time if there is interest.

  * ipfw2, the new, faster and more flexible firewall code.

    The code has hooks to make use of ipfw2, and I will make patches
    available to use it (it is basically 3 files, netinet/ip_fw2.[ch],
    sbin/ipfw/ipfw2.c, plus one-line changes in conf/options,
    conf/files and sbin/ipfw/Makefile, plus libalias patches).
</content>
</entry>
</feed>
