+ private static Capabilities createCapabilities(long input) {\r
+ final Boolean FLOW_STATS = (input & (1 << 0)) != 0;\r
+ final Boolean TABLE_STATS = (input & (1 << 1)) != 0;\r
+ final Boolean PORT_STATS = (input & (1 << 2)) != 0;\r
+ final Boolean GROUP_STATS = (input & (1 << 3)) != 0;\r
+ final Boolean IP_REASM = (input & (1 << 5)) != 0;\r
+ final Boolean QUEUE_STATS = (input & (1 << 6)) != 0;\r
+ final Boolean PORT_BLOCKED = (input & (1 << 8)) != 0;\r
+ return new Capabilities(FLOW_STATS, GROUP_STATS, IP_REASM,\r
+ PORT_BLOCKED, PORT_STATS, QUEUE_STATS, TABLE_STATS);\r
+ }\r
+\r