diff options
author | Justin Pettit <jpettit@ovn.org> | 2016-06-17 17:17:58 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@ovn.org> | 2016-07-29 01:07:43 -0700 |
commit | 161879034705849ab0e7d610040519a7f519ea05 (patch) | |
tree | 06b412070557a16b4bf4fe6228521734790fd779 /ofproto | |
parent | b221ff0ddc303e6fdb907d75a9352cf666ae114d (diff) | |
download | openvswitch-161879034705849ab0e7d610040519a7f519ea05.tar.gz |
packets: Cleanup ND compose functions.
Rename "compose_nd" and "compose_na" to "compose_nd_ns" and
"compose_nd_na", respecively, to be clearer about their functionality.
This will also make it more consistent when we add Neighbor Discover
Router Solicitation/Advertisement compose functions.
Also change the source and destination IPv6 addresses to take
"struct in6_addr" arguments, which are more common in the code base.
Signed-off-by: Justin Pettit <jpettit@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto')
-rw-r--r-- | ofproto/ofproto-dpif-xlate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index 0a1e2c4cd..393854e4b 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -2873,7 +2873,7 @@ tnl_send_nd_request(struct xlate_ctx *ctx, const struct xport *out_dev, struct dp_packet packet; dp_packet_init(&packet, 0); - compose_nd(&packet, eth_src, ipv6_src, ipv6_dst); + compose_nd_ns(&packet, eth_src, ipv6_src, ipv6_dst); compose_table_xlate(ctx, out_dev, &packet); dp_packet_uninit(&packet); } |