David 'Digit' Turner | e5446fe | 2009-05-20 13:00:10 +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_PPPOLAC_H |
| 13 | #define __LINUX_IF_PPPOLAC_H |
| 14 | |
| 15 | #include <linux/socket.h> |
| 16 | #include <linux/types.h> |
| 17 | |
| 18 | #define PX_PROTO_OLAC 2 |
| 19 | |
| 20 | struct sockaddr_pppolac { |
| 21 | sa_family_t sa_family; |
| 22 | unsigned int sa_protocol; |
| 23 | int udp_socket; |
| 24 | struct __attribute__((packed)) { |
| 25 | __u16 tunnel, session; |
| 26 | } local, remote; |
| 27 | } __attribute__((packed)); |
| 28 | |
| 29 | #endif |