aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address.h
diff options
context:
space:
mode:
authorJorge Mora <jmora1300@gmail.com>2021-08-25 14:15:39 -0600
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-08-31 08:14:31 +0000
commit981ec7f3c7740c4b41eb072be0408c1df870dc05 (patch)
treee801a54af8bfe7af399b27a0fc28e542d61d5541 /epan/address.h
parente446bbc3e725fbe4c4ba392065be646a64ae45c5 (diff)
iwarp_mpa: fix iWarp MPA for NFS-over-RDMA
On the first packet of the conversation, the MPA layer is dissected correctly followed by the DDP, RDMAP, RPC-over-RDMA, RPC and NFS layers. The MPA layer sets the TCP conversation as MPA protocol but when it dissects the RPC layer it also sets the TCP conversation as RPC protocol thus overwriting the previous protocol. Added new port type PT_IWARP_MPA so that when the RPC layer is dissected it does not overwrite the default protocol for the TCP conversation which has already been set to MPA. Fixes #15869.
Diffstat (limited to 'epan/address.h')
-rw-r--r--epan/address.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/address.h b/epan/address.h
index 993bdb4566..24f8470233 100644
--- a/epan/address.h
+++ b/epan/address.h
@@ -357,7 +357,8 @@ typedef enum {
PT_USB, /* USB endpoint 0xffff means the host */
PT_I2C,
PT_IBQP, /* Infiniband QP number */
- PT_BLUETOOTH
+ PT_BLUETOOTH,
+ PT_IWARP_MPA /* iWarp MPA */
} port_type;
#ifdef __cplusplus