static int pcnet_can_receive(void *opaque)

{

    PCNetState *s = opaque;

    if (CSR_STOP(s) || CSR_SPND(s))

        return 0;



    if (s->recv_pos > 0)

        return 0;



    return sizeof(s->buffer)-16;

}

static int pcnet_can_receive(void *opaque)

{

    PCNetState *s = opaque;

    if (CSR_STOP(s) || CSR_SPND(s))

        return 0;



    if (s->recv_pos > 0)

        return 0;



    return sizeof(s->buffer)-16;

}

static int FUNC_0(void *VAR_0)

{

    PCNetState *s = VAR_0;

    if (CSR_STOP(s) || CSR_SPND(s))

        return 0;



    if (s->recv_pos > 0)

        return 0;



    return sizeof(s->buffer)-16;

}

static int FUNC_0(void *VAR_0)
{ PCNetState *s = VAR_0; if (CSR_STOP(s) || CSR_SPND(s))
return 0; if (s->recv_pos > 0)
return 0; return sizeof(s->buffer)-16; }