tcpdump mailing list archives

Re: Request to add MCTP and PCI_DOE to PCAP link type


From: "Yao, Jiewen via tcpdump-workers" <tcpdump-workers () lists tcpdump org>
Date: Thu, 28 Jan 2021 00:13:35 +0000

--- Begin Message --- From: "Yao, Jiewen" <jiewen.yao () intel com>
Date: Thu, 28 Jan 2021 00:13:35 +0000
Thanks for the reminder.

I have updated the code to use 291/292.

I also created a pull-request https://github.com/the-tcpdump-group/libpcap/pull/990

Thank you
Yao Jiewen

-----Original Message-----
From: Guy Harris <gharris () sonic net>
Sent: Thursday, January 28, 2021 6:54 AM
To: Yao, Jiewen <jiewen.yao () intel com>
Cc: tcpdump-workers () lists tcpdump org
Subject: Re: [tcpdump-workers] Request to add MCTP and PCI_DOE to PCAP link
type

On Dec 16, 2020, at 8:09 PM, Yao, Jiewen via tcpdump-workers <tcpdump-
workers () lists tcpdump org> wrote:

We did a prototype for the SpdmDump tool
(https://github.com/jyao1/openspdm/blob/master/Doc/SpdmDump.md). We
can generate a PCAP file and parse it offline.
In our prototype, we use below definition:
#define LINKTYPE_MCTP      290  // 0x0122
#define LINKTYPE_PCI_DOE   291  // 0x0123
If you can assign same number, it will be great.
If different number is assigned, we will change our implementation accordingly.

Different numbers will definitely be assigned, as 290 is already in use (in
Wireshark, for example).  (Not everything was updated to reflect that; I've fixed
that.)

You will probably be assigned 291 for LINKTYPE_MCTP and 292 for
LINKTYPE_PCI_DOE; you should update your prototype for that for now.

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: