VirtualBox

Ignore:
Timestamp:
Mar 18, 2015 3:20:35 AM (10 years ago)
Author:
vboxsync
Message:

NAT: G/c more ancient unused VBOX_WITH_NAT_SERVICE ifdefs.

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r54824 r54825  
    16801680void slirp_set_ethaddr_and_activate_port_forwarding(PNATState pData, const uint8_t *ethaddr, uint32_t GuestIP)
    16811681{
    1682 #ifndef VBOX_WITH_NAT_SERVICE
    16831682    memcpy(client_ethaddr, ethaddr, ETH_ALEN);
    1684 #endif
    16851683    if (GuestIP != INADDR_ANY)
    16861684    {
  • trunk/src/VBox/Devices/Network/slirp/slirp_state.h

    r53624 r54825  
    156156    uint32_t dnsLastUpdate;
    157157    uint32_t netmask;
    158 #ifndef VBOX_WITH_NAT_SERVICE
    159158    uint8_t client_ethaddr[6];
    160 #endif
    161159    const uint8_t *slirp_ethaddr;
    162160    char slirp_hostname[33];
  • trunk/src/VBox/Devices/Network/slirp/socket.h

    r52798 r54825  
    9797    void (* so_timeout)(PNATState pData, struct socket *so, void *arg);
    9898    void *so_timeout_arg;
    99 
    100 #ifdef VBOX_WITH_NAT_SERVICE
    101     /* storage of source ether address */
    102     unsigned char so_ethaddr[6];
    103 #endif
    10499
    105100#ifdef VBOX_WITH_NAT_UDP_SOCKET_CLONE
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