For version 5, the format of the message is::
struct autofs_v5_packet {
- int proto_version; /* Protocol version */
- int type; /* Type of packet */
+ struct autofs_packet_hdr hdr;
autofs_wqt_t wait_queue_token;
__u32 dev;
__u64 ino;
char name[NAME_MAX+1];
};
+And the format of the header is::
+
+ struct autofs_packet_hdr {
+ int proto_version; /* Protocol version */
+ int type; /* Type of packet */
+ };
+
where the type is one of ::
autofs_ptype_missing_indirect
anything suitable to expire. A pointer to a packet::
struct autofs_packet_expire_multi {
- int proto_version; /* Protocol version */
- int type; /* Type of packet */
+ struct autofs_packet_hdr hdr;
autofs_wqt_t wait_queue_token;
int len;
char name[NAME_MAX+1];