From 661eb7d4c40884063e49a556022cbd5d827ce73f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 27 Jul 2021 19:06:57 +0200 Subject: ax25.4: Remove recommendation for PF_INET, SOCK_PACKET sockets. The practice results in a kernel warning since Linux 2.1.68 which was released on 1997-11-30 and is deprecated for even longer so maybe, just maybe we should stop recommending it. Use socket(PF_SOCKET, SOCK_RAW, ...) instead, see packet(7). Signed-off-by: Ralf Baechle --- ax25/ax25.4 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'ax25/ax25.4') diff --git a/ax25/ax25.4 b/ax25/ax25.4 index 73a9a98..44555c9 100644 --- a/ax25/ax25.4 +++ b/ax25/ax25.4 @@ -26,14 +26,7 @@ frames. Passing 0 causes the normal AX.25 Text PID to be used. .LP .B SOCK_DGRAM gives access to AX.25 UI frames. For access to special frames (of -any form) SOCK_RAW can be used. There is no -.B SOCK_PACKET -support under AX.25. -Instead an -.B AF_INET -socket of type -.B SOCK_PACKET -should be used. +any form) SOCK_RAW can be used. .LP AX.25 addresses consist of 6 ascii characters and a number called the SSID. These are encoded into a sockaddr_ax25 structure which is provided to the -- cgit v1.2.3