ifr_vnetid is now a proper member of struct ifreq and is no longer
overloaded with ifr_metric.  Moreover, ifr_index and ifr_llprio were
missing and mandoc -Tlint complained about a "useless macro: Tn".

ok?

Index: share/man/man4/netintro.4
===================================================================
RCS file: /var/cvs/src/share/man/man4/netintro.4,v
retrieving revision 1.49
diff -u -p -r1.49 netintro.4
--- share/man/man4/netintro.4   11 Sep 2015 13:04:05 -0000      1.49
+++ share/man/man4/netintro.4   16 Nov 2017 11:04:12 -0000
@@ -125,9 +125,7 @@ The system currently supports the
 Internet protocols (IPv4 and IPv6),
 MPLS,
 and a few others.
-Raw socket interfaces are provided to the
-.Tn IP
-protocol
+Raw socket interfaces are provided to the IP protocol
 layer of the
 Internet.
 Consult the appropriate manual pages in this section for more
@@ -215,8 +213,10 @@ struct     ifreq {
                struct  sockaddr        ifru_broadaddr;
                short                   ifru_flags;
                int                     ifru_metric;
+               int64_t                 ifru_vnetid;
                uint64_t                ifru_media;
                caddr_t                 ifru_data;
+               unsigned int            ifru_index;
        } ifr_ifru;
 #define        ifr_addr        ifr_ifru.ifru_addr      /* address */
 #define        ifr_dstaddr     ifr_ifru.ifru_dstaddr   /* other end of p-to-p 
link */
@@ -227,9 +227,11 @@ struct     ifreq {
 #define        ifr_hardmtu     ifr_ifru.ifru_metric    /* hardmtu (overload) */
 #define        ifr_media       ifr_ifru.ifru_media     /* media options */
 #define        ifr_rdomainid   ifr_ifru.ifru_metric    /* VRF instance 
(overload) */
-#define        ifr_vnetid      ifr_ifru.ifru_metric    /* Virtual Net Id 
(overload) */
+#define        ifr_vnetid      ifr_ifru.ifru_vnetid    /* Virtual Net Id */
 #define        ifr_ttl         ifr_ifru.ifru_metric    /* tunnel TTL 
(overload) */
 #define        ifr_data        ifr_ifru.ifru_data      /* for use by interface 
*/
+#define        ifr_index       ifr_ifru.ifru_index     /* interface index */
+#define        ifr_llprio      ifr_ifru.ifru_metric    /* link layer priority 
*/
 };
 .Ed
 .Pp

Reply via email to