[glibc] hurd: Add ETH_TLEN and ETH_FCS_LEN
Samuel Thibault via Glibc-cvs <[email protected]> Tue, 16 Jun 2026 23:27:22 +0000 (GMT)
| Newsgroups | gmane.comp.lib.glibc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=89b4605be88a10256a41f010a636df5d2b0fe2bd commit 89b4605be88a10256a41f010a636df5d2b0fe2bd Author: Samuel Thibault <[email protected]> Date: Wed Jun 17 01:25:49 2026 +0200 hurd: Add ETH_TLEN and ETH_FCS_LEN Diff: --- sysdeps/mach/hurd/net/if_ether.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/mach/hurd/net/if_ether.h b/sysdeps/mach/hurd/net/if_ether.h index 88b8d03f35..7709012556 100644 --- a/sysdeps/mach/hurd/net/if_ether.h +++ b/sysdeps/mach/hurd/net/if_ether.h @@ -24,10 +24,12 @@ */ #define ETH_ALEN 6 /* Octets in one ethernet addr */ +#define ETH_TLEN 2 /* Octets in ethernet type field */ #define ETH_HLEN 14 /* Total octets in header. */ #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ #define ETH_DATA_LEN 1500 /* Max. octets in payload */ #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ +#define ETH_FCS_LEN 4 /* Octets in the FCS */ /* * These are the defined Ethernet Protocol ID's.