Changeset a1f173d in mainline
- Timestamp:
- 2019-02-05T20:25:48Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 13eecc4
- Parents:
- d80fa05
- Location:
- uspace/drv/nic/virtio-net
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/virtio-net/virtio-net.c
rd80fa05 ra1f173d 346 346 memset(hdr, 0, sizeof(virtio_net_hdr_t)); 347 347 hdr->gso_type = VIRTIO_NET_HDR_GSO_NONE; 348 hdr->num_buffers = 0; 348 349 349 350 /* Copy packet data into the buffer just past the header */ -
uspace/drv/nic/virtio-net/virtio-net.h
rd80fa05 ra1f173d 55 55 uint16_t csum_start; 56 56 uint16_t csum_offset; 57 58 // XXX: QEMU uses the legacy layout for some reason59 #if 060 57 uint16_t num_buffers; 61 #endif62 58 } virtio_net_hdr_t; 63 59
Note:
See TracChangeset
for help on using the changeset viewer.