VirtualBox

Changeset 87696 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Feb 10, 2021 5:10:58 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142739
Message:

NAT/Net: G/c more unused code. bugref:9929.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NetLib/utils.h

    r87695 r87696  
    3737typedef std::vector<RTNETADDRIPV4> AddressList;
    3838typedef std::map<RTNETADDRIPV4, int> AddressToOffsetMapping;
    39 
    40 
    41 inline RTNETADDRIPV4 networkid(const RTNETADDRIPV4& addr, const RTNETADDRIPV4& netmask)
    42 {
    43     RTNETADDRIPV4 netid;
    44     netid.u = addr.u & netmask.u;
    45     return netid;
    46 }
    4739
    4840
Note: See TracChangeset for help on using the changeset viewer.

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