gre: Use struct for parsing GRE header.
authorJesse Gross <jesse@nicira.com>
Thu, 15 Jul 2010 01:45:45 +0000 (18:45 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 15 Jul 2010 22:09:08 +0000 (15:09 -0700)
commit27b6cec086eebdd34bc8526901ea6b2a52119f17
tree7b44a008d2bf5def0e6af236c73cc8d2d0043aab
parent2848cb494620a13a64a3f862380d709c5977cecb
gre: Use struct for parsing GRE header.

GRE is a somewhat annoying protocol because the header is variable
length.  However, it does have a few fields that are always present
so we can make the parsing seem less magical by using a struct for
those fields instead of building it up field by field.
datapath/vport-gre.c