Searched refs:zbuf (Results 1 – 2 of 2) sorted by relevance
11641 static int cut_gzip_prefix(const uint8_t * zbuf, int len) argument11648 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) argument11672 int data_begin = cut_gzip_prefix(zbuf, len);11682 zlib_stream.next_in = zbuf + data_begin;
17 static int ecore_gunzip(struct bnx2x_softc *sc, const uint8_t *zbuf, int len);