Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7a4663bc
Commit
7a4663bc
authored
Feb 23, 2003
by
Chas Williams
Committed by
Hideaki Yoshifuji
Feb 23, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: prevent compiler warning when compiling w/o bridging
parent
c5b8ed35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
net/atm/lec.c
net/atm/lec.c
+4
-4
No files found.
net/atm/lec.c
View file @
7a4663bc
...
@@ -36,6 +36,10 @@
...
@@ -36,6 +36,10 @@
#include <linux/if_bridge.h>
#include <linux/if_bridge.h>
#include "../bridge/br_private.h"
#include "../bridge/br_private.h"
static
unsigned
char
bridge_ula_lec
[]
=
{
0x01
,
0x80
,
0xc2
,
0x00
,
0x00
};
static
unsigned
char
bridge_ula_lec
[]
=
{
0x01
,
0x80
,
0xc2
,
0x00
,
0x00
};
extern
struct
net_bridge_fdb_entry
*
(
*
br_fdb_get_hook
)(
struct
net_bridge
*
br
,
unsigned
char
*
addr
);
extern
void
(
*
br_fdb_put_hook
)(
struct
net_bridge_fdb_entry
*
ent
);
#endif
#endif
/* Modular too */
/* Modular too */
...
@@ -52,10 +56,6 @@ static unsigned char bridge_ula_lec[] = {0x01, 0x80, 0xc2, 0x00, 0x00};
...
@@ -52,10 +56,6 @@ static unsigned char bridge_ula_lec[] = {0x01, 0x80, 0xc2, 0x00, 0x00};
#define DPRINTK(format,args...)
#define DPRINTK(format,args...)
#endif
#endif
extern
struct
net_bridge_fdb_entry
*
(
*
br_fdb_get_hook
)(
struct
net_bridge
*
br
,
unsigned
char
*
addr
);
extern
void
(
*
br_fdb_put_hook
)(
struct
net_bridge_fdb_entry
*
ent
);
static
spinlock_t
lec_arp_spinlock
=
SPIN_LOCK_UNLOCKED
;
static
spinlock_t
lec_arp_spinlock
=
SPIN_LOCK_UNLOCKED
;
#define DUMP_PACKETS 0
/* 0 = None,
#define DUMP_PACKETS 0
/* 0 = None,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment