netatalk: Netatalk Architecture

netatalk 4.5.1
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
Netatalk Architecture

Netatalk is an implementation of Apple Filing Protocol (AFP) over TCP. The session layer used to carry AFP over TCP is called DSI. Netatalk also supports the AppleTalk Protocol Suite for legacy Macs, Lisas and Apple IIs via the atalkd daemon.

The complete stack looks like this on a BSD-derived system:

AFP AFP
| |
ASP PAP DSI
\ / |
ATP RTMP NBP ZIP AEP | (port:548)
| | | | | |
-+---------------------------------------------------+- (kernel boundary)
| Socket |
+-----------------------+------------+--------------+
| | TCP | UDP |
| DDP +------------+--------------+
| | IP v4 or v6 |
+-----------------------+---------------------------+
| Network Interface |
+---------------------------------------------------+
ATP
struct atp_handle * ATP
Definition atp.h:121
port
static unsigned char port
Definition pap.c:504
ASP
Definition asp.h:43
DSI
Definition include/atalk/dsi.h:58

When built without AppleTalk support, the network stack looks something like this:

AFP
|
DSI
|
| (port:548)
|
-+---------------------------+- (kernel boundary)
| Socket |
+------------+--------------+
| TCP | UDP |
+------------+--------------+
| IP v4 or v6 |
+---------------------------+
| Network Interface |
+---------------------------+