Lines Matching refs:cs_ip
297 if( ip->saddr == cs->cs_ip.saddr in slhc_compress()
298 && ip->daddr == cs->cs_ip.daddr in slhc_compress()
353 if(ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl in slhc_compress()
354 || ip->tos != cs->cs_ip.tos in slhc_compress()
355 || (ip->frag_off & htons(0x4000)) != (cs->cs_ip.frag_off & htons(0x4000)) in slhc_compress()
356 || ip->ttl != cs->cs_ip.ttl in slhc_compress()
405 if(ip->tot_len != cs->cs_ip.tot_len && in slhc_compress()
406 ntohs(cs->cs_ip.tot_len) == hlen) in slhc_compress()
417 deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ in slhc_compress()
424 if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ in slhc_compress()
431 deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); in slhc_compress()
442 memcpy(&cs->cs_ip,ip,20); in slhc_compress()
476 memcpy(&cs->cs_ip,ip,20); in slhc_compress()
535 ip = &cs->cs_ip; in slhc_uncompress()
679 memcpy(&cs->cs_ip,icp,20); in slhc_remember()