summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2021-07-27 19:06:57 +0200
committerRalf Baechle <ralf@linux-mips.org>2021-07-27 19:06:57 +0200
commit661eb7d4c40884063e49a556022cbd5d827ce73f (patch)
tree278340885d8d0e2b7c2e01e18e69a7112a863f2b
parent599384db74f3874b5185e64891235ea0805d6b9b (diff)
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 <ralf@linux-mips.org>
-rw-r--r--ax25/ax25.49
1 files changed, 1 insertions, 8 deletions
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