- Timestamp:
- Apr 8, 2010 2:45:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmnetinline.h
r28074 r28096 440 440 441 441 442 442 /** 443 * Gets the GSO type name string. 444 * 445 * @returns Pointer to read only name string. 446 * @param enmType The type. 447 */ 448 DECLINLINE(const char *) PDMNetGsoTypeName(PDMNETWORKGSOTYPE enmType) 449 { 450 switch (enmType) 451 { 452 case PDMNETWORKGSOTYPE_IPV4_TCP: return "TCPv4"; 453 case PDMNETWORKGSOTYPE_IPV6_TCP: return "TCPv6"; 454 case PDMNETWORKGSOTYPE_IPV4_UDP: return "UDPv4"; 455 case PDMNETWORKGSOTYPE_IPV6_UDP: return "UDPv6"; 456 case PDMNETWORKGSOTYPE_IPV4_IPV6_TCP: return "4to6TCP"; 457 case PDMNETWORKGSOTYPE_IPV4_IPV6_UDP: return "4to6UDP"; 458 case PDMNETWORKGSOTYPE_INVALID: return "invalid"; 459 case PDMNETWORKGSOTYPE_END: return "end"; 460 } 461 return "bad-gso-type"; 462 } 463
Note:
See TracChangeset
for help on using the changeset viewer.