Date: Mon, 25 Feb 2002 09:44:20 +0100 From: Marco Molteni <molter@tin.it> To: freebsd-net@freebsd.org Subject: [PATCH] comment for struct inpcb (netinet/in_pcb.h) Message-ID: <20020225094420.A3312@cobweb.example.org>
next in thread | raw e-mail | index | archive | help
--envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I have a small patch to add a comment to struct inpcb, explaining the role of member "vflag" (IP version flag, v4/v6). It took me a while to figure it out so I think it might be better to explicitly explain it. If you are wondering when it has been introduced, here are the results of my digging: It has been introduced in the KAME tree kame-freebsd-30 tree, revision 1.12, 18 Nov 1998: http://orange.kame.net/dev/cvsweb.cgi/src/sys/netinet/in_pcb.h?cvsroot=kame-freebsd-30 Then it has been merged in revision 1.30, 22 Nov 1999, in the FreeBSD source tree: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/in_pcb.h Marco --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="in_pcb.h.patch" --- in_pcb.h.old Mon Feb 25 09:27:00 2002 +++ in_pcb.h Mon Feb 25 09:30:50 2002 @@ -141,7 +141,7 @@ int inp_flags; /* generic IP/datagram flags */ struct inpcbpolicy *inp_sp; /* for IPSEC */ - u_char inp_vflag; + u_char inp_vflag; /* IP version flag (v4/v6) */ #define INP_IPV4 0x1 #define INP_IPV6 0x2 u_char inp_ip_ttl; /* time to live proto */ --envbJBWh7q8WU6mo-- 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?20020225094420.A3312>