#include <stdint.h>
#include <sys/types.h>
#include <sys/time.h>
#include <netatalk/at.h>
Go to the source code of this file.
◆ ATP_BUFSIZ
#define ATP_BUFSIZ 587 /* maximum packet size */ |
◆ ATP_EOM
#define ATP_EOM (1<<4) /* End Of Message */ |
◆ atp_fileno
◆ ATP_FUNCMASK
◆ ATP_HDRSIZE
#define ATP_HDRSIZE 5 /* includes DDP type field */ |
◆ ATP_MAXDATA
#define ATP_MAXDATA (578+4) /* maximum ATP data size */ |
◆ ATP_RELTIME
#define ATP_RELTIME 30 /* base release timer (in secs) */ |
◆ atp_rreqdata
#define atp_rreqdata atp_data.rreqdata.atpd_data |
◆ atp_rreqdlen
#define atp_rreqdlen atp_data.rreqdata.atpd_dlen |
◆ atp_rresiov
#define atp_rresiov atp_data.rresdata.atpd_iov |
◆ atp_rresiovcnt
#define atp_rresiovcnt atp_data.rresdata.atpd_iovcnt |
◆ atp_sockaddr
#define atp_sockaddr |
( |
| h | ) |
|
◆ atp_sreqdata
#define atp_sreqdata atp_data.sreqdata.atpd_data |
◆ atp_sreqdlen
#define atp_sreqdlen atp_data.sreqdata.atpd_dlen |
◆ atp_sreqto
#define atp_sreqto atp_data.sreqdata.atpd_to |
◆ atp_sreqtries
#define atp_sreqtries atp_data.sreqdata.atpd_tries |
◆ atp_sresiov
#define atp_sresiov atp_data.sresdata.atpd_iov |
◆ atp_sresiovcnt
#define atp_sresiovcnt atp_data.sresdata.atpd_iovcnt |
◆ ATP_STS
#define ATP_STS (1<<3) /* Send Transaction Status */ |
◆ ATP_TREL
#define ATP_TREL (3<<6) /* Trans. RELease */ |
◆ ATP_TREL1M
#define ATP_TREL1M 0x1 /* these are passed in flags of */ |
◆ ATP_TREL2M
#define ATP_TREL2M 0x2 /* atp_sreq call, and set in the */ |
◆ ATP_TREL30
#define ATP_TREL30 0x0 /* release time codes */ |
◆ ATP_TREL4M
#define ATP_TREL4M 0x3 /* packet control info. */ |
◆ ATP_TREL8M
◆ ATP_TRELMASK
#define ATP_TRELMASK 0x07 /* mask all but TREL */ |
◆ ATP_TREQ
#define ATP_TREQ (1<<6) /* Trans. REQuest */ |
◆ ATP_TRESP
#define ATP_TRESP (2<<6) /* Trans. RESPonse */ |
◆ ATP_TRIES_INFINITE
#define ATP_TRIES_INFINITE -1 /* for atp_sreq, etc */ |
◆ ATP_XO
#define ATP_XO (1<<5) /* eXactly Once mode */ |
◆ ATP
◆ atp_close()
◆ atp_open()
ATP atp_open |
( |
uint8_t | port, |
|
|
const struct at_addr * | saddr ) |
|
extern |
◆ atp_rreq()
◆ atp_rresp()
◆ atp_rsel()
◆ atp_sreq()
int atp_sreq |
( |
ATP | ah, |
|
|
struct atp_block * | atpb, |
|
|
int | respcount, |
|
|
uint8_t | flags ) |
|
extern |
◆ atp_sresp()