summaryrefslogtreecommitdiffhomepage
path: root/README.rst
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2013-07-01 14:53:33 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-07-02 01:19:27 +0900
commit3837a84eec0206e2a679c9820ddf65ee6f5bfedd (patch)
treeeef232bf9caed486d44032886311d8da073a7e13 /README.rst
parent3679d7facc57ebfc59f78fd34e163c3a6189aba9 (diff)
lib/packet: teach packet library to truncate padding octet
The patch teaches packet library to truncate padding octets. Change packet_base.parser() to return (header, next_type, rest_of_packet) The protocol class that knows its payload length should rest_of_packet where padding octets at the last of packet is truncated. As bonus, - fix ipv6 parser as ipv6 header doesn't have options. It seems copy-and-paste from ipv4 - improve ipv4, tcp a bit Cc: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Cc: Shaun Crampton <Shaun.Crampton@metaswitch.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions