diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2010-09-15 08:30:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-16 00:31:32 -0400 |
commit | 7417fa83c1a8b75a03bd9b9b358999f38e771eab (patch) | |
tree | 7abf2eb2df05e1ca8ed96cd94b6fe026c8a57972 /include | |
parent | 4e3d16ce5e82648d7f4dfd28b6cf8fe2e9a9efc3 (diff) |
Phonet: hook resource routing to userspace via ioctl()'s
I wish we could use something cleaner, such as bind(). But that would
not work since resource subscription is orthogonal/in addition to the
normal object ID allocated via bind(). This is similar to multicasting
which also uses ioctl()'s.
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/phonet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phonet.h b/include/linux/phonet.h index 76edadf046d3..85e14a83283b 100644 --- a/include/linux/phonet.h +++ b/include/linux/phonet.h | |||
@@ -47,6 +47,8 @@ | |||
47 | 47 | ||
48 | /* ioctls */ | 48 | /* ioctls */ |
49 | #define SIOCPNGETOBJECT (SIOCPROTOPRIVATE + 0) | 49 | #define SIOCPNGETOBJECT (SIOCPROTOPRIVATE + 0) |
50 | #define SIOCPNADDRESOURCE (SIOCPROTOPRIVATE + 14) | ||
51 | #define SIOCPNDELRESOURCE (SIOCPROTOPRIVATE + 15) | ||
50 | 52 | ||
51 | /* Phonet protocol header */ | 53 | /* Phonet protocol header */ |
52 | struct phonethdr { | 54 | struct phonethdr { |