diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/if_ppp.h | 7 | ||||
| -rw-r--r-- | include/linux/ppp-comp.h | 9 | ||||
| -rw-r--r-- | include/linux/proc_fs.h | 1 | ||||
| -rw-r--r-- | include/linux/sysctl.h | 3 |
4 files changed, 18 insertions, 2 deletions
diff --git a/include/linux/if_ppp.h b/include/linux/if_ppp.h index 572aff7daa21..768372f07caa 100644 --- a/include/linux/if_ppp.h +++ b/include/linux/if_ppp.h | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | /* | 23 | /* |
| 24 | * ==FILEVERSION 20000724== | 24 | * ==FILEVERSION 20050812== |
| 25 | * | 25 | * |
| 26 | * NOTE TO MAINTAINERS: | 26 | * NOTE TO MAINTAINERS: |
| 27 | * If you modify this file at all, please set the above date. | 27 | * If you modify this file at all, please set the above date. |
| @@ -35,6 +35,8 @@ | |||
| 35 | #ifndef _IF_PPP_H_ | 35 | #ifndef _IF_PPP_H_ |
| 36 | #define _IF_PPP_H_ | 36 | #define _IF_PPP_H_ |
| 37 | 37 | ||
| 38 | #include <linux/compiler.h> | ||
| 39 | |||
| 38 | /* | 40 | /* |
| 39 | * Packet sizes | 41 | * Packet sizes |
| 40 | */ | 42 | */ |
| @@ -70,7 +72,8 @@ | |||
| 70 | #define SC_LOG_RAWIN 0x00080000 /* log all chars received */ | 72 | #define SC_LOG_RAWIN 0x00080000 /* log all chars received */ |
| 71 | #define SC_LOG_FLUSH 0x00100000 /* log all chars flushed */ | 73 | #define SC_LOG_FLUSH 0x00100000 /* log all chars flushed */ |
| 72 | #define SC_SYNC 0x00200000 /* synchronous serial mode */ | 74 | #define SC_SYNC 0x00200000 /* synchronous serial mode */ |
| 73 | #define SC_MASK 0x0f200fff /* bits that user can change */ | 75 | #define SC_MUST_COMP 0x00400000 /* no uncompressed packets may be sent or received */ |
| 76 | #define SC_MASK 0x0f600fff /* bits that user can change */ | ||
| 74 | 77 | ||
| 75 | /* state bits */ | 78 | /* state bits */ |
| 76 | #define SC_XMIT_BUSY 0x10000000 /* (used by isdn_ppp?) */ | 79 | #define SC_XMIT_BUSY 0x10000000 /* (used by isdn_ppp?) */ |
diff --git a/include/linux/ppp-comp.h b/include/linux/ppp-comp.h index 7227e653b3be..e86a7a5cf355 100644 --- a/include/linux/ppp-comp.h +++ b/include/linux/ppp-comp.h | |||
| @@ -111,6 +111,8 @@ struct compressor { | |||
| 111 | 111 | ||
| 112 | /* Used in locking compressor modules */ | 112 | /* Used in locking compressor modules */ |
| 113 | struct module *owner; | 113 | struct module *owner; |
| 114 | /* Extra skb space needed by the compressor algorithm */ | ||
| 115 | unsigned int comp_extra; | ||
| 114 | }; | 116 | }; |
| 115 | 117 | ||
| 116 | /* | 118 | /* |
| @@ -191,6 +193,13 @@ struct compressor { | |||
| 191 | #define DEFLATE_CHK_SEQUENCE 0 | 193 | #define DEFLATE_CHK_SEQUENCE 0 |
| 192 | 194 | ||
| 193 | /* | 195 | /* |
| 196 | * Definitions for MPPE. | ||
| 197 | */ | ||
| 198 | |||
| 199 | #define CI_MPPE 18 /* config option for MPPE */ | ||
| 200 | #define CILEN_MPPE 6 /* length of config option */ | ||
| 201 | |||
| 202 | /* | ||
| 194 | * Definitions for other, as yet unsupported, compression methods. | 203 | * Definitions for other, as yet unsupported, compression methods. |
| 195 | */ | 204 | */ |
| 196 | 205 | ||
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 65ceeaa30652..74488e49166d 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h | |||
| @@ -66,6 +66,7 @@ struct proc_dir_entry { | |||
| 66 | write_proc_t *write_proc; | 66 | write_proc_t *write_proc; |
| 67 | atomic_t count; /* use count */ | 67 | atomic_t count; /* use count */ |
| 68 | int deleted; /* delete flag */ | 68 | int deleted; /* delete flag */ |
| 69 | void *set; | ||
| 69 | }; | 70 | }; |
| 70 | 71 | ||
| 71 | struct kcore_list { | 72 | struct kcore_list { |
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index fc8e367f671e..fc131d6602b9 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #include <linux/compiler.h> | 24 | #include <linux/compiler.h> |
| 25 | 25 | ||
| 26 | struct file; | 26 | struct file; |
| 27 | struct completion; | ||
| 27 | 28 | ||
| 28 | #define CTL_MAXNAME 10 /* how many path components do we allow in a | 29 | #define CTL_MAXNAME 10 /* how many path components do we allow in a |
| 29 | call to sysctl? In other words, what is | 30 | call to sysctl? In other words, what is |
| @@ -925,6 +926,8 @@ struct ctl_table_header | |||
| 925 | { | 926 | { |
| 926 | ctl_table *ctl_table; | 927 | ctl_table *ctl_table; |
| 927 | struct list_head ctl_entry; | 928 | struct list_head ctl_entry; |
| 929 | int used; | ||
| 930 | struct completion *unregistering; | ||
| 928 | }; | 931 | }; |
| 929 | 932 | ||
| 930 | struct ctl_table_header * register_sysctl_table(ctl_table * table, | 933 | struct ctl_table_header * register_sysctl_table(ctl_table * table, |
