ifmedia: Port SIOCGIFXMEDIA from FreeBSD - Max # of media type is 255 on DragonFly; additional bit was used. - Description of the media is changed to ###baseXX instead of ###Base-XX; it is more consistent with what we already have. - Fix some media types in vke(4), e.g. 1000baseT <half-duplex> is actually never deployed anywhere. - Use ULL consistently in bce(4) for the if_baudrate. - Setup if_baudrate properly for re(4). - Fix typo in mii(4). - Handle SIOCGIFXMEDIA in re(4) (for 2500baseT) and vke(4) (for all newly added types). - Bump kernel version.
<net/if_media.h>: Adjust ethernet media types some more. * IFM_1000_FX was cleaned up long ago in FreeBSD (see r95702) and NetBSD. * Add a useful comment from FreeBSD. * Adjust some whitespace and indentation. While here, clean up the ifmedia.4 manual page a bit and add a IFM_10G_TWINAX description (from NetBSD).
kernel/net: On i386, make the interface baudrate 64 bits in a few places. For 10Gb ethernet. For ifi_baudrate in struct if_data (which is public), NetBSD uses uint64_t too, so no pkgsrc breakage is expected. However, a few i386 binary packages we offer might be broken now on master. Discussed-with: sephe
Bring CARP into the tree. CARP = Common Address Redundancy Protocol, which allows an IP address to hot switch to backup machine(s) when the master goes offline. Submitted-by: Baptiste Ritter <baptiste.ritter@ulp.u-strasbg.fr>, Jonathan, and Nicolas Testing-by: Thomas Nikolajsen, Gergo Szakal Obtained-from: OpenBSD, NetBSD, and FreeBSD