openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/nbd/3.19-r0/nbd-3.19/nbd-server.c
static inline void consume_len(CLIENT* c)
{
    uint32_t len;
    char buf[1024];

    socket_read(c, &len, sizeof(len));
    len = ntohl(len);
    consume(c, len, buf, sizeof(buf));
}
/**
 * Consume a length field and corresponding payload that we don't want
 *
 * @param c the client to read from
 **/
Consume a length field and corresponding payload that we don't want
@param c the client to read from
Consume a length field and corresponding payload that we don ' t want @param c the client to read from
static inline void consume_len(CLIENT* c)
{
    uint32_t len;
    char buf[1024];
    socket_read(c, &len, sizeof(len));
    len = ntohl(len);
    consume(c, len, buf, sizeof(buf));
}
static inline void consume_len ( CLIENT * c ) { uint32_t len ; char buf [ 1024 ] ; socket_read ( c , & len , sizeof ( len ) ) ; len = ntohl ( len ) ; consume ( c , len , buf , sizeof ( buf ) ) ; }
Consume a length field and corresponding payload that we don't want
 @param c the client to read from
Consume a length field and corresponding payload that we don ' t want @param c the client to read from