netatalk  4.4.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
fce_packet Struct Reference

#include <fce_api.h>

Data Fields

char fcep_magic [8]
unsigned char fcep_version
unsigned char fcep_options
unsigned char fcep_event
uint32_t fcep_event_id
uint64_t fcep_pid
uint16_t fcep_userlen
char fcep_user [MAXPATHLEN]
uint16_t fcep_pathlen1
char fcep_path1 [MAXPATHLEN]
uint16_t fcep_pathlen2
char fcep_path2 [MAXPATHLEN]

Detailed Description

Network payload of an FCE packet, version 1

1 2 3 4 5 6 7 8
+---------+---------+---------+---------+---------+---------+----------+----------+
| FCE magic |
+---------+---------+---------+---------+---------+---------+----------+----------+
+---------+
| event |
+---------+-----------------------------+
| event ID |
+-------------------+-------------------+ . . . .
| pathlen | path
+-------------------+------ . . . . . . . . . . .
static char * version
Definition a2boot.c:60
Definition include/atalk/directory.h:81
static uint16_t ID
Definition uams_dhx2_pam.c:43

Network payload of an FCE packet, version 2

1 2 3 4 5 6 7 8
+---------+---------+---------+---------+---------+---------+----------+----------+
| FCE magic |
+---------+---------+---------+---------+---------+---------+----------+----------+
+---------+
| options |
+---------+
| event |
+---------+
| padding |
+---------+---------+---------+---------+---------+---------+----------+----------+
| reserved |
+---------+---------+---------+---------+---------+---------+----------+----------+
| event ID |
+---------+---------+---------+---------+
... optional:
+---------+---------+---------+---------+---------+---------+----------+----------+
| pid |
+---------+---------+---------+---------+---------+---------+----------+----------+
...
... optional:
+-------------------+---------- . . . .
| username length | username
+-------------------+---------- . . . .
...
+-------------------+------ . . . . . .
| pathlen | path
+-------------------+------ . . . . . .
... optional:
+-------------------+------------- . . .
| pathlen | source path
+-------------------+------------- . . .
version = 2
options = bitfield:
0: pid present
1: username present
2: source path present
pid = optional pid
username = optional username
source path = optional source path

Field Documentation

◆ fcep_event

unsigned char fce_packet::fcep_event

◆ fcep_event_id

uint32_t fce_packet::fcep_event_id

◆ fcep_magic

char fce_packet::fcep_magic[8]

◆ fcep_options

unsigned char fce_packet::fcep_options

◆ fcep_path1

char fce_packet::fcep_path1[MAXPATHLEN]

◆ fcep_path2

char fce_packet::fcep_path2[MAXPATHLEN]

◆ fcep_pathlen1

uint16_t fce_packet::fcep_pathlen1

◆ fcep_pathlen2

uint16_t fce_packet::fcep_pathlen2

◆ fcep_pid

uint64_t fce_packet::fcep_pid

◆ fcep_user

char fce_packet::fcep_user[MAXPATHLEN]

◆ fcep_userlen

uint16_t fce_packet::fcep_userlen

◆ fcep_version

unsigned char fce_packet::fcep_version

The documentation for this struct was generated from the following file: