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
8549ccb7
Commit
8549ccb7
authored
Jul 18, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Manual content merge with Rusty's ISO struct initializers patch.
parents
eb1f4c38
1d086a5d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
304 additions
and
247 deletions
+304
-247
net/appletalk/aarp.c
net/appletalk/aarp.c
+126
-105
net/appletalk/ddp.c
net/appletalk/ddp.c
+130
-128
net/appletalk/sysctl_net_atalk.c
net/appletalk/sysctl_net_atalk.c
+48
-14
No files found.
net/appletalk/aarp.c
View file @
8549ccb7
This diff is collapsed.
Click to expand it.
net/appletalk/ddp.c
View file @
8549ccb7
This diff is collapsed.
Click to expand it.
net/appletalk/sysctl_net_atalk.c
View file @
8549ccb7
/*
-*- linux-c -*-
/*
* sysctl_net_atalk.c: sysctl interface to net AppleTalk subsystem.
*
* Begun April 1, 1996, Mike Shaver.
...
...
@@ -17,25 +17,59 @@ extern int sysctl_aarp_resolve_time;
#ifdef CONFIG_SYSCTL
static
ctl_table
atalk_table
[]
=
{
{
NET_ATALK_AARP_EXPIRY_TIME
,
"aarp-expiry-time"
,
&
sysctl_aarp_expiry_time
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec_jiffies
},
{
NET_ATALK_AARP_TICK_TIME
,
"aarp-tick-time"
,
&
sysctl_aarp_tick_time
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec_jiffies
},
{
NET_ATALK_AARP_RETRANSMIT_LIMIT
,
"aarp-retransmit-limit"
,
&
sysctl_aarp_retransmit_limit
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec
},
{
NET_ATALK_AARP_RESOLVE_TIME
,
"aarp-resolve-time"
,
&
sysctl_aarp_resolve_time
,
sizeof
(
int
),
0644
,
NULL
,
&
proc_dointvec_jiffies
},
{
0
}
{
.
ctl_name
=
NET_ATALK_AARP_EXPIRY_TIME
,
.
procname
=
"aarp-expiry-time"
,
.
data
=
&
sysctl_aarp_expiry_time
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec_jiffies
,
},
{
.
ctl_name
=
NET_ATALK_AARP_TICK_TIME
,
.
procname
=
"aarp-tick-time"
,
.
data
=
&
sysctl_aarp_tick_time
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec_jiffies
,
},
{
.
ctl_name
=
NET_ATALK_AARP_RETRANSMIT_LIMIT
,
.
procname
=
"aarp-retransmit-limit"
,
.
data
=
&
sysctl_aarp_retransmit_limit
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec
,
},
{
.
ctl_name
=
NET_ATALK_AARP_RESOLVE_TIME
,
.
procname
=
"aarp-resolve-time"
,
.
data
=
&
sysctl_aarp_resolve_time
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec_jiffies
,
},
{
0
},
};
static
ctl_table
atalk_dir_table
[]
=
{
{
NET_ATALK
,
"appletalk"
,
NULL
,
0
,
0555
,
atalk_table
},
{
0
}
{
.
ctl_name
=
NET_ATALK
,
.
procname
=
"appletalk"
,
.
mode
=
0555
,
.
child
=
atalk_table
,
},
{
0
},
};
static
ctl_table
atalk_root_table
[]
=
{
{
CTL_NET
,
"net"
,
NULL
,
0
,
0555
,
atalk_dir_table
},
{
0
}
{
.
ctl_name
=
CTL_NET
,
.
procname
=
"net"
,
.
mode
=
0555
,
.
child
=
atalk_dir_table
,
},
{
0
},
};
static
struct
ctl_table_header
*
atalk_table_header
;
...
...
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