aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-05-03 12:03:24 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-05-04 10:09:47 +0200
commit582ff8ca7c2c49abcb3c81841853960c608e32ec (patch)
tree6da720c685a1a67ec65c94ee73ec4822cc885619
parent62462978fe637c31c68222e0e7faae6f227c2d2f (diff)
downloadman-pages-582ff8ca7c2c49abcb3c81841853960c608e32ec.tar.gz
raw.7: Mention sendto(), recvfrom(), and so on when discussing address format
This gives the reader a little context for the following discussion of 'sin_port'. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/raw.76
1 files changed, 5 insertions, 1 deletions
diff --git a/man7/raw.7 b/man7/raw.7
index 652f7c6ba7..c2a9677f33 100644
--- a/man7/raw.7
+++ b/man7/raw.7
@@ -91,7 +91,11 @@ When a packet is received, it is passed to any raw sockets which have
been bound to its protocol before it is passed to other protocol handlers
(e.g., kernel protocol modules).
.SS Address format
-Raw sockets use the standard
+For sending and receiving datagrams
+.RB ( sendto (2),
+.BR recvfrom (2),
+and similar),
+raw sockets use the standard
.I sockaddr_in
address structure defined in
.BR ip (7).