commit | d531050b7bf0f93d4d29a7a2f7b745641778b483 | [log] [tgz] |
---|---|---|
author | Subbaiah Venkata <svenkata@google.com> | Sat Mar 24 13:10:19 2012 -0700 |
committer | Avneesh Sachdev <avneesh@opensourcerouting.org> | Sat Apr 07 13:53:40 2012 -0700 |
tree | 82e45741fa3883f6e25a38f2abef4eea107fd54f | |
parent | bed930fd70742af5ae138e0a5ee629dda296ea36 [diff] |
lib: add stream_set_endp() * lib/stream.[ch]: - Add stream_set_endp(). This can be used to trim data (for example, padding) at the end of a stream. - Fix swapped 'getp' and 'endp' parameters in STREAM_WARN_OFFSETS. From: Subbaiah Venkata <svenkata@google.com> Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org> Signed-off-by: David Lamparter <equinox@diac24.net>