tag | line | file | source code |
icp | 240 | drivers/net/slhc.c | slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, |
icp | 254 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
icp | 465 | drivers/net/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
icp | 483 | drivers/net/slhc.c | memcpy(ocp, icp, isize); |
icp | 492 | drivers/net/slhc.c | slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 500 | drivers/net/slhc.c | unsigned char *cp = icp; |
icp | 604 | drivers/net/slhc.c | len = isize - (cp - icp); |
icp | 611 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
icp | 613 | drivers/net/slhc.c | cp = icp; |
icp | 623 | drivers/net/slhc.c | stw_u(ip_fast_csum(icp, ip->ihl), &((struct iphdr *)icp)->check); |
icp | 625 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_fast_csum(icp, ((struct iphdr*)icp)->ihl); |
icp | 644 | drivers/net/slhc.c | slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 657 | drivers/net/slhc.c | ihl = icp[0] & 0xf; |
icp | 663 | drivers/net/slhc.c | index = icp[9]; |
icp | 664 | drivers/net/slhc.c | icp[9] = IPPROTO_TCP; |
icp | 666 | drivers/net/slhc.c | if (ip_fast_csum(icp, ihl)) { |
icp | 679 | drivers/net/slhc.c | memcpy(&cs->cs_ip,icp,20); |
icp | 680 | drivers/net/slhc.c | memcpy(&cs->cs_tcp,icp + ihl*4,20); |
icp | 682 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, icp + sizeof(struct iphdr), (ihl - 5) * 4); |
icp | 684 | 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 | 402 | drivers/net/slip.c | sl_encaps(struct slip *sl, unsigned char *icp, int len) |
icp | 424 | drivers/net/slip.c | p = icp; |