linux_socket.h (74f5d680117105500c6bb15a43b6573ec0c9f085) linux_socket.h (13f20d7e8607cbd09df8ec9f82eaea86874e4af2)
1/*-
2 * Copyright (c) 2000 Assar Westerlund
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 66 unchanged lines hidden (view full) ---

75 (msg)->msg_controllen)) ? \
76 (struct l_cmsghdr *) NULL : \
77 (struct l_cmsghdr *)((char *)(cmsg) + \
78 LINUX_CMSG_ALIGN((cmsg)->cmsg_len)))
79
80#define CMSG_HDRSZ CMSG_LEN(0)
81#define L_CMSG_HDRSZ LINUX_CMSG_LEN(0)
82
1/*-
2 * Copyright (c) 2000 Assar Westerlund
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 66 unchanged lines hidden (view full) ---

75 (msg)->msg_controllen)) ? \
76 (struct l_cmsghdr *) NULL : \
77 (struct l_cmsghdr *)((char *)(cmsg) + \
78 LINUX_CMSG_ALIGN((cmsg)->cmsg_len)))
79
80#define CMSG_HDRSZ CMSG_LEN(0)
81#define L_CMSG_HDRSZ LINUX_CMSG_LEN(0)
82
83/* Supported address families */
84
85#define LINUX_AF_UNSPEC 0
86#define LINUX_AF_UNIX 1
87#define LINUX_AF_INET 2
88#define LINUX_AF_AX25 3
89#define LINUX_AF_IPX 4
90#define LINUX_AF_APPLETALK 5
91#define LINUX_AF_INET6 10
92
83#endif /* _LINUX_SOCKET_H_ */
93#endif /* _LINUX_SOCKET_H_ */