~ubuntu-branches/ubuntu/natty/eglibc/natty-security

« back to all changes in this revision

Viewing changes to ports/sysdeps/unix/sysv/linux/mips/bits/socket.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-08-03 10:17:12 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20090803101712-n74r7xge7cwubmka
Tags: upstream-2.10.1
ImportĀ upstreamĀ versionĀ 2.10.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* System-specific socket constants and types.  Linux/MIPS version.
2
 
   Copyright (C) 1991, 92, 1994-1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008
3
 
   Free Software Foundation, Inc.
 
2
   Copyright (C) 1991, 92, 1994-1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008,
 
3
   2009 Free Software Foundation, Inc.
4
4
   This file is part of the GNU C Library.
5
5
 
6
6
   The GNU C Library is free software; you can redistribute it and/or
95
95
#define PF_ASH          18      /* Ash.  */
96
96
#define PF_ECONET       19      /* Acorn Econet.  */
97
97
#define PF_ATMSVC       20      /* ATM SVCs.  */
 
98
#define PF_RDS          21      /* RDS sockets.  */
98
99
#define PF_SNA          22      /* Linux SNA Project */
99
100
#define PF_IRDA         23      /* IRDA sockets.  */
100
101
#define PF_PPPOX        24      /* PPPoX sockets.  */
101
102
#define PF_WANPIPE      25      /* Wanpipe API sockets.  */
 
103
#define PF_LLC          26      /* Linux LLC.  */
 
104
#define PF_CAN          29      /* Controller Area Network.  */
 
105
#define PF_TIPC         30      /* TIPC sockets.  */
102
106
#define PF_BLUETOOTH    31      /* Bluetooth sockets.  */
103
107
#define PF_IUCV         32      /* IUCV sockets.  */
104
108
#define PF_RXRPC        33      /* RxRPC sockets.  */
105
109
#define PF_ISDN         34      /* mISDN sockets.  */
106
 
#define PF_MAX          35      /* For now..  */
 
110
#define PF_PHONET       35      /* Phonet sockets.  */
 
111
#define PF_IEEE802154   36      /* IEEE 802.15.4 sockets.  */
 
112
#define PF_MAX          37      /* For now..  */
107
113
 
108
114
/* Address families.  */
109
115
#define AF_UNSPEC       PF_UNSPEC
130
136
#define AF_ASH          PF_ASH
131
137
#define AF_ECONET       PF_ECONET
132
138
#define AF_ATMSVC       PF_ATMSVC
 
139
#define AF_RDS          PF_RDS
133
140
#define AF_SNA          PF_SNA
134
141
#define AF_IRDA         PF_IRDA
135
142
#define AF_PPPOX        PF_PPPOX
136
143
#define AF_WANPIPE      PF_WANPIPE
 
144
#define AF_LLC          PF_LLC
 
145
#define AF_CAN          PF_CAN
 
146
#define AF_TIPC         PF_TIPC
137
147
#define AF_BLUETOOTH    PF_BLUETOOTH
138
148
#define AF_IUCV         PF_IUCV
139
149
#define AF_RXRPC        PF_RXRPC
140
150
#define AF_ISDN         PF_ISDN
 
151
#define AF_PHONET       PF_PHONET
 
152
#define AF_IEEE802154   PF_IEEE802154
141
153
#define AF_MAX          PF_MAX
142
154
 
143
155
/* Socket level values.  Others are defined in the appropriate headers.
303
315
  {
304
316
    SCM_RIGHTS = 0x01           /* Transfer file descriptors.  */
305
317
#define SCM_RIGHTS SCM_RIGHTS
306
 
#ifdef __USE_BSD
 
318
#ifdef __USE_GNU
307
319
    , SCM_CREDENTIALS = 0x02    /* Credentials passing.  */
308
320
# define SCM_CREDENTIALS SCM_CREDENTIALS
309
321
#endif