Changeset 21716 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 20, 2009 3:48:06 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/ip_input.c
r21715 r21716 78 78 int hlen = 0; 79 79 STAM_PROFILE_START(&pData->StatIP_input, a); 80 #ifdef VBOX_WITH_SLIRP_ALIAS81 //STAM_PROFILE_START(&pData->StatALIAS_input, b);82 #endif83 80 84 81 DEBUG_CALL("ip_input"); … … 92 89 { 93 90 int rc; 91 STAM_PROFILE_START(&pData->StatALIAS_input, a); 94 92 rc = LibAliasIn(m->m_la ? m->m_la : pData->proxy_alias, mtod(m, char *), 95 m->m_ len);96 //STAM_PROFILE_STOP(&pData->StatALIAS_input, b);93 m->m_size); 94 STAM_PROFILE_STOP(&pData->StatALIAS_input, a); 97 95 Log2(("NAT: LibAlias return %d\n", rc)); 98 96 } -
trunk/src/VBox/Devices/Network/slirp/ip_output.c
r21715 r21716 90 90 #endif 91 91 STAM_PROFILE_START(&pData->StatIP_output, a); 92 #ifdef VBOX_WITH_SLIRP_ALIAS93 //STAM_PROFILE_START(&pData->StatALIAS_output, b);94 #endif95 92 96 93 DEBUG_CALL("ip_output"); … … 157 154 { 158 155 int rc; 156 STAM_PROFILE_START(&pData->StatALIAS_output, a); 159 157 rc = LibAliasOut((m->m_la ? m->m_la : pData->proxy_alias), 160 158 mtod(m, char *), m->m_len); 161 159 Log2(("NAT: LibAlias return %d\n", rc)); 162 //STAM_PROFILE_STOP(&pData->StatALIAS_output, b);160 STAM_PROFILE_STOP(&pData->StatALIAS_output, a); 163 161 } 164 162 #endif … … 260 258 { 261 259 int rc; 260 STAM_PROFILE_START(&pData->StatALIAS_output, a); 262 261 rc = LibAliasOut((m->m_la ? m->m_la : pData->proxy_alias), 263 262 mtod(m, char *), m->m_len); 264 263 Log2(("NAT: LibAlias return %d\n", rc)); 265 //STAM_PROFILE_STOP(&pData->StatALIAS_output, b);264 STAM_PROFILE_STOP(&pData->StatALIAS_output, a); 266 265 } 267 266 #endif
Note:
See TracChangeset
for help on using the changeset viewer.