David 'Digit' Turner | 3ddc15e | 2009-06-12 14:21:49 +0200 | [diff] [blame^] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef __LINUX_IF_PPPOPNS_H |
| 13 | #define __LINUX_IF_PPPOPNS_H |
| 14 | |
| 15 | #include <linux/socket.h> |
| 16 | #include <linux/types.h> |
| 17 | |
| 18 | #define PX_PROTO_OPNS 3 |
| 19 | |
| 20 | struct sockaddr_pppopns { |
| 21 | sa_family_t sa_family; |
| 22 | unsigned int sa_protocol; |
| 23 | int tcp_socket; |
| 24 | __u16 local; |
| 25 | __u16 remote; |
| 26 | } __attribute__((packed)); |
| 27 | |
| 28 | #endif |