mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Synch with Linux 2.4.5:
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New. (PF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New. (PF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New. (AF_BLUETOOTH): New. * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New. * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New. * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
This commit is contained in:
@ -88,6 +88,7 @@ enum __socket_type
|
|||||||
#define PF_IRDA 23 /* IRDA sockets. */
|
#define PF_IRDA 23 /* IRDA sockets. */
|
||||||
#define PF_PPPOX 24 /* PPPoX sockets. */
|
#define PF_PPPOX 24 /* PPPoX sockets. */
|
||||||
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
||||||
|
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
|
||||||
#define PF_MAX 32 /* For now.. */
|
#define PF_MAX 32 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
@ -119,6 +120,7 @@ enum __socket_type
|
|||||||
#define AF_IRDA PF_IRDA
|
#define AF_IRDA PF_IRDA
|
||||||
#define AF_PPPOX PF_PPPOX
|
#define AF_PPPOX PF_PPPOX
|
||||||
#define AF_WANPIPE PF_WANPIPE
|
#define AF_WANPIPE PF_WANPIPE
|
||||||
|
#define AF_BLUETOOTH PF_BLUETOOTH
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Structure types for pre-termios terminal ioctls. Linux version.
|
/* Structure types for pre-termios terminal ioctls. Linux version.
|
||||||
Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 1999, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -75,3 +75,4 @@ struct termio
|
|||||||
#define N_SMSBLOCK 12 /* SMS block mode */
|
#define N_SMSBLOCK 12 /* SMS block mode */
|
||||||
#define N_HDLC 13 /* synchronous HDLC */
|
#define N_HDLC 13 /* synchronous HDLC */
|
||||||
#define N_SYNC_PPP 14 /* synchronous PPP */
|
#define N_SYNC_PPP 14 /* synchronous PPP */
|
||||||
|
#define N_HCI 15 /* Bluetooth HCI UART */
|
||||||
|
@ -88,6 +88,7 @@ enum __socket_type
|
|||||||
#define PF_IRDA 23 /* IRDA sockets. */
|
#define PF_IRDA 23 /* IRDA sockets. */
|
||||||
#define PF_PPPOX 24 /* PPPoX sockets. */
|
#define PF_PPPOX 24 /* PPPoX sockets. */
|
||||||
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
||||||
|
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
|
||||||
#define PF_MAX 32 /* For now.. */
|
#define PF_MAX 32 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
@ -119,6 +120,7 @@ enum __socket_type
|
|||||||
#define AF_IRDA PF_IRDA
|
#define AF_IRDA PF_IRDA
|
||||||
#define AF_PPPOX PF_PPPOX
|
#define AF_PPPOX PF_PPPOX
|
||||||
#define AF_WANPIPE PF_WANPIPE
|
#define AF_WANPIPE PF_WANPIPE
|
||||||
|
#define AF_BLUETOOTH PF_BLUETOOTH
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
@ -88,6 +88,7 @@ enum __socket_type
|
|||||||
#define PF_IRDA 23 /* IRDA sockets. */
|
#define PF_IRDA 23 /* IRDA sockets. */
|
||||||
#define PF_PPPOX 24 /* PPPoX sockets. */
|
#define PF_PPPOX 24 /* PPPoX sockets. */
|
||||||
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
||||||
|
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
|
||||||
#define PF_MAX 32 /* For now.. */
|
#define PF_MAX 32 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
@ -119,6 +120,7 @@ enum __socket_type
|
|||||||
#define AF_IRDA PF_IRDA
|
#define AF_IRDA PF_IRDA
|
||||||
#define AF_PPPOX PF_PPPOX
|
#define AF_PPPOX PF_PPPOX
|
||||||
#define AF_WANPIPE PF_WANPIPE
|
#define AF_WANPIPE PF_WANPIPE
|
||||||
|
#define AF_BLUETOOTH PF_BLUETOOTH
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Structure types for pre-termios terminal ioctls. Linux/MIPS version.
|
/* Structure types for pre-termios terminal ioctls. Linux/MIPS version.
|
||||||
Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -73,3 +73,4 @@ struct termio
|
|||||||
#define N_SMSBLOCK 12 /* SMS block mode */
|
#define N_SMSBLOCK 12 /* SMS block mode */
|
||||||
#define N_HDLC 13 /* synchronous HDLC */
|
#define N_HDLC 13 /* synchronous HDLC */
|
||||||
#define N_SYNC_PPP 14 /* synchronous PPP */
|
#define N_SYNC_PPP 14 /* synchronous PPP */
|
||||||
|
#define N_HCI 15 /* Bluetooth HCI UART */
|
||||||
|
@ -88,6 +88,7 @@ enum __socket_type
|
|||||||
#define PF_IRDA 23 /* IRDA sockets. */
|
#define PF_IRDA 23 /* IRDA sockets. */
|
||||||
#define PF_PPPOX 24 /* PPPoX sockets. */
|
#define PF_PPPOX 24 /* PPPoX sockets. */
|
||||||
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
||||||
|
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
|
||||||
#define PF_MAX 32 /* For now.. */
|
#define PF_MAX 32 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
@ -119,6 +120,7 @@ enum __socket_type
|
|||||||
#define AF_IRDA PF_IRDA
|
#define AF_IRDA PF_IRDA
|
||||||
#define AF_PPPOX PF_PPPOX
|
#define AF_PPPOX PF_PPPOX
|
||||||
#define AF_WANPIPE PF_WANPIPE
|
#define AF_WANPIPE PF_WANPIPE
|
||||||
|
#define AF_BLUETOOTH PF_BLUETOOTH
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
@ -122,7 +122,7 @@ struct arphdr
|
|||||||
#define ARPHRD_FCPL 786 /* Fibrechanel public loop. */
|
#define ARPHRD_FCPL 786 /* Fibrechanel public loop. */
|
||||||
#define ARPHRD_FCPFABRIC 787 /* Fibrechanel fabric. */
|
#define ARPHRD_FCPFABRIC 787 /* Fibrechanel fabric. */
|
||||||
#define ARPHRD_IEEE802_TR 800 /* Magic type ident for TR. */
|
#define ARPHRD_IEEE802_TR 800 /* Magic type ident for TR. */
|
||||||
|
#define ARPHRD_IEEE80211 801 /* IEEE 802.11. */
|
||||||
|
|
||||||
/* ARP ioctl request. */
|
/* ARP ioctl request. */
|
||||||
struct arpreq
|
struct arpreq
|
||||||
|
@ -43,9 +43,9 @@ struct termios {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* c_cc characters */
|
/* c_cc characters */
|
||||||
#define VINTR 0
|
#define VINTR 0
|
||||||
#define VQUIT 1
|
#define VQUIT 1
|
||||||
#define VERASE 2
|
#define VERASE 2
|
||||||
#define VKILL 3
|
#define VKILL 3
|
||||||
#define VEOF 4
|
#define VEOF 4
|
||||||
#define VMIN 5
|
#define VMIN 5
|
||||||
@ -54,9 +54,9 @@ struct termios {
|
|||||||
#define VEOL2 8
|
#define VEOL2 8
|
||||||
#define VSWTC 9
|
#define VSWTC 9
|
||||||
|
|
||||||
#define VWERASE 10
|
#define VWERASE 10
|
||||||
#define VREPRINT 11
|
#define VREPRINT 11
|
||||||
#define VSUSP 12
|
#define VSUSP 12
|
||||||
#define VSTART 13
|
#define VSTART 13
|
||||||
#define VSTOP 14
|
#define VSTOP 14
|
||||||
#define VLNEXT 15
|
#define VLNEXT 15
|
||||||
@ -297,3 +297,4 @@ struct termio {
|
|||||||
#define N_SMSBLOCK 12 /* SMS block mode */
|
#define N_SMSBLOCK 12 /* SMS block mode */
|
||||||
#define N_HDLC 13 /* synchronous HDLC */
|
#define N_HDLC 13 /* synchronous HDLC */
|
||||||
#define N_SYNC_PPP 14 /* synchronous PPP */
|
#define N_SYNC_PPP 14 /* synchronous PPP */
|
||||||
|
#define N_HCI 15 /* Bluetooth HCI UART */
|
||||||
|
@ -88,6 +88,7 @@ enum __socket_type
|
|||||||
#define PF_IRDA 23 /* IRDA sockets. */
|
#define PF_IRDA 23 /* IRDA sockets. */
|
||||||
#define PF_PPPOX 24 /* PPPoX sockets. */
|
#define PF_PPPOX 24 /* PPPoX sockets. */
|
||||||
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
||||||
|
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
|
||||||
#define PF_MAX 32 /* For now.. */
|
#define PF_MAX 32 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
@ -119,6 +120,7 @@ enum __socket_type
|
|||||||
#define AF_IRDA PF_IRDA
|
#define AF_IRDA PF_IRDA
|
||||||
#define AF_PPPOX PF_PPPOX
|
#define AF_PPPOX PF_PPPOX
|
||||||
#define AF_WANPIPE PF_WANPIPE
|
#define AF_WANPIPE PF_WANPIPE
|
||||||
|
#define AF_BLUETOOTH PF_BLUETOOTH
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
@ -88,6 +88,7 @@ enum __socket_type
|
|||||||
#define PF_IRDA 23 /* IRDA sockets. */
|
#define PF_IRDA 23 /* IRDA sockets. */
|
||||||
#define PF_PPPOX 24 /* PPPoX sockets. */
|
#define PF_PPPOX 24 /* PPPoX sockets. */
|
||||||
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
#define PF_WANPIPE 25 /* Wanpipe API sockets. */
|
||||||
|
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
|
||||||
#define PF_MAX 32 /* For now.. */
|
#define PF_MAX 32 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
@ -119,6 +120,7 @@ enum __socket_type
|
|||||||
#define AF_IRDA PF_IRDA
|
#define AF_IRDA PF_IRDA
|
||||||
#define AF_PPPOX PF_PPPOX
|
#define AF_PPPOX PF_PPPOX
|
||||||
#define AF_WANPIPE PF_WANPIPE
|
#define AF_WANPIPE PF_WANPIPE
|
||||||
|
#define AF_BLUETOOTH PF_BLUETOOTH
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
Reference in New Issue
Block a user