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
4a077a9c
Commit
4a077a9c
authored
Apr 21, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/acme/net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents
488d14ae
21bd4d21
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
22 deletions
+44
-22
net/atm/lec.c
net/atm/lec.c
+3
-9
net/core/rtnetlink.c
net/core/rtnetlink.c
+1
-3
net/netlink/netlink_dev.c
net/netlink/netlink_dev.c
+40
-10
No files found.
net/atm/lec.c
View file @
4a077a9c
...
@@ -552,15 +552,9 @@ static struct atmdev_ops lecdev_ops = {
...
@@ -552,15 +552,9 @@ static struct atmdev_ops lecdev_ops = {
};
};
static
struct
atm_dev
lecatm_dev
=
{
static
struct
atm_dev
lecatm_dev
=
{
&
lecdev_ops
,
.
ops
=
&
lecdev_ops
,
NULL
,
/*PHY*/
.
type
=
"lec"
,
"lec"
,
/*type*/
.
number
=
999
,
/* dummy device number */
999
,
/*dummy device number*/
NULL
,
NULL
,
/*no VCCs*/
NULL
,
NULL
,
/*no data*/
0
,
/*no flags*/
NULL
,
/* no local address*/
{
0
}
/*no ESI or rest of the atm_dev struct things*/
};
};
/*
/*
...
...
net/core/rtnetlink.c
View file @
4a077a9c
...
@@ -539,9 +539,7 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi
...
@@ -539,9 +539,7 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi
}
}
struct
notifier_block
rtnetlink_dev_notifier
=
{
struct
notifier_block
rtnetlink_dev_notifier
=
{
rtnetlink_event
,
.
notifier_call
=
rtnetlink_event
,
NULL
,
0
};
};
...
...
net/netlink/netlink_dev.c
View file @
4a077a9c
...
@@ -170,16 +170,46 @@ static struct file_operations netlink_fops = {
...
@@ -170,16 +170,46 @@ static struct file_operations netlink_fops = {
.
release
=
netlink_release
,
.
release
=
netlink_release
,
};
};
static
struct
{
char
*
name
;
int
minor
;
}
entries
[]
=
{
static
struct
{
{
"route"
,
0
},
char
*
name
;
{
"skip"
,
1
},
int
minor
;
{
"usersock"
,
2
},
}
entries
[]
=
{
{
"fwmonitor"
,
3
},
{
{
"tcpdiag"
,
4
},
.
name
=
"route"
,
{
"arpd"
,
8
},
.
minor
=
0
,
{
"route6"
,
11
},
},
{
"ip6_fw"
,
13
},
{
{
"dnrtmsg"
,
13
},
.
name
=
"skip"
,
.
minor
=
1
,
},
{
.
name
=
"usersock"
,
.
minor
=
2
,
},
{
.
name
=
"fwmonitor"
,
.
minor
=
3
,
},
{
.
name
=
"tcpdiag"
,
.
minor
=
4
,
},
{
.
name
=
"arpd"
,
.
minor
=
8
,
},
{
.
name
=
"route6"
,
.
minor
=
11
,
},
{
.
name
=
"ip6_fw"
,
.
minor
=
13
,
},
{
.
name
=
"dnrtmsg"
,
.
minor
=
13
,
},
};
};
static
void
__init
make_devfs_entries
(
const
char
*
name
,
int
minor
)
static
void
__init
make_devfs_entries
(
const
char
*
name
,
int
minor
)
...
...
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