VirtualBox

Changeset 17441 in vbox for trunk/include


Ignore:
Timestamp:
Mar 6, 2009 7:05:58 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43852
Message:

IPRT/RTGetOpt: Added RTGETOPT_REQ_MACADDR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/getopt.h

    r17319 r17441  
    7373 * (Not a name, but 4 values in the 0..255 range with dots separating them). */
    7474#define RTGETOPT_REQ_IPV4ADDR                   10
     75#if 0
     76/** The value must be a valid IPv4 CIDR.
     77 * As with RTGETOPT_REQ_IPV4ADDR, no name.
     78 * @todo Mix CIDR with types.h or/and net.h first and find a way to make the
     79 *       mask optional like with ifconfig. See RTCidrStrToIPv4. */
     80#define RTGETOPT_REQ_IPV4CIDR                   11
     81#endif
     82/** The value must be a valid ethernet MAC address. */
     83#define RTGETOPT_REQ_MACADDR                    14
    7584/** The mask of the valid required types. */
    7685#define RTGETOPT_REQ_MASK                       15
     
    147156    RTNETADDRIPV4   IPv4Addr;
    148157#endif
     158    /** A RTGETOPT_REQ_MACADDR option argument. */
     159    RTMAC           MacAddr;
    149160    /** A signed integer value. */
    150161    int64_t         i;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette