1 Index: linux-atm-2.4.1/configure.in
2 ===================================================================
3 --- linux-atm-2.4.1.orig/configure.in 2007-10-20 19:19:10.594232210 +0200
4 +++ linux-atm-2.4.1/configure.in 2007-10-20 19:19:16.214552491 +0200
10 - src/debug/Makefile \
14 - src/maint/Makefile \
16 - src/ilmid/Makefile \
17 - src/ilmid/asn1/Makefile \
21 - src/mpoad/Makefile \
22 - src/switch/Makefile \
23 - src/switch/debug/Makefile \
24 - src/switch/tcp/Makefile \
25 - src/config/Makefile \
26 - src/config/init-redhat/Makefile \
27 - src/extra/Makefile \
28 - src/extra/linux-atm.spec \
29 - src/extra/ANS/Makefile
32 Index: linux-atm-2.4.1/src/Makefile.am
33 ===================================================================
34 --- linux-atm-2.4.1.orig/src/Makefile.am 2007-10-20 19:19:10.602232664 +0200
35 +++ linux-atm-2.4.1/src/Makefile.am 2007-10-20 19:19:16.218552720 +0200
37 -SUBDIRS = include lib test debug qgen saal sigd maint arpd ilmid man led lane \
38 - mpoad switch config extra
39 +SUBDIRS = include lib
41 Index: linux-atm-2.4.1/src/include/linux/atmbr2684.h
42 ===================================================================
43 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
44 +++ linux-atm-2.4.1/src/include/linux/atmbr2684.h 2007-10-20 19:19:16.230553402 +0200
46 +#ifndef _LINUX_ATMBR2684_H
47 +#define _LINUX_ATMBR2684_H
49 +#include <linux/atm.h>
50 +#include <linux/if.h> /* For IFNAMSIZ */
51 +#include <linux/if_ether.h> /* ETH_P_* */
54 + * Type of media we're bridging (ethernet, token ring, etc) Currently only
55 + * ethernet is supported
57 +#define BR2684_MEDIA_ETHERNET (0) /* 802.3 */
58 +#define BR2684_MEDIA_802_4 (1) /* 802.4 */
59 +#define BR2684_MEDIA_TR (2) /* 802.5 - token ring */
60 +#define BR2684_MEDIA_FDDI (3)
61 +#define BR2684_MEDIA_802_6 (4) /* 802.6 */
64 + * Is there FCS inbound on this VC? This currently isn't supported.
66 +#define BR2684_FCSIN_NO (0)
67 +#define BR2684_FCSIN_IGNORE (1)
68 +#define BR2684_FCSIN_VERIFY (2)
71 + * Is there FCS outbound on this VC? This currently isn't supported.
73 +#define BR2684_FCSOUT_NO (0)
74 +#define BR2684_FCSOUT_SENDZERO (1)
75 +#define BR2684_FCSOUT_GENERATE (2)
78 + * Does this VC include LLC encapsulation?
80 +#define BR2684_ENCAPS_VC (0) /* VC-mux */
81 +#define BR2684_ENCAPS_LLC (1)
82 +#define BR2684_ENCAPS_AUTODETECT (2) /* Unsuported */
85 + * Is this VC bridged or routed?
88 +#define BR2684_PAYLOAD_ROUTED (0)
89 +#define BR2684_PAYLOAD_BRIDGED (1)
93 + * This is for the ATM_NEWBACKENDIF call - these are like socket families:
94 + * the first element of the structure is the backend number and the rest
95 + * is per-backend specific
97 +struct atm_newif_br2684 {
98 + atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
99 + int media; /* BR2684_MEDIA_* */
100 + char ifname[IFNAMSIZ];
102 + int payload; /* bridged or routed */
106 + * This structure is used to specify a br2684 interface - either by a
107 + * positive integer (returned by ATM_NEWBACKENDIF) or the interfaces name
109 +#define BR2684_FIND_BYNOTHING (0)
110 +#define BR2684_FIND_BYNUM (1)
111 +#define BR2684_FIND_BYIFNAME (2)
112 +struct br2684_if_spec {
113 + int method; /* BR2684_FIND_* */
115 + char ifname[IFNAMSIZ];
121 + * This is for the ATM_SETBACKEND call - these are like socket families:
122 + * the first element of the structure is the backend number and the rest
123 + * is per-backend specific
125 +struct atm_backend_br2684 {
126 + atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
127 + struct br2684_if_spec ifspec;
128 + int fcs_in; /* BR2684_FCSIN_* */
129 + int fcs_out; /* BR2684_FCSOUT_* */
130 + int fcs_auto; /* 1: fcs_{in,out} disabled if no FCS rx'ed */
131 + int encaps; /* BR2684_ENCAPS_* */
132 + int payload; /* BR2684_PAYLOAD_* */
133 + int has_vpiid; /* 1: use vpn_id - Unsupported */
135 + int send_padding; /* unsupported */
136 + int min_size; /* we will pad smaller packets than this */
140 + * The BR2684_SETFILT ioctl is an experimental mechanism for folks
141 + * terminating a large number of IP-only vcc's. When netfilter allows
142 + * efficient per-if in/out filters, this support will be removed
144 +struct br2684_filter {
145 + __u32 prefix; /* network byte order */
146 + __u32 netmask; /* 0 = disable filter */
149 +struct br2684_filter_set {
150 + struct br2684_if_spec ifspec;
151 + struct br2684_filter filter;
154 +enum br2684_payload {
155 + p_routed = BR2684_PAYLOAD_ROUTED,
156 + p_bridged = BR2684_PAYLOAD_BRIDGED,
159 +#define BR2684_SETFILT _IOW( 'a', ATMIOC_BACKEND + 0, \
160 + struct br2684_filter_set)
162 +#endif /* _LINUX_ATMBR2684_H */