Changeset 21698 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 17, 2009 2:17:21 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/counters.h
r21687 r21698 76 76 PROFILE_COUNTER(IP_input, "IP::input"); 77 77 PROFILE_COUNTER(IP_output, "IP::output"); 78 PROFILE_COUNTER(IF_encap, "IF::encap"); 78 79 #ifdef VBOX_WITH_SLIRP_ALIAS 79 80 PROFILE_COUNTER(ALIAS_input, "ALIAS::input"); -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r21670 r21698 1487 1487 struct ethhdr *eh; 1488 1488 uint8_t *buf = RTMemAlloc(1600); 1489 STAM_PROFILE_START(&pData->StatIF_encap, a); 1489 1490 1490 1491 m->m_data -= if_maxlinkhdr; … … 1523 1524 slirp_output(pData->pvUser, NULL, buf, m->m_len); 1524 1525 done: 1526 STAM_PROFILE_STOP(&pData->StatIF_encap, a); 1525 1527 m_free(pData, m); 1526 1528 #endif
Note:
See TracChangeset
for help on using the changeset viewer.