summaryrefslogtreecommitdiff
path: root/net/mctp/test/utils.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2025-07-10 16:56:00 +0800
committerPaolo Abeni <pabeni@redhat.com>2025-07-15 12:08:39 +0200
commitb7e28129b667dede890bc7bd340a77e325df156a (patch)
treeb57a2102e15990b3eb13522dbb3378e627ec9e72 /net/mctp/test/utils.h
parent3549eb08e5505823857838b5cf5f08567702d054 (diff)
net: mctp: Test conflicts of connect() with bind()
The addition of connect() adds new conflict cases to test. Signed-off-by: Matt Johnston <matt@codeconstruct.com.au> Link: https://patch.msgid.link/20250710-mctp-bind-v4-7-8ec2f6460c56@codeconstruct.com.au Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/mctp/test/utils.h')
-rw-r--r--net/mctp/test/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mctp/test/utils.h b/net/mctp/test/utils.h
index 7dd1a92ab770..c2aaba5188ab 100644
--- a/net/mctp/test/utils.h
+++ b/net/mctp/test/utils.h
@@ -35,6 +35,10 @@ struct mctp_test_bind_setup {
mctp_eid_t bind_addr;
int bind_net;
u8 bind_type;
+
+ bool have_peer;
+ mctp_eid_t peer_addr;
+ int peer_net;
};
struct mctp_test_dev *mctp_test_create_dev(void);