]> rtime.felk.cvut.cz Git - frescor/fwp.git/blob - fwp/lib/frsh_fwp/fwp_idl.idl
Introduce src parameter in FWP contracts
[frescor/fwp.git] / fwp / lib / frsh_fwp / fwp_idl.idl
1 /**
2  * @file   fwp_idl.idl
3  * @author Martin Molnar <molnam1@fel.cvut.cz>
4  * @date   Thu Oct 30 14:27:12 2008
5  * 
6  * @brief  Contract data block for fwp resource
7  * 
8  * 
9  */
10 module fres {
11         module block {
12                 /// Data passed from FWP manager to allocator.
13                 struct fwp_sched {
14                         octet ac_id;
15                 };
16                 /// Data passed by application to manager and/or
17                 /// allocator.
18                 struct fwp {
19                         /// Non-zero value speciefies source address
20                         /// used for sending packets. This value is
21                         /// used to set ipi_spec_dst field of
22                         /// IP_PKTINFO socket option - see ip(7).
23                         long src;
24                 };
25         };
26 };