#include <sys/types.h>#include <netatalk/at.h>#include <atalk/atp.h>#include <atalk/afp.h>#include <atalk/server_child.h>Go to the source code of this file.
Data Structures | |
| struct | ASP |
Macros | |
| #define | ASP_HDRSIZ 4 |
| #define | ASP_CMDSIZ 578 |
| #define | ASP_MAXPACKETS 8 |
| #define | ASP_CMDMAXSIZ (ASP_CMDSIZ + ASP_HDRSIZ) |
| #define | ASP_DATASIZ (ASP_CMDSIZ*ASP_MAXPACKETS) |
| #define | ASP_DATAMAXSIZ ((ASP_CMDSIZ + ASP_HDRSIZ)*ASP_MAXPACKETS) |
| #define | asp_status asp_u.asu_status.as_status |
| #define | asp_slen asp_u.asu_status.as_slen |
| #define | asp_seq asp_u.asu_seq |
| #define | ASPFL_SLS 1 |
| #define | ASPFL_SSS 2 |
| #define | ASPFUNC_CLOSE 1 |
| #define | ASPFUNC_CMD 2 |
| #define | ASPFUNC_STAT 3 |
| #define | ASPFUNC_OPEN 4 |
| #define | ASPFUNC_TICKLE 5 |
| #define | ASPFUNC_WRITE 6 |
| #define | ASPFUNC_WRTCONT 7 |
| #define | ASPFUNC_ATTN 8 |
| #define | ASPERR_OK 0x0000 |
| #define | ASPERR_BADVERS 0xfbd6 |
| #define | ASPERR_BUFSMALL 0xfbd5 |
| #define | ASPERR_NOSESS 0xfbd4 |
| #define | ASPERR_NOSERV 0xfbd3 |
| #define | ASPERR_PARM 0xfbd2 |
| #define | ASPERR_SERVBUSY 0xfbd1 |
| #define | ASPERR_SESSCLOS 0xfbd0 |
| #define | ASPERR_SIZERR 0xfbcf |
| #define | ASPERR_TOOMANY 0xfbce |
| #define | ASPERR_NOACK 0xfbcd |
| #define | asp_wrtreply(a, b) |
Typedefs | |
| typedef struct ASP * | ASP |
Functions | |
| ASP | asp_init (ATP) |
| void | asp_setstatus (ASP, char *, const int) |
| ASP | asp_getsession (ASP, server_child_t *, const int) |
| This call handles open, tickle, and getstatus requests. | |
| int | asp_close (ASP) |
| int | asp_shutdown (ASP) |
| int | asp_attention (ASP, AFPUserBytes) |
| int | asp_getrequest (ASP) |
| int | asp_cmdreply (ASP, int) |
| int | asp_wrtcont (ASP, char *, size_t *) |
| void | asp_kill (int) |
| int | asp_tickle (ASP, const uint8_t, struct sockaddr_at *) |
| void | asp_stop_tickle (void) |
| #define ASP_CMDMAXSIZ (ASP_CMDSIZ + ASP_HDRSIZ) |
| #define ASP_CMDSIZ 578 |
| #define ASP_DATAMAXSIZ ((ASP_CMDSIZ + ASP_HDRSIZ)*ASP_MAXPACKETS) |
| #define ASP_DATASIZ (ASP_CMDSIZ*ASP_MAXPACKETS) |
| #define ASP_HDRSIZ 4 |
| #define ASP_MAXPACKETS 8 |
| #define asp_seq asp_u.asu_seq |
| #define asp_slen asp_u.asu_status.as_slen |
| #define asp_status asp_u.asu_status.as_status |
| #define asp_wrtreply | ( | a, | |
| b ) |
| #define ASPERR_BADVERS 0xfbd6 |
| #define ASPERR_BUFSMALL 0xfbd5 |
| #define ASPERR_NOACK 0xfbcd |
| #define ASPERR_NOSERV 0xfbd3 |
| #define ASPERR_NOSESS 0xfbd4 |
| #define ASPERR_OK 0x0000 |
| #define ASPERR_PARM 0xfbd2 |
| #define ASPERR_SERVBUSY 0xfbd1 |
| #define ASPERR_SESSCLOS 0xfbd0 |
| #define ASPERR_SIZERR 0xfbcf |
| #define ASPERR_TOOMANY 0xfbce |
| #define ASPFL_SLS 1 |
| #define ASPFL_SSS 2 |
| #define ASPFUNC_ATTN 8 |
| #define ASPFUNC_CLOSE 1 |
| #define ASPFUNC_CMD 2 |
| #define ASPFUNC_OPEN 4 |
| #define ASPFUNC_STAT 3 |
| #define ASPFUNC_TICKLE 5 |
| #define ASPFUNC_WRITE 6 |
| #define ASPFUNC_WRTCONT 7 |
| typedef struct ASP * ASP |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
This call handles open, tickle, and getstatus requests.
|
extern |
kill children
|
extern |
|
extern |
|
extern |
|
extern |
send off a tickle
|
extern |