Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 21:45:34 -0500
From:      Don Bowman <don@sandvine.com>
To:        "'freebsd-net@freebsd.org'" <freebsd-net@freebsd.org>
Subject:   struct inpcb, INET6
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337010231CE@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help

Is there a reason that struct inpcb doesn't have
an #ifdef INET6 around
        struct {
                /* IP options */
                struct  mbuf *inp6_options;
                /* IP6 options for outgoing packets */
                struct  ip6_pktopts *inp6_outputopts;
                /* IP multicast options */
                struct  ip6_moptions *inp6_moptions;
                /* ICMPv6 code type filter */
                struct  icmp6_filter *inp6_icmp6filt;
                /* IPV6_CHECKSUM setsockopt */
                int     inp6_cksum;
                u_short inp6_ifindex;
                short   inp6_hops;
                u_int8_t        inp6_hlim;
        } inp_depend6;

? Its 25 bytes per connection.

--don (don@sandvine.com www.sandvine.com)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337010231CE>