Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
7a3d7bf1
Commit
7a3d7bf1
authored
Jan 07, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stub for kernel_interface_operational.
parent
22be80a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
kernel.h
kernel.h
+1
-0
kernel_netlink.c
kernel_netlink.c
+6
-0
kernel_socket.c
kernel_socket.c
+6
-0
No files found.
kernel.h
View file @
7a3d7bf1
...
@@ -37,6 +37,7 @@ struct kernel_route {
...
@@ -37,6 +37,7 @@ struct kernel_route {
int
kernel_setup
(
int
setup
,
int
ipv4
);
int
kernel_setup
(
int
setup
,
int
ipv4
);
int
kernel_setup_socket
(
int
setup
);
int
kernel_setup_socket
(
int
setup
);
int
kernel_setup_interface
(
int
setup
,
const
char
*
ifname
,
int
ifindex
);
int
kernel_setup_interface
(
int
setup
,
const
char
*
ifname
,
int
ifindex
);
int
kernel_interface_operational
(
const
char
*
ifname
,
int
ifindex
);
int
kernel_interface_ipv4
(
const
char
*
ifname
,
int
ifindex
,
char
*
addr_r
);
int
kernel_interface_ipv4
(
const
char
*
ifname
,
int
ifindex
,
char
*
addr_r
);
int
kernel_interface_mtu
(
const
char
*
ifname
,
int
ifindex
);
int
kernel_interface_mtu
(
const
char
*
ifname
,
int
ifindex
);
int
kernel_interface_wireless
(
const
char
*
ifname
,
int
ifindex
);
int
kernel_interface_wireless
(
const
char
*
ifname
,
int
ifindex
);
...
...
kernel_netlink.c
View file @
7a3d7bf1
...
@@ -531,6 +531,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex)
...
@@ -531,6 +531,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex)
return
1
;
return
1
;
}
}
int
kernel_interface_operational
(
const
char
*
ifname
,
int
ifindex
)
{
return
1
;
}
int
int
kernel_interface_ipv4
(
const
char
*
ifname
,
int
ifindex
,
char
*
addr_r
)
kernel_interface_ipv4
(
const
char
*
ifname
,
int
ifindex
,
char
*
addr_r
)
{
{
...
...
kernel_socket.c
View file @
7a3d7bf1
...
@@ -220,6 +220,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex)
...
@@ -220,6 +220,12 @@ kernel_setup_interface(int setup, const char *ifname, int ifindex)
return
1
;
return
1
;
}
}
int
kernel_interface_operational
(
const
char
*
ifname
,
int
ifindex
)
{
return
1
;
}
int
int
kernel_interface_ipv4
(
const
char
*
ifname
,
int
ifindex
,
char
*
addr_r
)
kernel_interface_ipv4
(
const
char
*
ifname
,
int
ifindex
,
char
*
addr_r
)
{
{
...
...
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