Lines Matching refs:isize
227 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, in slhc_compress() argument
247 if(isize<sizeof(struct iphdr)) in slhc_compress()
248 return isize; in slhc_compress()
252 return isize; in slhc_compress()
261 return isize; in slhc_compress()
264 if (isize < nlen + sizeof(*th)) in slhc_compress()
265 return isize; in slhc_compress()
269 return isize; in slhc_compress()
276 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
280 return isize; in slhc_compress()
466 memcpy(cp+deltaS,icp+hlen,isize-hlen); in slhc_compress()
469 return isize - hlen + deltaS + (cp - ocp); in slhc_compress()
484 memcpy(ocp, icp, isize); in slhc_compress()
488 return isize; in slhc_compress()
493 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) in slhc_uncompress() argument
505 if(isize < 3){ in slhc_uncompress()
607 len = isize - (cp - icp); in slhc_uncompress()
644 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) in slhc_remember() argument
651 if(isize < 20) { in slhc_remember()
691 return isize; in slhc_remember()
713 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) in slhc_uncompress() argument
719 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, in slhc_compress() argument
727 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) in slhc_remember() argument