aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/x25.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/x25.h')
-rw-r--r--include/linux/x25.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/x25.h b/include/linux/x25.h
index 7531cfed5885..6f43b3d20248 100644
--- a/include/linux/x25.h
+++ b/include/linux/x25.h
@@ -4,6 +4,8 @@
4 * History 4 * History
5 * mar/20/00 Daniela Squassoni Disabling/enabling of facilities 5 * mar/20/00 Daniela Squassoni Disabling/enabling of facilities
6 * negotiation. 6 * negotiation.
7 * apr/02/05 Shaun Pereira Selective sub address matching with
8 * call user data
7 */ 9 */
8 10
9#ifndef X25_KERNEL_H 11#ifndef X25_KERNEL_H
@@ -16,6 +18,7 @@
16#define SIOCX25GCALLUSERDATA (SIOCPROTOPRIVATE + 4) 18#define SIOCX25GCALLUSERDATA (SIOCPROTOPRIVATE + 4)
17#define SIOCX25SCALLUSERDATA (SIOCPROTOPRIVATE + 5) 19#define SIOCX25SCALLUSERDATA (SIOCPROTOPRIVATE + 5)
18#define SIOCX25GCAUSEDIAG (SIOCPROTOPRIVATE + 6) 20#define SIOCX25GCAUSEDIAG (SIOCPROTOPRIVATE + 6)
21#define SIOCX25SCUDMATCHLEN (SIOCPROTOPRIVATE + 7)
19 22
20/* 23/*
21 * Values for {get,set}sockopt. 24 * Values for {get,set}sockopt.
@@ -109,4 +112,11 @@ struct x25_causediag {
109 unsigned char diagnostic; 112 unsigned char diagnostic;
110}; 113};
111 114
115/*
116 * Further optional call user data match length selection
117 */
118struct x25_subaddr {
119 unsigned int cudmatchlength;
120};
121
112#endif 122#endif