Home
last modified time | relevance | path

Searched refs:zbuf (Results 1 – 2 of 2) sorted by relevance

/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c11641 static int cut_gzip_prefix(const uint8_t * zbuf, int len) argument
11648 if (!(zbuf[0] == 0x1f && zbuf[1] == 0x8b && zbuf[2] == Z_DEFLATED) ||
11654 if (zbuf[3] & 0x4) {
11655 xlen = zbuf[13];
11657 xlen += zbuf[12];
11662 if (zbuf[3] & 0x8) {
11663 while ((zbuf[n++] != 0) && (n < len)) ;
11669 static int ecore_gunzip(struct bnx2x_softc *sc, const uint8_t * zbuf, int len) argument
11672 int data_begin = cut_gzip_prefix(zbuf, len);
11682 zlib_stream.next_in = zbuf + data_begin;
H A Decore_init_ops.h17 static int ecore_gunzip(struct bnx2x_softc *sc, const uint8_t *zbuf, int len);