Skip to content

Commit fb64c73

Browse files
Chas Williamsdavem330
authored andcommitted
[ATM]: [br2864] whitespace cleanup
Signed-off-by: Chas Williams <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 097b19a commit fb64c73

File tree

2 files changed

+135
-130
lines changed

2 files changed

+135
-130
lines changed

include/linux/atmbr2684.h

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define BR2684_MEDIA_802_6 (4) /* 802.6 */
1616

1717
/* 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 */
1919

2020
/*
2121
* Is there FCS inbound on this VC? This currently isn't supported.
@@ -45,17 +45,16 @@
4545
#define BR2684_PAYLOAD_ROUTED (0)
4646
#define BR2684_PAYLOAD_BRIDGED (1)
4747

48-
4948
/*
5049
* This is for the ATM_NEWBACKENDIF call - these are like socket families:
5150
* the first element of the structure is the backend number and the rest
5251
* is per-backend specific
5352
*/
5453
struct atm_newif_br2684 {
55-
atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
56-
int media; /* BR2684_MEDIA_*, flags in upper bits */
57-
char ifname[IFNAMSIZ];
58-
int mtu;
54+
atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
55+
int media; /* BR2684_MEDIA_*, flags in upper bits */
56+
char ifname[IFNAMSIZ];
57+
int mtu;
5958
};
6059

6160
/*
@@ -66,10 +65,10 @@ struct atm_newif_br2684 {
6665
#define BR2684_FIND_BYNUM (1)
6766
#define BR2684_FIND_BYIFNAME (2)
6867
struct br2684_if_spec {
69-
int method; /* BR2684_FIND_* */
68+
int method; /* BR2684_FIND_* */
7069
union {
71-
char ifname[IFNAMSIZ];
72-
int devnum;
70+
char ifname[IFNAMSIZ];
71+
int devnum;
7372
} spec;
7473
};
7574

@@ -79,16 +78,16 @@ struct br2684_if_spec {
7978
* is per-backend specific
8079
*/
8180
struct atm_backend_br2684 {
82-
atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
81+
atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
8382
struct br2684_if_spec ifspec;
84-
int fcs_in; /* BR2684_FCSIN_* */
85-
int fcs_out; /* BR2684_FCSOUT_* */
86-
int fcs_auto; /* 1: fcs_{in,out} disabled if no FCS rx'ed */
87-
int encaps; /* BR2684_ENCAPS_* */
88-
int has_vpiid; /* 1: use vpn_id - Unsupported */
89-
__u8 vpn_id[7];
90-
int send_padding; /* unsupported */
91-
int min_size; /* we will pad smaller packets than this */
83+
int fcs_in; /* BR2684_FCSIN_* */
84+
int fcs_out; /* BR2684_FCSOUT_* */
85+
int fcs_auto; /* 1: fcs_{in,out} disabled if no FCS rx'ed */
86+
int encaps; /* BR2684_ENCAPS_* */
87+
int has_vpiid; /* 1: use vpn_id - Unsupported */
88+
__u8 vpn_id[7];
89+
int send_padding; /* unsupported */
90+
int min_size; /* we will pad smaller packets than this */
9291
};
9392

9493
/*
@@ -97,8 +96,8 @@ struct atm_backend_br2684 {
9796
* efficient per-if in/out filters, this support will be removed
9897
*/
9998
struct br2684_filter {
100-
__be32 prefix; /* network byte order */
101-
__be32 netmask; /* 0 = disable filter */
99+
__be32 prefix; /* network byte order */
100+
__be32 netmask; /* 0 = disable filter */
102101
};
103102

104103
struct br2684_filter_set {
@@ -107,8 +106,8 @@ struct br2684_filter_set {
107106
};
108107

109108
enum br2684_payload {
110-
p_routed = BR2684_PAYLOAD_ROUTED,
111-
p_bridged = BR2684_PAYLOAD_BRIDGED,
109+
p_routed = BR2684_PAYLOAD_ROUTED,
110+
p_bridged = BR2684_PAYLOAD_BRIDGED,
112111
};
113112

114113
#define BR2684_SETFILT _IOW( 'a', ATMIOC_BACKEND + 0, \

0 commit comments

Comments
 (0)