- Timestamp:
- Sep 14, 2015 2:33:10 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r57550 r57739 1637 1637 rule->guest_addr.s_addr = guest_addr.s_addr; 1638 1638 rule->bind_ip.s_addr = host_addr.s_addr; 1639 if (ethaddr != NULL)1640 memcpy(rule->mac_address, ethaddr, ETH_ALEN);1641 /* @todo add mac address */1642 1639 LIST_INSERT_HEAD(&pData->port_forward_rule_head, rule, list); 1643 1640 pData->cRedirectionsStored++; -
trunk/src/VBox/Devices/Network/slirp/slirp_state.h
r56377 r57739 88 88 struct in_addr guest_addr; 89 89 struct in_addr bind_ip; 90 uint8_t mac_address[6]; /*need ETH_ALEN here */91 90 int activated; 92 91 struct socket *so;
Note:
See TracChangeset
for help on using the changeset viewer.