tag | line | file | source code |
icp | 214 | drivers/net/slhc.c | slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, |
icp | 228 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
icp | 447 | drivers/net/slhc.c | DPRINT(("comp: %x %x %x %d %d\n", icp, cp, new_seq, hlen, deltaS)); |
icp | 449 | drivers/net/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
icp | 467 | drivers/net/slhc.c | memcpy(ocp, icp, isize); |
icp | 476 | drivers/net/slhc.c | slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 484 | drivers/net/slhc.c | unsigned char *cp = icp; |
icp | 596 | drivers/net/slhc.c | len = isize - (cp - icp); |
icp | 603 | drivers/net/slhc.c | DPRINT(("uncomp: %d %d %d %d\n", cp - icp, hdrlen, isize, len)); |
icp | 605 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
icp | 607 | drivers/net/slhc.c | cp = icp; |
icp | 616 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_csum((struct iphdr*)icp); |
icp | 635 | drivers/net/slhc.c | slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 650 | drivers/net/slhc.c | ip_len = (icp[0] & 0xf) << 2; |
icp | 656 | drivers/net/slhc.c | index = icp[9]; |
icp | 657 | drivers/net/slhc.c | icp[9] = IPPROTO_TCP; |
icp | 658 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
icp | 175 | drivers/net/slhc.h | int slhc_compress __ARGS((struct slcompress *comp, unsigned char *icp, |
icp | 178 | drivers/net/slhc.h | int slhc_uncompress __ARGS((struct slcompress *comp, unsigned char *icp, |
icp | 180 | drivers/net/slhc.h | int slhc_remember __ARGS((struct slcompress *comp, unsigned char *icp, |
icp | 413 | drivers/net/slip.c | sl_encaps(struct slip *sl, unsigned char *icp, int len) |
icp | 418 | drivers/net/slip.c | DPRINTF((DBG_SLIP, "SLIP: sl_encaps(0x%X, %d) called\n", icp, len)); |
icp | 421 | drivers/net/slip.c | ip_dump(icp, len); |
icp | 432 | drivers/net/slip.c | p = icp; |