]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/rdma.h
Merge git://git.kernel.org/pub/scm/network/iproute2/iproute2-next into main
[mirror_iproute2.git] / rdma / rdma.h
index 735b1bf7c9f667fa2ad74e3ee5c676b323418655..fc8bcf09274d09ce466d01027abc6b160fc2c2a1 100644 (file)
@@ -39,7 +39,7 @@ struct filter_entry {
        char *key;
        char *value;
        /*
-        * This field menas that we can try to issue .doit calback
+        * This field means that we can try to issue .doit calback
         * on value above. This value can be converted to integer
         * with simple atoi(). Otherwise "is_doit" will be false.
         */
@@ -57,8 +57,9 @@ struct rd {
        int argc;
        char **argv;
        char *filename;
-       bool show_details;
-       bool show_driver_details;
+       uint8_t show_details:1;
+       uint8_t show_driver_details:1;
+       uint8_t show_raw:1;
        struct list_head dev_map_list;
        uint32_t dev_idx;
        uint32_t port_idx;
@@ -134,9 +135,10 @@ int rd_attr_check(const struct nlattr *attr, int *typep);
  * Print helpers
  */
 void print_driver_table(struct rd *rd, struct nlattr *tb);
+void print_raw_data(struct rd *rd, struct nlattr **nla_line);
 void newline(struct rd *rd);
 void newline_indent(struct rd *rd);
-void print_on_off(struct rd *rd, const char *key_str, bool on);
+void print_raw_data(struct rd *rd, struct nlattr **nla_line);
 #define MAX_LINE_LENGTH 80
 
 #endif /* _RDMA_TOOL_H_ */