Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / rxrpc / types.h
blob327a5fc4719cdbebf7efad245dfaca7aa2f02044
1 /* types.h: Rx types
3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #ifndef _LINUX_RXRPC_TYPES_H
13 #define _LINUX_RXRPC_TYPES_H
15 #include <linux/types.h>
16 #include <linux/list.h>
17 #include <linux/socket.h>
18 #include <linux/in.h>
19 #include <linux/spinlock.h>
20 #include <asm/atomic.h>
22 typedef uint32_t rxrpc_seq_t; /* Rx message sequence number */
23 typedef uint32_t rxrpc_serial_t; /* Rx message serial number */
24 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */
25 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */
27 struct rxrpc_call;
28 struct rxrpc_connection;
29 struct rxrpc_header;
30 struct rxrpc_message;
31 struct rxrpc_operation;
32 struct rxrpc_peer;
33 struct rxrpc_service;
34 typedef struct rxrpc_timer rxrpc_timer_t;
35 struct rxrpc_transport;
37 typedef void (*rxrpc_call_attn_func_t)(struct rxrpc_call *call);
38 typedef void (*rxrpc_call_error_func_t)(struct rxrpc_call *call);
39 typedef void (*rxrpc_call_aemap_func_t)(struct rxrpc_call *call);
41 #endif /* _LINUX_RXRPC_TYPES_H */