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
Kirill Smelkov
linux
Commits
9ca399c5
Commit
9ca399c5
authored
Sep 22, 2003
by
Chas Williams
Committed by
Stephen Hemminger
Sep 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: If CLIP is not enabled, try_atm_clp_ops() should always fail.
parent
6b9c2957
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
include/net/atmclip.h
include/net/atmclip.h
+8
-0
net/atm/proc.c
net/atm/proc.c
+0
-2
No files found.
include/net/atmclip.h
View file @
9ca399c5
...
@@ -67,7 +67,15 @@ struct atm_clip_ops {
...
@@ -67,7 +67,15 @@ struct atm_clip_ops {
};
};
void
atm_clip_ops_set
(
struct
atm_clip_ops
*
);
void
atm_clip_ops_set
(
struct
atm_clip_ops
*
);
#if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE)
int
try_atm_clip_ops
(
void
);
int
try_atm_clip_ops
(
void
);
#else
static
inline
int
try_atm_clip_ops
(
void
)
{
return
0
;
}
#endif
extern
struct
neigh_table
*
clip_tbl_hook
;
extern
struct
neigh_table
*
clip_tbl_hook
;
extern
struct
atm_clip_ops
*
atm_clip_ops
;
extern
struct
atm_clip_ops
*
atm_clip_ops
;
...
...
net/atm/proc.c
View file @
9ca399c5
...
@@ -32,10 +32,8 @@
...
@@ -32,10 +32,8 @@
#include "common.h"
/* atm_proc_init prototype */
#include "common.h"
/* atm_proc_init prototype */
#include "signaling.h"
/* to get sigd - ugly too */
#include "signaling.h"
/* to get sigd - ugly too */
#if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE)
#include <net/atmclip.h>
#include <net/atmclip.h>
#include "ipcommon.h"
#include "ipcommon.h"
#endif
#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
#include "lec.h"
#include "lec.h"
...
...
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