Changeset 1bc35b5 in mainline for uspace/lib/nic/include/nic.h


Ignore:
Timestamp:
2012-01-19T08:13:45Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8da56b
Parents:
3ea725e
Message:

Remove most use of packet_t from NIC drivers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/include/nic.h

    r3ea725e r1bc35b5  
    6161
    6262/**
    63  * Simple structure for sending the allocated frames (packets) in a list.
     63 * Simple structure for sending lists of frames.
    6464 */
    6565typedef struct {
    6666        link_t link;
    67         packet_t *packet;
     67        void *data;
     68        size_t size;
    6869} nic_frame_t;
    6970
     
    233234extern int nic_report_poll_mode(nic_t *, nic_poll_mode_t, struct timeval *);
    234235extern void nic_query_address(nic_t *, nic_address_t *);
    235 extern void nic_received_packet(nic_t *, packet_t *);
    236236extern void nic_received_noneth_packet(nic_t *, packet_t *);
    237237extern void nic_received_frame(nic_t *, nic_frame_t *);
Note: See TracChangeset for help on using the changeset viewer.