static int usb_net_handle_statusin(USBNetState *s, USBPacket *p)

{

    int ret = 8;



    if (p->len < 8)

        return USB_RET_STALL;



    ((le32 *) p->data)[0] = cpu_to_le32(1);

    ((le32 *) p->data)[1] = cpu_to_le32(0);

    if (!s->rndis_resp.tqh_first)

        ret = USB_RET_NAK;



#ifdef TRAFFIC_DEBUG

    fprintf(stderr, "usbnet: interrupt poll len %u return %d", p->len, ret);

    {

        int i;

        fprintf(stderr, ":");

        for (i = 0; i < ret; i++) {

            if (!(i & 15))

                fprintf(stderr, "\n%04x:", i);

            fprintf(stderr, " %02x", p->data[i]);

        }

        fprintf(stderr, "\n\n");

    }

#endif



    return ret;

}

static int usb_net_handle_statusin(USBNetState *s, USBPacket *p)

{

    int ret = 8;



    if (p->len < 8)

        return USB_RET_STALL;



    ((le32 *) p->data)[0] = cpu_to_le32(1);

    ((le32 *) p->data)[1] = cpu_to_le32(0);

    if (!s->rndis_resp.tqh_first)

        ret = USB_RET_NAK;



#ifdef TRAFFIC_DEBUG

    fprintf(stderr, "usbnet: interrupt poll len %u return %d", p->len, ret);

    {

        int i;

        fprintf(stderr, ":");

        for (i = 0; i < ret; i++) {

            if (!(i & 15))

                fprintf(stderr, "\n%04x:", i);

            fprintf(stderr, " %02x", p->data[i]);

        }

        fprintf(stderr, "\n\n");

    }

#endif



    return ret;

}

    if (p->len < 8)     ((le32 *) p->data)[0] = cpu_to_le32(1);     ((le32 *) p->data)[1] = cpu_to_le32(0);     fprintf(stderr, "usbnet: interrupt poll len %u return %d", p->len, ret);         int i;         fprintf(stderr, ":");         for (i = 0; i < ret; i++) {             if (!(i & 15))                 fprintf(stderr, "\n%04x:", i);             fprintf(stderr, " %02x", p->data[i]);         fprintf(stderr, "\n\n");         int i;         fprintf(stderr, ":");         for (i = 0; i < ret; i++) {             if (!(i & 15))                 fprintf(stderr, "\n%04x:", i);             fprintf(stderr, " %02x", p->data[i]);         fprintf(stderr, "\n\n");         int i;         fprintf(stderr, ":");             if (!(i & 15))                 fprintf(stderr, "\n%04x:", i);             fprintf(stderr, " %02x", p->data[i]);         fprintf(stderr, "\n\n");
static int FUNC_0(USBNetState *VAR_0, USBPacket *VAR_1)

{

    int VAR_2 = 8;



    if (VAR_1->len < 8)

        return USB_RET_STALL;



    ((le32 *) VAR_1->data)[0] = cpu_to_le32(1);

    ((le32 *) VAR_1->data)[1] = cpu_to_le32(0);

    if (!VAR_0->rndis_resp.tqh_first)

        VAR_2 = USB_RET_NAK;



#ifdef TRAFFIC_DEBUG

    fprintf(stderr, "usbnet: interrupt poll len %u return %d", VAR_1->len, VAR_2);

    {

        int i;

        fprintf(stderr, ":");

        for (i = 0; i < VAR_2; i++) {

            if (!(i & 15))

                fprintf(stderr, "\n%04x:", i);

            fprintf(stderr, " %02x", VAR_1->data[i]);

        }

        fprintf(stderr, "\n\n");

    }

#endif



    return VAR_2;

}

static int FUNC_0(USBNetState *VAR_0, USBPacket *VAR_1)
{ int VAR_2 = 8; if (VAR_1->len < 8)
return USB_RET_STALL; ((le32 *) VAR_1->data)[0] = cpu_to_le32(1); ((le32 *) VAR_1->data)[1] = cpu_to_le32(0); if (!VAR_0->rndis_resp.tqh_first)
VAR_2 = USB_RET_NAK; #ifdef TRAFFIC_DEBUG
fprintf(stderr, "usbnet: interrupt poll len %u return %d", VAR_1->len, VAR_2); { int i; fprintf(stderr, ":"); for (i = 0; i < VAR_2; i++) { if (!(i & 15))
fprintf(stderr, "\n%04x:", i); fprintf(stderr, " %02x", VAR_1->data[i]); } fprintf(stderr, "\n\n"); } #endif
return VAR_2; }