flow_netlink.c (ecd740c6f2f092b90b95fa35f757973589eaaca2) flow_netlink.c (7085130bab2f9c5b8d61bff73b01dc8195d0f974)
1/*
2 * Copyright (c) 2007-2013 Nicira, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

--- 614 unchanged lines hidden (view full) ---

623 ipv6_key->ipv6_dst,
624 sizeof(match->key->ipv6.addr.dst),
625 is_mask);
626
627 attrs &= ~(1 << OVS_KEY_ATTR_IPV6);
628
629 if (is_mask && exact_5tuple && *exact_5tuple) {
630 if (ipv6_key->ipv6_proto != 0xff ||
1/*
2 * Copyright (c) 2007-2013 Nicira, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of version 2 of the GNU General Public
6 * License as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but

--- 614 unchanged lines hidden (view full) ---

623 ipv6_key->ipv6_dst,
624 sizeof(match->key->ipv6.addr.dst),
625 is_mask);
626
627 attrs &= ~(1 << OVS_KEY_ATTR_IPV6);
628
629 if (is_mask && exact_5tuple && *exact_5tuple) {
630 if (ipv6_key->ipv6_proto != 0xff ||
631 !is_all_set((u8 *)ipv6_key->ipv6_src, sizeof(match->key->ipv6.addr.src)) ||
632 !is_all_set((u8 *)ipv6_key->ipv6_dst, sizeof(match->key->ipv6.addr.dst)))
631 !is_all_set((const u8 *)ipv6_key->ipv6_src,
632 sizeof(match->key->ipv6.addr.src)) ||
633 !is_all_set((const u8 *)ipv6_key->ipv6_dst,
634 sizeof(match->key->ipv6.addr.dst)))
633 *exact_5tuple = false;
634 }
635 }
636
637 if (attrs & (1 << OVS_KEY_ATTR_ARP)) {
638 const struct ovs_key_arp *arp_key;
639
640 arp_key = nla_data(a[OVS_KEY_ATTR_ARP]);

--- 1030 unchanged lines hidden ---
635 *exact_5tuple = false;
636 }
637 }
638
639 if (attrs & (1 << OVS_KEY_ATTR_ARP)) {
640 const struct ovs_key_arp *arp_key;
641
642 arp_key = nla_data(a[OVS_KEY_ATTR_ARP]);

--- 1030 unchanged lines hidden ---