Revision 4f1c942b net.h
b/net.h | ||
---|---|---|
8 | 8 |
typedef struct VLANClientState VLANClientState; |
9 | 9 |
|
10 | 10 |
typedef int (NetCanReceive)(VLANClientState *); |
11 |
typedef void (NetReceive)(VLANClientState *, const uint8_t *, size_t);
|
|
11 |
typedef ssize_t (NetReceive)(VLANClientState *, const uint8_t *, size_t);
|
|
12 | 12 |
typedef ssize_t (NetReceiveIOV)(VLANClientState *, const struct iovec *, int); |
13 | 13 |
typedef void (NetCleanup) (VLANClientState *); |
14 | 14 |
typedef void (LinkStatusChanged)(VLANClientState *); |
Also available in: Unified diff