Changeset 54825 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Mar 18, 2015 3:20:35 AM (10 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r54824 r54825 1680 1680 void slirp_set_ethaddr_and_activate_port_forwarding(PNATState pData, const uint8_t *ethaddr, uint32_t GuestIP) 1681 1681 { 1682 #ifndef VBOX_WITH_NAT_SERVICE1683 1682 memcpy(client_ethaddr, ethaddr, ETH_ALEN); 1684 #endif1685 1683 if (GuestIP != INADDR_ANY) 1686 1684 { -
trunk/src/VBox/Devices/Network/slirp/slirp_state.h
r53624 r54825 156 156 uint32_t dnsLastUpdate; 157 157 uint32_t netmask; 158 #ifndef VBOX_WITH_NAT_SERVICE159 158 uint8_t client_ethaddr[6]; 160 #endif161 159 const uint8_t *slirp_ethaddr; 162 160 char slirp_hostname[33]; -
trunk/src/VBox/Devices/Network/slirp/socket.h
r52798 r54825 97 97 void (* so_timeout)(PNATState pData, struct socket *so, void *arg); 98 98 void *so_timeout_arg; 99 100 #ifdef VBOX_WITH_NAT_SERVICE101 /* storage of source ether address */102 unsigned char so_ethaddr[6];103 #endif104 99 105 100 #ifdef VBOX_WITH_NAT_UDP_SOCKET_CLONE
Note:
See TracChangeset
for help on using the changeset viewer.