K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-26T22:54:19.465970Z K 7 svn:log V 1604 r189615: Remove now-unused INP_UNMAPPABLEOPTS. Discussd with: bz r189637: Avoid use of IPv6 macro aliases to inpcb fields and inp_flags; we don't remove their defintions as some third-party tools may use them (such as net-snmp), unlike in the 8.x change. References to in6p_lport and in6_fport in sockstat are also replaced with normal inp_lport and inp_fport references. Reviewed by: bz r189848: Correct a number of evolved problems with inp_vflag and inp_flags: certain flags that should have been in inp_flags ended up in inp_vflag, meaning that they were inconsistently locked, and in one case, interpreted. Move the following flags from inp_vflag to gaps in the inp_flags space (and clean up the inp_flags constants to make gaps more obvious to future takers): INP_TIMEWAIT INP_SOCKREF INP_ONESBCAST INP_DROPPED Some aspects of this change have no effect on kernel ABI at all, as these are UDP/TCP/IP-internal uses; however, netstat and sockstat detect INP_TIMEWAIT when listing TCP sockets, so any MFC will need to take this into account. MFC after: 1 week (or after dependencies are MFC'd) Reviewed by: bz Note that this change requires netstat, systat, and sockstat to be recompiled in order to properly print TIMEWAIT connection state; this minor API change (documented in UPDATING) is considered worth it in order to fix the above bugs. This change fixes the INP_ONESBCAST bug describted in kern/124282 by disambiguating flag use. Approved by: re (kib) PR: kern/124282 r189637 discussed with: pav END