Changeset 39091 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Oct 24, 2011 1:58:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmnetinline.h
r38550 r39091 225 225 { 226 226 PRTNETUDP pUdpHdr = (PRTNETUDP)&pbSegHdrs[offUdpHdr]; 227 pUdpHdr->uh_ulen =RT_H2N_U16(cbPayload + cbHdrs - offUdpHdr);227 pUdpHdr->uh_ulen = RT_H2N_U16(cbPayload + cbHdrs - offUdpHdr); 228 228 switch (enmCsumType) 229 229 { … … 238 238 break; 239 239 default: 240 NOREF(pbPayload); 240 241 AssertFailed(); 241 242 break; … … 299 300 break; 300 301 default: 302 NOREF(cbHdrs); 301 303 AssertFailed(); 302 304 break; … … 498 500 */ 499 501 DECLINLINE(uint32_t) PDMNetGsoCarveSegment(PCPDMNETWORKGSO pGso, const uint8_t *pbFrame, size_t cbFrame, 500 uint32_t iSeg, uint32_t cSegs, uint8_t *pbSegHdrs, 502 uint32_t iSeg, uint32_t cSegs, uint8_t *pbSegHdrs, 501 503 uint32_t *pcbSegHdrs, uint32_t *pcbSegPayload) 502 504 {
Note:
See TracChangeset
for help on using the changeset viewer.