]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/rdma.h
rdma: Add an option to set net namespace of rdma device
[mirror_iproute2.git] / rdma / rdma.h
index 6c7f7d158bfa41486afbb16abd34d45107df2c5f..885a751e61d97e9517505b7752c68e653da453d2 100644 (file)
@@ -70,6 +70,8 @@ struct rd {
        bool pretty_output;
        bool suppress_errors;
        struct list_head filter_list;
+       char *link_name;
+       char *link_type;
 };
 
 struct rd_cmd {
@@ -91,6 +93,7 @@ char *rd_argv(struct rd *rd);
 int cmd_dev(struct rd *rd);
 int cmd_link(struct rd *rd);
 int cmd_res(struct rd *rd);
+int cmd_sys(struct rd *rd);
 int rd_exec_cmd(struct rd *rd, const struct rd_cmd *c, const char *str);
 int rd_exec_dev(struct rd *rd, int (*cb)(struct rd *rd));
 int rd_exec_require_dev(struct rd *rd, int (*cb)(struct rd *rd));