summaryrefslogtreecommitdiff
path: root/pflocal/mig-mutate.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-28 11:13:29 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-07 15:38:18 +0100
commitab741d845af6fac6313ed40b8f2ae148d96aa716 (patch)
tree69cdbeeed99b445a6b6209fdd72cddd2b2120799 /pflocal/mig-mutate.h
parent2514b693920124eb47eb48f50f07b179bc5090e9 (diff)
pflocal: add payload-aware intrans functions
* pflocal/mig-mutate.h: Add mutators. * pflocal/mig-decls.c (begin_using_sock_user_payload): New function. (begin_using_addr_payload): Likewise.
Diffstat (limited to 'pflocal/mig-mutate.h')
-rw-r--r--pflocal/mig-mutate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pflocal/mig-mutate.h b/pflocal/mig-mutate.h
index b1494730..238c806b 100644
--- a/pflocal/mig-mutate.h
+++ b/pflocal/mig-mutate.h
@@ -21,13 +21,16 @@
#define IO_SELECT_REPLY_PORT
#define IO_INTRAN sock_user_t begin_using_sock_user_port (io_t)
+#define IO_INTRAN_PAYLOAD sock_user_t begin_using_sock_user_payload
#define IO_DESTRUCTOR end_using_sock_user_port (sock_user_t)
#define IO_IMPORTS import "mig-decls.h";
#define SOCKET_INTRAN sock_user_t begin_using_sock_user_port (socket_t)
+#define SOCKET_INTRAN_PAYLOAD sock_user_t begin_using_sock_user_payload
#define SOCKET_DESTRUCTOR end_using_sock_user_port (sock_user_t)
#define ADDRPORT_INTRAN addr_t begin_using_addr_port (addr_port_t)
+#define ADDRPORT_INTRAN_PAYLOAD addr_t begin_using_addr_payload
#define ADDRPORT_DESTRUCTOR end_using_addr_port (addr_t)
#define SOCKET_IMPORTS import "mig-decls.h";