hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/include/uapi/linux/if.h
....@@ -33,6 +33,7 @@
3333 #define IFNAMSIZ 16
3434 #endif /* __UAPI_DEF_IF_IFNAMSIZ */
3535 #define IFALIASZ 256
36
+#define ALTIFNAMSIZ 128
3637 #include <linux/hdlc/ioctl.h>
3738
3839 /* For glibc compatibility. An empty enum does not compile. */
....@@ -177,6 +178,7 @@
177178 enum {
178179 IF_LINK_MODE_DEFAULT,
179180 IF_LINK_MODE_DORMANT, /* limit upward transition to dormant */
181
+ IF_LINK_MODE_TESTING, /* limit upward transition to testing */
180182 };
181183
182184 /*
....@@ -212,6 +214,7 @@
212214 fr_proto __user *fr;
213215 fr_proto_pvc __user *fr_pvc;
214216 fr_proto_pvc_info __user *fr_pvc_info;
217
+ x25_hdlc_proto __user *x25;
215218
216219 /* interface settings */
217220 sync_serial_settings __user *sync;