Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dslcompress.c183 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || in sl_compress_tcp()
184 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || in sl_compress_tcp()
185 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { in sl_compress_tcp()
204 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr in sl_compress_tcp()
205 && ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr in sl_compress_tcp()
207 ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) in sl_compress_tcp()
251 oth = (struct tcphdr *)&((int32_t *)&cs->cs_ip)[hlen]; in sl_compress_tcp()
258 if (((u_int16_t *)ip)[0] != ((u_int16_t *)&cs->cs_ip)[0] || in sl_compress_tcp()
259 ((u_int16_t *)ip)[3] != ((u_int16_t *)&cs->cs_ip)[3] || in sl_compress_tcp()
260 ((u_int16_t *)ip)[4] != ((u_int16_t *)&cs->cs_ip)[4] || in sl_compress_tcp()
[all …]
H A Dslcompress.h124 #define cs_ip slcs_u.csu_ip macro
/freebsd/usr.sbin/ppp/
H A Dslcompress.c196 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || in sl_compress_tcp()
197 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || in sl_compress_tcp()
198 *(int *) th != ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) { in sl_compress_tcp()
217 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr in sl_compress_tcp()
218 && ip->ip_dst.s_addr == cs->cs_ip.ip_dst.s_addr in sl_compress_tcp()
219 && *(int *) th == ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) in sl_compress_tcp()
263 oth = (struct tcphdr *) & ((int *) &cs->cs_ip)[hlen]; in sl_compress_tcp()
270 if (((u_short *) ip)[0] != ((u_short *) & cs->cs_ip)[0] || in sl_compress_tcp()
271 ((u_short *) ip)[3] != ((u_short *) & cs->cs_ip)[3] || in sl_compress_tcp()
272 ((u_short *) ip)[4] != ((u_short *) & cs->cs_ip)[4] || in sl_compress_tcp()
[all …]
H A Dslcompress.h123 #define cs_ip slcs_u.csu_ip macro