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
a8e533ac
Commit
a8e533ac
authored
May 17, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o ipv6/addrconf: use C99 struct init style for inet6_rtnetlink_table
parent
7e2a8e1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+8
-16
No files found.
net/ipv6/addrconf.c
View file @
a8e533ac
...
@@ -2389,22 +2389,14 @@ static void inet6_ifa_notify(int event, struct inet6_ifaddr *ifa)
...
@@ -2389,22 +2389,14 @@ static void inet6_ifa_notify(int event, struct inet6_ifaddr *ifa)
netlink_broadcast
(
rtnl
,
skb
,
0
,
RTMGRP_IPV6_IFADDR
,
GFP_ATOMIC
);
netlink_broadcast
(
rtnl
,
skb
,
0
,
RTMGRP_IPV6_IFADDR
,
GFP_ATOMIC
);
}
}
static
struct
rtnetlink_link
inet6_rtnetlink_table
[
RTM_MAX
-
RTM_BASE
+
1
]
=
static
struct
rtnetlink_link
inet6_rtnetlink_table
[
RTM_MAX
-
RTM_BASE
+
1
]
=
{
{
[
RTM_NEWADDR
-
RTM_BASE
]
=
{
.
doit
=
inet6_rtm_newaddr
,
},
{
NULL
,
NULL
,
},
[
RTM_DELADDR
-
RTM_BASE
]
=
{
.
doit
=
inet6_rtm_deladdr
,
},
{
NULL
,
NULL
,
},
[
RTM_GETADDR
-
RTM_BASE
]
=
{
.
dumpit
=
inet6_dump_ifaddr
,
},
{
NULL
,
NULL
,
},
[
RTM_NEWROUTE
-
RTM_BASE
]
=
{
.
doit
=
inet6_rtm_newroute
,
},
{
NULL
,
NULL
,
},
[
RTM_DELROUTE
-
RTM_BASE
]
=
{
.
doit
=
inet6_rtm_delroute
,
},
[
RTM_GETROUTE
-
RTM_BASE
]
=
{
.
doit
=
inet6_rtm_getroute
,
{
inet6_rtm_newaddr
,
NULL
,
},
.
dumpit
=
inet6_dump_fib
,
},
{
inet6_rtm_deladdr
,
NULL
,
},
{
NULL
,
inet6_dump_ifaddr
,
},
{
NULL
,
NULL
,
},
{
inet6_rtm_newroute
,
NULL
,
},
{
inet6_rtm_delroute
,
NULL
,
},
{
inet6_rtm_getroute
,
inet6_dump_fib
,
},
{
NULL
,
NULL
,
},
};
};
static
void
ipv6_ifa_notify
(
int
event
,
struct
inet6_ifaddr
*
ifp
)
static
void
ipv6_ifa_notify
(
int
event
,
struct
inet6_ifaddr
*
ifp
)
...
...
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