Ignore:
Timestamp:
2018-06-16T16:05:39Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b8ef198b
Parents:
fe96085
Message:

Implement virtio_net_send

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/virtio-net/virtio-net.h

    rfe96085 r3d135e9  
    4646#define VIRTIO_NET_F_CTRL_VQ            (1U << 17)
    4747
     48#define VIRTIO_NET_HDR_GSO_NONE 0
     49typedef struct {
     50        uint8_t flags;
     51        uint8_t gso_type;
     52        uint16_t hdr_len;
     53        uint16_t gso_size;
     54        uint16_t csum_start;
     55        uint16_t csum_offset;
     56        uint16_t num_buffers;
     57} virtio_net_hdr_t;
     58
    4859typedef struct {
    4960        uint8_t mac[6];
Note: See TracChangeset for help on using the changeset viewer.