Home
last modified time | relevance | path

Searched refs:cs_ip (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/slip/
Dslhc.c297 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()
[all …]
/linux-5.19.10/include/net/
Dslhc_vj.h132 struct iphdr cs_ip; /* ip/tcp hdr from most recent packet */ member