lib/ofpbuf: Remove 'l7' pointer.
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 25 Mar 2014 22:26:23 +0000 (15:26 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 25 Mar 2014 22:26:23 +0000 (15:26 -0700)
commit5a51b2cd3483c6c1719e5ef7091f558d49431351
tree8bfa18f105ebb2e708fbcf814ce44d889efbbe81
parentd8b352b3e111615b0c1961704138748c6a71c204
lib/ofpbuf: Remove 'l7' pointer.

Now that we don't need to parse TCP flags from the packet after
extraction, we usually do not need the 'l7' pointer any more.  When
needed, ofpbuf_get_tcp|udp|sctp|icmp_payload() or ofpbuf_get_l4_size()
can be used instead.

Removal of 'l7' was requested by Pravin for the DPDK datapath work, as
it simplifies packet parsing a bit.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/bfd.c
lib/flow.c
lib/ofp-print.c
lib/ofpbuf.c
lib/ofpbuf.h
lib/packets.c
lib/pcap-file.c