diff options
author | William Tu <u9012063@gmail.com> | 2018-03-09 13:02:23 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-05-21 20:33:30 -0700 |
commit | 754f8acb458532108c93eeb123481fc036c96073 (patch) | |
tree | 3fcc8041c01c54c97f99435af35d557f29315fc0 /lib/netdev-provider.h | |
parent | 320326e9b33aeac9c0d6250c4d1c3ad6df471514 (diff) | |
download | openvswitch-754f8acb458532108c93eeb123481fc036c96073.tar.gz |
netdev-native-tnl: refactor the tunnel push header.
The patch adds additional 'struct netdev *' to the
native tunnel's push_header() interface. This is used
for later GRE sequence number support.
Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/netdev-provider.h')
-rw-r--r-- | lib/netdev-provider.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index 6e8ae4f42..5503b79c7 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -314,7 +314,8 @@ struct netdev_class { * flow. Push header is called for packet to build header specific to * a packet on actual transmit. It uses partial header build by * build_header() which is passed as data. */ - void (*push_header)(struct dp_packet *packet, + void (*push_header)(const struct netdev *, + struct dp_packet *packet, const struct ovs_action_push_tnl *data); /* Pop tunnel header from packet, build tunnel metadata and resize packet |