1ATALK(4)                         Netatalk 2.1                         ATALK(4)
2
3
4

NAME

6       atalk - AppleTalk protocol family
7

SYNOPSIS

9       #include <sys/types.h>
10       #include <netatalk/at.h>
11

DESCRIPTION

13       The AppleTalk protocol family is a collection of protocols layered
14       above the Datagram Delivery Protocol (DDP), and using AppleTalk address
15       format. The AppleTalk family may provide SOCK_STREAM (ADSP), SOCK_DGRAM
16       (DDP), SOCK_RDM (ATP), and SOCK_SEQPACKET (ASP). Currently, only DDP is
17       implemented in the kernel; ATP and ASP are implemented in user level
18       libraries; and ADSP is planned.
19

ADDRESSING

21       AppleTalk addresses are three byte quantities, stored in network byte
22       order. The include file <netatalk/at.h> defines the AppleTalk address
23       format.
24
25       Sockets in the AppleTalk protocol family use the following address
26       structure:
27
28           struct sockaddr_at {
29               short sat_family;
30               u_char sat_port;
31               struct at_addr sat_addr;
32               char sat_zero[ 8 ];
33           };
34
35       The port of a socket may be set with bind(2). The node for bind must
36       always be ATADDR_ANYNODE: ``this node.´´ The net may be ATADDR_ANYNET
37       or ATADDR_LATENET.  ATADDR_ANYNET coresponds to the machine´s
38       ``primary´´ address (the first configured).  ATADDR_LATENET causes the
39       address in outgoing packets to be determined when a packet is sent,
40       i.e. determined late.  ATADDR_LATENET is equivalent to opening one
41       socket for each network interface. The port of a socket and either the
42       primary address or ATADDR_LATENET are returned with getsockname(2).
43

SEE ALSO

45       bind(2), getsockname(2), atalkd(8).
46
47
48
49Netatalk 2.1                      17 Dec 1991                         ATALK(4)
Impressum