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 | 622 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_fast_csum(icp, ((struct iphdr*)icp)->ihl); |
icp | 640 | drivers/net/slhc.c | slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) |
icp | 653 | drivers/net/slhc.c | ihl = icp[0] & 0xf; |
icp | 659 | drivers/net/slhc.c | index = icp[9]; |
icp | 660 | drivers/net/slhc.c | icp[9] = IPPROTO_TCP; |
icp | 662 | drivers/net/slhc.c | if (ip_fast_csum(icp, ihl)) { |
icp | 675 | drivers/net/slhc.c | memcpy(&cs->cs_ip,icp,20); |
icp | 676 | drivers/net/slhc.c | memcpy(&cs->cs_tcp,icp + ihl*4,20); |
icp | 678 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, icp + sizeof(struct iphdr), (ihl - 5) * 4); |
icp | 680 | 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 | 336 | drivers/net/slip.c | sl_encaps(struct slip *sl, unsigned char *icp, int len) |
icp | 358 | drivers/net/slip.c | p = icp; |