diff options
author | Chas Williams <chas@cmf.nrl.navy.mil> | 2007-12-31 02:18:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:00:14 -0500 |
commit | fb64c735a52f396aa261844b851cd820a80dee46 (patch) | |
tree | a68121d918b12d95550814c2b8deba0b6157c289 /include/linux/atmbr2684.h | |
parent | 097b19a9987204b898299260ee3ebff4cf716800 (diff) |
[ATM]: [br2864] whitespace cleanup
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/atmbr2684.h')
-rw-r--r-- | include/linux/atmbr2684.h | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/include/linux/atmbr2684.h b/include/linux/atmbr2684.h index ccdab6c216cd..52bf72affbba 100644 --- a/include/linux/atmbr2684.h +++ b/include/linux/atmbr2684.h | |||
@@ -15,7 +15,7 @@ | |||
15 | #define BR2684_MEDIA_802_6 (4) /* 802.6 */ | 15 | #define BR2684_MEDIA_802_6 (4) /* 802.6 */ |
16 | 16 | ||
17 | /* used only at device creation: */ | 17 | /* used only at device creation: */ |
18 | #define BR2684_FLAG_ROUTED (1<<16) /* payload is routed, not bridged */ | 18 | #define BR2684_FLAG_ROUTED (1<<16) /* payload is routed, not bridged */ |
19 | 19 | ||
20 | /* | 20 | /* |
21 | * Is there FCS inbound on this VC? This currently isn't supported. | 21 | * Is there FCS inbound on this VC? This currently isn't supported. |
@@ -45,17 +45,16 @@ | |||
45 | #define BR2684_PAYLOAD_ROUTED (0) | 45 | #define BR2684_PAYLOAD_ROUTED (0) |
46 | #define BR2684_PAYLOAD_BRIDGED (1) | 46 | #define BR2684_PAYLOAD_BRIDGED (1) |
47 | 47 | ||
48 | |||
49 | /* | 48 | /* |
50 | * This is for the ATM_NEWBACKENDIF call - these are like socket families: | 49 | * This is for the ATM_NEWBACKENDIF call - these are like socket families: |
51 | * the first element of the structure is the backend number and the rest | 50 | * the first element of the structure is the backend number and the rest |
52 | * is per-backend specific | 51 | * is per-backend specific |
53 | */ | 52 | */ |
54 | struct atm_newif_br2684 { | 53 | struct atm_newif_br2684 { |
55 | atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */ | 54 | atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */ |
56 | int media; /* BR2684_MEDIA_*, flags in upper bits */ | 55 | int media; /* BR2684_MEDIA_*, flags in upper bits */ |
57 | char ifname[IFNAMSIZ]; | 56 | char ifname[IFNAMSIZ]; |
58 | int mtu; | 57 | int mtu; |
59 | }; | 58 | }; |
60 | 59 | ||
61 | /* | 60 | /* |
@@ -66,10 +65,10 @@ struct atm_newif_br2684 { | |||
66 | #define BR2684_FIND_BYNUM (1) | 65 | #define BR2684_FIND_BYNUM (1) |
67 | #define BR2684_FIND_BYIFNAME (2) | 66 | #define BR2684_FIND_BYIFNAME (2) |
68 | struct br2684_if_spec { | 67 | struct br2684_if_spec { |
69 | int method; /* BR2684_FIND_* */ | 68 | int method; /* BR2684_FIND_* */ |
70 | union { | 69 | union { |
71 | char ifname[IFNAMSIZ]; | 70 | char ifname[IFNAMSIZ]; |
72 | int devnum; | 71 | int devnum; |
73 | } spec; | 72 | } spec; |
74 | }; | 73 | }; |
75 | 74 | ||
@@ -79,16 +78,16 @@ struct br2684_if_spec { | |||
79 | * is per-backend specific | 78 | * is per-backend specific |
80 | */ | 79 | */ |
81 | struct atm_backend_br2684 { | 80 | struct atm_backend_br2684 { |
82 | atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */ | 81 | atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */ |
83 | struct br2684_if_spec ifspec; | 82 | struct br2684_if_spec ifspec; |
84 | int fcs_in; /* BR2684_FCSIN_* */ | 83 | int fcs_in; /* BR2684_FCSIN_* */ |
85 | int fcs_out; /* BR2684_FCSOUT_* */ | 84 | int fcs_out; /* BR2684_FCSOUT_* */ |
86 | int fcs_auto; /* 1: fcs_{in,out} disabled if no FCS rx'ed */ | 85 | int fcs_auto; /* 1: fcs_{in,out} disabled if no FCS rx'ed */ |
87 | int encaps; /* BR2684_ENCAPS_* */ | 86 | int encaps; /* BR2684_ENCAPS_* */ |
88 | int has_vpiid; /* 1: use vpn_id - Unsupported */ | 87 | int has_vpiid; /* 1: use vpn_id - Unsupported */ |
89 | __u8 vpn_id[7]; | 88 | __u8 vpn_id[7]; |
90 | int send_padding; /* unsupported */ | 89 | int send_padding; /* unsupported */ |
91 | int min_size; /* we will pad smaller packets than this */ | 90 | int min_size; /* we will pad smaller packets than this */ |
92 | }; | 91 | }; |
93 | 92 | ||
94 | /* | 93 | /* |
@@ -97,8 +96,8 @@ struct atm_backend_br2684 { | |||
97 | * efficient per-if in/out filters, this support will be removed | 96 | * efficient per-if in/out filters, this support will be removed |
98 | */ | 97 | */ |
99 | struct br2684_filter { | 98 | struct br2684_filter { |
100 | __be32 prefix; /* network byte order */ | 99 | __be32 prefix; /* network byte order */ |
101 | __be32 netmask; /* 0 = disable filter */ | 100 | __be32 netmask; /* 0 = disable filter */ |
102 | }; | 101 | }; |
103 | 102 | ||
104 | struct br2684_filter_set { | 103 | struct br2684_filter_set { |
@@ -107,8 +106,8 @@ struct br2684_filter_set { | |||
107 | }; | 106 | }; |
108 | 107 | ||
109 | enum br2684_payload { | 108 | enum br2684_payload { |
110 | p_routed = BR2684_PAYLOAD_ROUTED, | 109 | p_routed = BR2684_PAYLOAD_ROUTED, |
111 | p_bridged = BR2684_PAYLOAD_BRIDGED, | 110 | p_bridged = BR2684_PAYLOAD_BRIDGED, |
112 | }; | 111 | }; |
113 | 112 | ||
114 | #define BR2684_SETFILT _IOW( 'a', ATMIOC_BACKEND + 0, \ | 113 | #define BR2684_SETFILT _IOW( 'a', ATMIOC_BACKEND + 0, \ |