Changeset 7881 in vbox for trunk/src/VBox
- Timestamp:
- Apr 10, 2008 4:01:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r7875 r7881 1009 1009 }; 1010 1010 1011 DECLINLINE(int) padr_match(PCNetState *pData, const uint8_t *buf, int size)1011 DECLINLINE(int) padr_match(PCNetState *pData, const uint8_t *buf, size_t size) 1012 1012 { 1013 1013 struct ether_header *hdr = (struct ether_header *)buf; … … 1036 1036 } 1037 1037 1038 DECLINLINE(int) padr_bcast(PCNetState *pData, const uint8_t *buf, int size)1038 DECLINLINE(int) padr_bcast(PCNetState *pData, const uint8_t *buf, size_t size) 1039 1039 { 1040 1040 static uint8_t aBCAST[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; … … 1047 1047 } 1048 1048 1049 static int ladr_match(PCNetState *pData, const uint8_t *buf, int size)1049 static int ladr_match(PCNetState *pData, const uint8_t *buf, size_t size) 1050 1050 { 1051 1051 struct ether_header *hdr = (struct ether_header *)buf; … … 1743 1743 * Write data into guest receive buffers. 1744 1744 */ 1745 static void pcnetReceiveNoSync(PCNetState *pData, const uint8_t *buf, int size)1745 static void pcnetReceiveNoSync(PCNetState *pData, const uint8_t *buf, size_t size) 1746 1746 { 1747 1747 PPDMDEVINS pDevIns = PCNETSTATE_2_DEVINS(pData);
Note:
See TracChangeset
for help on using the changeset viewer.