Skip to content

Define ETHERTYPE_{SLOW,LLDP} and accept them in pcap_nametoeproto()#1517

Merged
guyharris merged 1 commit into
the-tcpdump-group:masterfrom
nabijaczleweli:master
Sep 16, 2025
Merged

Define ETHERTYPE_{SLOW,LLDP} and accept them in pcap_nametoeproto()#1517
guyharris merged 1 commit into
the-tcpdump-group:masterfrom
nabijaczleweli:master

Conversation

@nabijaczleweli
Copy link
Copy Markdown
Contributor

@nabijaczleweli nabijaczleweli commented May 21, 2025

Linux has

#define ETH_P_SLOW	0x8809		/* Slow Protocol. See 802.3ad 43B */
#define ETH_P_LLDP	0x88CC		/* Link Layer Discovery Protocol */

for these.

SLOW carries IEEE 802.3 LACP, both defined in annex 57A of 802.3-2018 and LLDP is defined in sexion 79 of the same.

@nabijaczleweli nabijaczleweli force-pushed the master branch 2 times, most recently from 5871d62 to a6ad01a Compare May 21, 2025 17:49
Linux says
	#define ETH_P_SLOW	0x8809		/* Slow Protocol. See 802.3ad 43B */
	#define ETH_P_LLDP	0x88CC		/* Link Layer Discovery Protocol */

SLOW carries IEEE 802.3 LACP, both defined in annex 57A of 802.3-2018:
  https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8457469
and LLDP is defined in sexion 79 of the same.
@guyharris guyharris merged commit 91c707a into the-tcpdump-group:master Sep 16, 2025
20 of 21 checks passed
@fxlb
Copy link
Copy Markdown
Member

fxlb commented Sep 16, 2025

ether proto lldp, 'ether proto \lldp', ether proto slowand 'ether proto \slow' are now valid filters. Thus the pcap-filter man page should be updated, section ether proto protocol.

@nabijaczleweli
Copy link
Copy Markdown
Contributor Author

#1557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants