From 0af01312fda5f399741f9dce2d4510ccc165f21d Mon Sep 17 00:00:00 2001 From: guoshichao Date: Thu, 12 Dec 2024 14:48:50 +0800 Subject: [PATCH] sys/socket: add SOL_PACKET packet operation type definition Signed-off-by: guoshichao --- include/sys/socket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sys/socket.h b/include/sys/socket.h index a727d5a727..05a6d38355 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -242,6 +242,8 @@ #define SOL_SCO 17 /* See options in include/netpacket/bluetooth.h */ #define SOL_RFCOMM 18 /* See options in include/netpacket/bluetooth.h */ +#define SOL_PACKET 19 + /* Protocol-level socket options may begin with this value */ #define __SO_PROTOCOL 16