- Timestamp:
- Nov 12, 2010 6:46:21 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67718
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.h
r30218 r34036 460 460 int slirp_arp_lookup_ip_by_ether(PNATState, const uint8_t *, uint32_t *); 461 461 int slirp_arp_lookup_ether_by_ip(PNATState, uint32_t, uint8_t *); 462 #endif 463 462 463 static inline size_t slirp_size(PNATState pData) 464 { 465 if (if_mtu < MSIZE) 466 return MCLBYTES; 467 else if (if_mtu < MCLBYTES) 468 return MCLBYTES; 469 else if (if_mtu < MJUM9BYTES) 470 return MJUM9BYTES; 471 else if (if_mtu < MJUM16BYTES) 472 return MJUM16BYTES; 473 else 474 AssertMsgFailed(("Unsupported size")); 475 return 0; 476 } 477 #endif 478
Note:
See TracChangeset
for help on using the changeset viewer.