Skip to content

Commit 4f99ad5

Browse files
Antonio Quartullidavem330
authored andcommitted
if_ether.h: add B.A.T.M.A.N.-Advanced Ethertype
Add Ethertype 0x4305 (not an officially registered id). This Ethertype is used by every frame generated by B.A.T.M.A.N.-Advanced. Its definition is currently batman-adv local only and since it is not officially registered it is better to make its definition kernel-wide so that we avoid collisions given by future unofficial uses of the same Ethertype. Signed-off-by: Antonio Quartulli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4d44a9a commit 4f99ad5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/if_ether.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#define ETH_P_BPQ 0x08FF /* G8BPQ AX.25 Ethernet Packet [ NOT AN OFFICIALLY REGISTERED ID ] */
4949
#define ETH_P_IEEEPUP 0x0a00 /* Xerox IEEE802.3 PUP packet */
5050
#define ETH_P_IEEEPUPAT 0x0a01 /* Xerox IEEE802.3 PUP Addr Trans packet */
51+
#define ETH_P_BATMAN 0x4305 /* B.A.T.M.A.N.-Advanced packet [ NOT AN OFFICIALLY REGISTERED ID ] */
5152
#define ETH_P_DEC 0x6000 /* DEC Assigned proto */
5253
#define ETH_P_DNA_DL 0x6001 /* DEC DNA Dump/Load */
5354
#define ETH_P_DNA_RC 0x6002 /* DEC DNA Remote Console */

0 commit comments

Comments
 (0)