X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fflow.h;h=5c232791ada53e96b846f0ca9c45daf7cf195e3b;hb=b0387df4e0ac796af05765834bb6e7750b8b6ae6;hp=a40073a0b67a7ec65842ff2bdce2bf9e09aab7aa;hpb=18c43631587c68bcd8ce82fcdd6b27ed3d998071;p=openvswitch diff --git a/datapath/flow.h b/datapath/flow.h index a40073a0..5c232791 100644 --- a/datapath/flow.h +++ b/datapath/flow.h @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -37,11 +38,11 @@ struct sw_flow_key { __be32 ipv4_dst; /* IPv4 destination address. */ }; struct { - __be32 ipv6_src[4]; /* IPv6 source address. */ - __be32 ipv6_dst[4]; /* IPv6 source address. */ + struct in6_addr ipv6_src; /* IPv6 source address. */ + struct in6_addr ipv6_dst; /* IPv6 source address. */ }; }; - __be32 nd_target[4]; /* IPv6 ND target address. */ + struct in6_addr nd_target; /* IPv6 ND target address. */ u16 in_port; /* Input switch port. */ __be16 dl_tci; /* 0 if no VLAN, VLAN_TAG_PRESENT set otherwise. */ __be16 dl_type; /* Ethernet frame type. */