summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-10-29 17:00:18 +0000
committerarchie <archie@FreeBSD.org>1999-10-29 17:00:18 +0000
commit91b7df94a850b2ae9c34050d19bcfb37ae1966ba (patch)
tree77109cfa4773e8972c2ff04908f037a6d42acf0e /sys/net
parentbd0d380ff0d95ebdcddce224c44cc8df52f811eb (diff)
downloadFreeBSD-src-91b7df94a850b2ae9c34050d19bcfb37ae1966ba.zip
FreeBSD-src-91b7df94a850b2ae9c34050d19bcfb37ae1966ba.tar.gz
Add a comment before sl_compress_tcp() regarding mbuf assumptions.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/slcompress.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/slcompress.c b/sys/net/slcompress.c
index f878bf5..ca77222 100644
--- a/sys/net/slcompress.c
+++ b/sys/net/slcompress.c
@@ -147,6 +147,10 @@ sl_compress_init(comp, max_state)
} \
}
+/*
+ * Attempt to compress a TCP packet. This function assumes that the
+ * complete IP+TCP headers have been pulled up into the first mbuf.
+ */
u_int
sl_compress_tcp(m, ip, comp, compress_cid)
struct mbuf *m;
OpenPOWER on IntegriCloud