tag | line | file | source code |
icp | 246 | drivers/net/slhc.c | slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, |
icp | 260 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
icp | 471 | drivers/net/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
icp | 489 | drivers/net/slhc.c | memcpy(ocp, icp, isize); |
icp | 498 | drivers/net/slhc.c | slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 506 | drivers/net/slhc.c | unsigned char *cp = icp; |
icp | 610 | drivers/net/slhc.c | len = isize - (cp - icp); |
icp | 617 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
icp | 619 | drivers/net/slhc.c | cp = icp; |
icp | 629 | drivers/net/slhc.c | stw_u(ip_fast_csum(icp, ip->ihl), &((struct iphdr *)icp)->check); |
icp | 631 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_fast_csum(icp, ((struct iphdr*)icp)->ihl); |
icp | 650 | drivers/net/slhc.c | slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 663 | drivers/net/slhc.c | ihl = icp[0] & 0xf; |
icp | 669 | drivers/net/slhc.c | index = icp[9]; |
icp | 670 | drivers/net/slhc.c | icp[9] = IPPROTO_TCP; |
icp | 672 | drivers/net/slhc.c | if (ip_fast_csum(icp, ihl)) { |
icp | 685 | drivers/net/slhc.c | memcpy(&cs->cs_ip,icp,20); |
icp | 686 | drivers/net/slhc.c | memcpy(&cs->cs_tcp,icp + ihl*4,20); |
icp | 688 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, icp + sizeof(struct iphdr), (ihl - 5) * 4); |
icp | 690 | drivers/net/slhc.c | memcpy(cs->cs_tcpopt, icp + ihl*4 + sizeof(struct tcphdr), (cs->cs_tcp.doff - 5) * 4); |
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 | 398 | drivers/net/slip.c | sl_encaps(struct slip *sl, unsigned char *icp, int len) |
icp | 420 | drivers/net/slip.c | p = icp; |