Rev 4712 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4712 | Rev 4728 | ||
|---|---|---|---|
| Line 39... | Line 39... | ||
| 39 | #define __NET_SOCKET_CODES_H__ |
39 | #define __NET_SOCKET_CODES_H__ |
| 40 | 40 | ||
| 41 | #include <sys/types.h> |
41 | #include <sys/types.h> |
| 42 | 42 | ||
| 43 | /** @name Address families definitions |
43 | /** @name Address families definitions |
| 44 | */ |
44 | */ |
| 45 | /*@{*/ |
45 | /*@{*/ |
| - | 46 | ||
| 46 | /** Unspecified address family. |
47 | /** Unspecified address family. |
| 47 | */ |
48 | */ |
| 48 | #define AF_UNSPEC 0 |
49 | #define AF_UNSPEC 0 |
| 49 | 50 | ||
| 50 | /** Unix domain sockets address family. |
51 | /** Unix domain sockets address family. |
| Line 172... | Line 173... | ||
| 172 | #define AF_RXRPC 33 |
173 | #define AF_RXRPC 33 |
| 173 | 174 | ||
| 174 | /** Maximum address family. |
175 | /** Maximum address family. |
| 175 | */ |
176 | */ |
| 176 | #define AF_MAX 34 |
177 | #define AF_MAX 34 |
| - | 178 | ||
| 177 | /*@}*/ |
179 | /*@}*/ |
| 178 | 180 | ||
| 179 | /** @name Protocol families definitions |
181 | /** @name Protocol families definitions |
| 180 | * Same as address families. |
182 | * Same as address families. |
| 181 | */ |
183 | */ |
| 182 | /*@{*/ |
184 | /*@{*/ |
| - | 185 | ||
| 183 | /** Unspecified protocol family. |
186 | /** Unspecified protocol family. |
| 184 | */ |
187 | */ |
| 185 | #define PF_UNSPEC AF_UNSPEC |
188 | #define PF_UNSPEC AF_UNSPEC |
| 186 | 189 | ||
| 187 | /** Unix domain sockets protocol family. |
190 | /** Unix domain sockets protocol family. |
| Line 309... | Line 312... | ||
| 309 | #define PF_RXRPC AF_RXRPC |
312 | #define PF_RXRPC AF_RXRPC |
| 310 | 313 | ||
| 311 | /** Maximum protocol family. |
314 | /** Maximum protocol family. |
| 312 | */ |
315 | */ |
| 313 | #define PF_MAX AF_MAX |
316 | #define PF_MAX AF_MAX |
| - | 317 | ||
| 314 | /*@}*/ |
318 | /*@}*/ |
| 315 | 319 | ||
| 316 | /** @name Socket option levels definitions |
320 | /** @name Socket option levels definitions |
| 317 | * Thanks to BSD these must match IPPROTO_xxx |
321 | * Thanks to BSD these must match IPPROTO_xxx |
| 318 | */ |
322 | */ |
| Line 430... | Line 434... | ||
| 430 | */ |
434 | */ |
| 431 | #define SOL_BLUETOOTH 274 |
435 | #define SOL_BLUETOOTH 274 |
| 432 | 436 | ||
| 433 | /*@}*/ |
437 | /*@}*/ |
| 434 | 438 | ||
| 435 | // |
- | |
| 436 | /* * IPX options. |
- | |
| 437 | */ |
- | |
| 438 | //#define IPX_TYPE 1 |
- | |
| 439 | - | ||
| 440 | /** Socket types. |
439 | /** Socket types. |
| 441 | */ |
440 | */ |
| 442 | typedef enum sock_type{ |
441 | typedef enum sock_type{ |
| 443 | /** Stream (connection oriented) socket. |
442 | /** Stream (connection oriented) socket. |
| 444 | */ |
443 | */ |