Changeset 49149 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Oct 17, 2013 3:53:24 AM (11 years ago)
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp
r49125 r49149 246 246 } 247 247 248 // XXX: TODO: should prod rtadvd for immediate unsolicited249 // advertisement with new router lifetime250 248 m_ProxyOptions.ipv6_defroute = fIPv6DefaultRoute; 249 tcpip_callback_with_block(proxy_rtadvd_do_quick, &m_LwipNetIf, 0); 251 250 252 251 break; -
trunk/src/VBox/NetworkServices/NAT/proxy.h
r49042 r49149 52 52 /* proxy_rtadvd.c */ 53 53 void proxy_rtadvd_start(struct netif *); 54 void proxy_rtadvd_do_quick(void *); 54 55 55 56 /* rtmon_*.c */ -
trunk/src/VBox/NetworkServices/NAT/proxy_rtadvd.c
r49099 r49149 85 85 86 86 static int quick_ras = 2; 87 88 89 /** 90 * lwIP thread callback invoked when we start/stop advertising default 91 * route. 92 */ 93 void 94 proxy_rtadvd_do_quick(void *arg) 95 { 96 struct netif *proxy_netif = (struct netif *)arg; 97 98 quick_ras = 2; 99 sys_untimeout(proxy_rtadvd_timer, proxy_netif); 100 proxy_rtadvd_timer(proxy_netif); /* sends and re-arms */ 101 } 102 87 103 88 104 static void
Note:
See TracChangeset
for help on using the changeset viewer.