3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Netatalk 2.1
7 .\" Source: Netatalk 2.1
10 .TH "ATALK" "4" "17 Dec 1991" "Netatalk 2.1" "Netatalk 2.1"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 atalk \- AppleTalk protocol family
27 #include <sys/types\&.h>
28 #include <netatalk/at\&.h>
33 The AppleTalk protocol family is a collection of protocols layered above the Datagram Delivery Protocol (DDP), and using AppleTalk address format\&. The AppleTalk family may provide SOCK_STREAM (ADSP), SOCK_DGRAM (DDP), SOCK_RDM (ATP), and SOCK_SEQPACKET (ASP)\&. Currently, only DDP is implemented in the kernel; ATP and ASP are implemented in user level libraries; and ADSP is planned\&.
36 AppleTalk addresses are three byte quantities, stored in network byte order\&. The include file <\fBnetatalk/at\&.h\fR> defines the AppleTalk address format\&.
38 Sockets in the AppleTalk protocol family use the following address structure:
47 struct at_addr sat_addr;
55 The port of a socket may be set with
56 \fBbind\fR(2)\&. The node for
59 \fBATADDR_ANYNODE\fR: ``this node\&.\'\' The net may be
62 \fBATADDR_LATENET\fR\&.
64 coresponds to the machine\'s ``primary\'\' address (the first configured)\&.
66 causes the address in outgoing packets to be determined when a packet is sent, i\&.e\&. determined late\&.
68 is equivalent to opening one socket for each network interface\&. The port of a socket and either the primary address or
71 \fBgetsockname\fR(2)\&.