diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-21 14:59:42 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-11-21 14:59:42 +0100 |
commit | e79ac4182e0532bce1b65c964e5dccce42f77f7a (patch) | |
tree | f1614c5e90dd21f399c9617c06e6b8ce30414fb8 /debian/patches/0012-pfinet-add-payload-aware-intrans-functions.patch | |
parent | 4a30056e280dc695827f14892de2aa1bbd4298a8 (diff) |
drop old patch series
Diffstat (limited to 'debian/patches/0012-pfinet-add-payload-aware-intrans-functions.patch')
-rw-r--r-- | debian/patches/0012-pfinet-add-payload-aware-intrans-functions.patch | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/debian/patches/0012-pfinet-add-payload-aware-intrans-functions.patch b/debian/patches/0012-pfinet-add-payload-aware-intrans-functions.patch deleted file mode 100644 index 875e727f..00000000 --- a/debian/patches/0012-pfinet-add-payload-aware-intrans-functions.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 26a743afd99549e538505737754496cee8a63468 Mon Sep 17 00:00:00 2001 -From: Justus Winter <4winter@informatik.uni-hamburg.de> -Date: Thu, 28 Nov 2013 11:10:20 +0100 -Subject: [PATCH hurd 12/29] pfinet: add payload-aware intrans functions - -* pfinet/mig-mutate.h: Add mutators. -* pfinet/mig-decls.h (begin_using_socket_payload): New function. -(begin_using_sockaddr_payload): Likewise. ---- - pfinet/mig-decls.h | 12 ++++++++++++ - pfinet/mig-mutate.h | 4 ++++ - 2 files changed, 16 insertions(+) - -diff --git a/pfinet/mig-decls.h b/pfinet/mig-decls.h -index ec8fb23..67bcbfc 100644 ---- a/pfinet/mig-decls.h -+++ b/pfinet/mig-decls.h -@@ -32,6 +32,12 @@ begin_using_socket_port (mach_port_t port) - return ports_lookup_port (pfinet_bucket, port, socketport_class); - } - -+static inline struct sock_user * __attribute__ ((unused)) -+begin_using_socket_payload (unsigned long payload) -+{ -+ return ports_lookup_payload (pfinet_bucket, payload, socketport_class); -+} -+ - static inline void __attribute__ ((unused)) - end_using_socket_port (struct sock_user *user) - { -@@ -45,6 +51,12 @@ begin_using_sockaddr_port (mach_port_t port) - return ports_lookup_port (pfinet_bucket, port, addrport_class); - } - -+static inline struct sock_addr * __attribute__ ((unused)) -+begin_using_sockaddr_payload (unsigned long payload) -+{ -+ return ports_lookup_payload (pfinet_bucket, payload, addrport_class); -+} -+ - static inline void __attribute__ ((unused)) - end_using_sockaddr_port (struct sock_addr *addr) - { -diff --git a/pfinet/mig-mutate.h b/pfinet/mig-mutate.h -index 0a1eeb8..2bc385b 100644 ---- a/pfinet/mig-mutate.h -+++ b/pfinet/mig-mutate.h -@@ -23,18 +23,22 @@ - #define IO_SELECT_REPLY_PORT - - #define IO_INTRAN sock_user_t begin_using_socket_port (io_t) -+#define IO_INTRAN_PAYLOAD sock_user_t begin_using_socket_payload - #define IO_DESTRUCTOR end_using_socket_port (sock_user_t) - #define IO_IMPORTS import "mig-decls.h"; - #define IIOCTL_IMPORTS import "mig-decls.h"; - - #define SOCKET_INTRAN sock_user_t begin_using_socket_port (socket_t) -+#define SOCKET_INTRAN_PAYLOAD sock_user_t begin_using_socket_payload - #define SOCKET_DESTRUCTOR end_using_socket_port (sock_user_t) - #define SOCKET_IMPORTS \ - import "mig-decls.h"; \ - import "../libtrivfs/mig-decls.h"; \ - - #define ADDRPORT_INTRAN sock_addr_t begin_using_sockaddr_port (addr_port_t) -+#define ADDRPORT_INTRAN_PAYLOAD sock_addr_t begin_using_sockaddr_payload - #define ADDRPORT_DESTRUCTOR end_using_sockaddr_port (sock_addr_t) - - #define PF_INTRAN trivfs_protid_t trivfs_begin_using_protid (pf_t) -+#define PF_INTRAN_PAYLOAD trivfs_protid_t trivfs_begin_using_protid_payload - #define PF_DESTRUCTOR trivfs_end_using_protid (trivfs_protid_t) --- -2.1.3 - |