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
nexedi
linux
Commits
a7591416
Commit
a7591416
authored
Apr 28, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o net: save some more bytes in the kernel image moving global zero inits to .bss
parent
2675d50e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
net/core/link_watch.c
net/core/link_watch.c
+2
-2
net/core/pktgen.c
net/core/pktgen.c
+3
-3
net/ipv4/ip_output.c
net/ipv4/ip_output.c
+1
-1
net/ipv4/tcp_input.c
net/ipv4/tcp_input.c
+4
-4
net/ipv4/tcp_minisocks.c
net/ipv4/tcp_minisocks.c
+3
-3
No files found.
net/core/link_watch.c
View file @
a7591416
...
@@ -30,8 +30,8 @@ enum lw_bits {
...
@@ -30,8 +30,8 @@ enum lw_bits {
LW_SE_USED
LW_SE_USED
};
};
static
unsigned
long
linkwatch_flags
=
0
;
static
unsigned
long
linkwatch_flags
;
static
unsigned
long
linkwatch_nextevent
=
0
;
static
unsigned
long
linkwatch_nextevent
;
static
void
linkwatch_event
(
void
*
dummy
);
static
void
linkwatch_event
(
void
*
dummy
);
static
DECLARE_WORK
(
linkwatch_work
,
linkwatch_event
,
NULL
);
static
DECLARE_WORK
(
linkwatch_work
,
linkwatch_event
,
NULL
);
...
...
net/core/pktgen.c
View file @
a7591416
...
@@ -198,8 +198,8 @@ static int debug;
...
@@ -198,8 +198,8 @@ static int debug;
/* Module parameters, defaults. */
/* Module parameters, defaults. */
static
int
count_d
=
100000
;
static
int
count_d
=
100000
;
static
int
ipg_d
=
0
;
static
int
ipg_d
;
static
int
clone_skb_d
=
0
;
static
int
clone_skb_d
;
#define MAX_PKTGEN 8
#define MAX_PKTGEN 8
...
@@ -220,7 +220,7 @@ static inline __u64 getCurMs(void) {
...
@@ -220,7 +220,7 @@ static inline __u64 getCurMs(void) {
}
}
#define PG_PROC_DIR "pktgen"
#define PG_PROC_DIR "pktgen"
static
struct
proc_dir_entry
*
proc_dir
=
0
;
static
struct
proc_dir_entry
*
proc_dir
;
static
struct
net_device
*
setup_inject
(
struct
pktgen_info
*
info
)
static
struct
net_device
*
setup_inject
(
struct
pktgen_info
*
info
)
{
{
...
...
net/ipv4/ip_output.c
View file @
a7591416
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
* Shall we try to damage output packets if routing dev changes?
* Shall we try to damage output packets if routing dev changes?
*/
*/
int
sysctl_ip_dynaddr
=
0
;
int
sysctl_ip_dynaddr
;
int
sysctl_ip_default_ttl
=
IPDEFTTL
;
int
sysctl_ip_default_ttl
=
IPDEFTTL
;
/* Generate a checksum for an outgoing IP datagram. */
/* Generate a checksum for an outgoing IP datagram. */
...
...
net/ipv4/tcp_input.c
View file @
a7591416
...
@@ -78,16 +78,16 @@ int sysctl_tcp_reordering = TCP_FASTRETRANS_THRESH;
...
@@ -78,16 +78,16 @@ int sysctl_tcp_reordering = TCP_FASTRETRANS_THRESH;
#ifdef CONFIG_INET_ECN
#ifdef CONFIG_INET_ECN
int
sysctl_tcp_ecn
=
1
;
int
sysctl_tcp_ecn
=
1
;
#else
#else
int
sysctl_tcp_ecn
=
0
;
int
sysctl_tcp_ecn
;
#endif
#endif
int
sysctl_tcp_dsack
=
1
;
int
sysctl_tcp_dsack
=
1
;
int
sysctl_tcp_app_win
=
31
;
int
sysctl_tcp_app_win
=
31
;
int
sysctl_tcp_adv_win_scale
=
2
;
int
sysctl_tcp_adv_win_scale
=
2
;
int
sysctl_tcp_stdurg
=
0
;
int
sysctl_tcp_stdurg
;
int
sysctl_tcp_rfc1337
=
0
;
int
sysctl_tcp_rfc1337
;
int
sysctl_tcp_max_orphans
=
NR_FILE
;
int
sysctl_tcp_max_orphans
=
NR_FILE
;
int
sysctl_tcp_frto
=
0
;
int
sysctl_tcp_frto
;
#define FLAG_DATA 0x01
/* Incoming frame contained data. */
#define FLAG_DATA 0x01
/* Incoming frame contained data. */
#define FLAG_WIN_UPDATE 0x02
/* Incoming ACK was a window update. */
#define FLAG_WIN_UPDATE 0x02
/* Incoming ACK was a window update. */
...
...
net/ipv4/tcp_minisocks.c
View file @
a7591416
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
#define SYNC_INIT 1
#define SYNC_INIT 1
#endif
#endif
int
sysctl_tcp_tw_recycle
=
0
;
int
sysctl_tcp_tw_recycle
;
int
sysctl_tcp_max_tw_buckets
=
NR_FILE
*
2
;
int
sysctl_tcp_max_tw_buckets
=
NR_FILE
*
2
;
int
sysctl_tcp_syncookies
=
SYNC_INIT
;
int
sysctl_tcp_syncookies
=
SYNC_INIT
;
int
sysctl_tcp_abort_on_overflow
=
0
;
int
sysctl_tcp_abort_on_overflow
;
static
__inline__
int
tcp_in_window
(
u32
seq
,
u32
end_seq
,
u32
s_win
,
u32
e_win
)
static
__inline__
int
tcp_in_window
(
u32
seq
,
u32
end_seq
,
u32
s_win
,
u32
e_win
)
{
{
...
@@ -50,7 +50,7 @@ static __inline__ int tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win)
...
@@ -50,7 +50,7 @@ static __inline__ int tcp_in_window(u32 seq, u32 end_seq, u32 s_win, u32 e_win)
/* New-style handling of TIME_WAIT sockets. */
/* New-style handling of TIME_WAIT sockets. */
int
tcp_tw_count
=
0
;
int
tcp_tw_count
;
/* Must be called with locally disabled BHs. */
/* Must be called with locally disabled BHs. */
...
...
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