tag | line | file | source code |
icp | 220 | drivers/net/slhc.c | slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, |
icp | 234 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
icp | 453 | drivers/net/slhc.c | DPRINT(("comp: %x %x %x %d %d\n", icp, cp, new_seq, hlen, deltaS)); |
icp | 455 | drivers/net/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
icp | 473 | drivers/net/slhc.c | memcpy(ocp, icp, isize); |
icp | 482 | drivers/net/slhc.c | slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 490 | drivers/net/slhc.c | unsigned char *cp = icp; |
icp | 602 | drivers/net/slhc.c | len = isize - (cp - icp); |
icp | 609 | drivers/net/slhc.c | DPRINT(("uncomp: %d %d %d %d\n", cp - icp, hdrlen, isize, len)); |
icp | 611 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
icp | 613 | drivers/net/slhc.c | cp = icp; |
icp | 622 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_csum((struct iphdr*)icp); |
icp | 641 | drivers/net/slhc.c | slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 656 | drivers/net/slhc.c | ip_len = (icp[0] & 0xf) << 2; |
icp | 662 | drivers/net/slhc.c | index = icp[9]; |
icp | 663 | drivers/net/slhc.c | icp[9] = IPPROTO_TCP; |
icp | 664 | 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 | 445 | drivers/net/slip.c | sl_encaps(struct slip *sl, unsigned char *icp, int len) |
icp | 450 | drivers/net/slip.c | DPRINTF((DBG_SLIP, "SLIP: sl_encaps(0x%X, %d) called\n", icp, len)); |
icp | 453 | drivers/net/slip.c | ip_dump(icp, len); |
icp | 464 | drivers/net/slip.c | p = icp; |