]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/frsh_fwp/fwp_idl.idl
Introduce src parameter in FWP contracts
[frescor/fwp.git] / fwp / lib / frsh_fwp / fwp_idl.idl
index 399d9afab56a9c194b9a197f837db0342fd3115c..26577c27c14a8b10cf9e8757543bfbbdea1c802e 100644 (file)
@@ -9,8 +9,18 @@
  */
 module fres {
        module block {
+               /// Data passed from FWP manager to allocator.
                struct fwp_sched {
                        octet ac_id;
                };
+               /// Data passed by application to manager and/or
+               /// allocator.
+               struct fwp {
+                       /// Non-zero value speciefies source address
+                       /// used for sending packets. This value is
+                       /// used to set ipi_spec_dst field of
+                       /// IP_PKTINFO socket option - see ip(7).
+                       long src;
+               };
        };
 };