4.6.3. Network#
4.6.3.1. Interface#
Functions
-
void SimbricksNetIfDefaultParams(struct SimbricksBaseIfParams *params)#
-
int SimbricksNetIfInit(struct SimbricksNetIf *nsif, struct SimbricksBaseIfParams *params, const char *eth_socket_path, int *sync_eth)#
-
SIMBRICKS_BASEIF_GENERIC(SimbricksNetIf, SimbricksProtoNetMsg, SimbricksNetIf)#
Generate queue access functions
-
struct SimbricksNetIf#
Public Members
-
struct SimbricksBaseIf base#
-
struct SimbricksBaseIf base#
4.6.3.2. Protocol#
Defines
-
SIMBRICKS_PROTO_NET_MSG_PACKET#
a network packet
Functions
- struct SimbricksProtoNetIntro __attribute__ ((packed))
Variables
-
uint32_t dummy
-
uint16_t len
-
uint8_t port#
-
uint8_t pad[45]
-
uint64_t timestamp
-
uint8_t pad_[7]
-
uint8_t own_type
-
uint8_t data[]
- union SimbricksProtoNetMsg __attribute__
information for each BAR exposed by the device
-
struct SimbricksProtoNetIntro#
- #include <proto.h>
welcome message sent by network devices to eachother.
Public Members
-
uint32_t dummy#
-
uint32_t dummy#
-
struct SimbricksProtoNetMsgPacket#
-
union SimbricksProtoNetMsg#