case ClassInterfaceOutRequest | USB_CDC_SEND_ENCAPSULATED_COMMAND:
if (!s->rndis || value || index != 0)
goto fail;
-#if TRAFFIC_DEBUG
+#ifdef TRAFFIC_DEBUG
{
unsigned int i;
fprintf(stderr, "SEND_ENCAPSULATED_COMMAND:");
data[0] = 0;
ret = 1;
}
-#if TRAFFIC_DEBUG
+#ifdef TRAFFIC_DEBUG
{
unsigned int i;
fprintf(stderr, "GET_ENCAPSULATED_RESPONSE:");
if (!s->rndis_resp.tqh_first)
ret = USB_RET_NAK;
-#if DEBUG
+#ifdef TRAFFIC_DEBUG
fprintf(stderr, "usbnet: interrupt poll len %u return %d", p->len, ret);
{
int i;
s->in_ptr = s->in_len = 0;
}
-#if TRAFFIC_DEBUG
+#ifdef TRAFFIC_DEBUG
fprintf(stderr, "usbnet: data in len %u return %d", p->len, ret);
{
int i;
(struct rndis_packet_msg_type *) s->out_buf;
uint32_t len;
-#if TRAFFIC_DEBUG
+#ifdef TRAFFIC_DEBUG
fprintf(stderr, "usbnet: data out len %u\n", p->len);
{
int i;