IF_FAKE_S_CMD_NONE = 0,
IF_FAKE_S_CMD_SET_PEER = 1,
IF_FAKE_S_CMD_SET_MEDIA = 2,
+ IF_FAKE_S_CMD_SET_DEQUEUE_STALL = 3,
};
/*
char iffru_buf[128]; /* stable size */
struct if_fake_media iffru_media;
char iffru_peer_name[IFNAMSIZ]; /* if name, e.g. "en0" */
+ /*
+ * control dequeue stall. 0: disable dequeue stall, else
+ * enable dequeue stall.
+ */
+ uint32_t iffru_dequeue_stall;
} iffr_u;
#define iffr_peer_name iffr_u.iffru_peer_name
#define iffr_media iffr_u.iffru_media
+#define iffr_dequeue_stall iffr_u.iffru_dequeue_stall
};
#endif /* _NET_IF_FAKE_VAR_H_ */