Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/rndis.h
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | struct rndis_init_comp { | ||||
uint32_t rm_medium; | uint32_t rm_medium; | ||||
uint32_t rm_pktmaxcnt; | uint32_t rm_pktmaxcnt; | ||||
uint32_t rm_pktmaxsz; | uint32_t rm_pktmaxsz; | ||||
uint32_t rm_align; | uint32_t rm_align; | ||||
uint32_t rm_aflistoffset; | uint32_t rm_aflistoffset; | ||||
uint32_t rm_aflistsz; | uint32_t rm_aflistsz; | ||||
}; | }; | ||||
#define RNDIS_INIT_COMP_SIZE_MIN \ | |||||
__offsetof(struct rndis_init_comp, rm_aflistsz) | |||||
/* Halt the device. No response sent. */ | /* Halt the device. No response sent. */ | ||||
#define REMOTE_NDIS_HALT_MSG 0x00000003 | #define REMOTE_NDIS_HALT_MSG 0x00000003 | ||||
struct rndis_halt_req { | struct rndis_halt_req { | ||||
uint32_t rm_type; | uint32_t rm_type; | ||||
uint32_t rm_len; | uint32_t rm_len; | ||||
uint32_t rm_rid; | uint32_t rm_rid; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |