Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
1f0ea728
Commit
1f0ea728
authored
Nov 10, 2001
by
Chad Barb
Browse files
Added local Multicast Loopback shutoff ioctl to try to bring down CPU usage.
parent
b89d430b
Changes
1
Hide whitespace changes
Inline
Side-by-side
os/frisbee/f_network.c
View file @
1f0ea728
...
...
@@ -155,6 +155,11 @@ void n_init( ushort receivePort, ushort sendPort, uint sendAddress )
exit
(
1
);
}
setsockopt
(
sock
,
IPPROTO_IP
,
IP_MULTICAST_TTL
,
&
ttl
,
sizeof
(
ttl
));
{
/* disable local echo */
u_char
loop
=
0
;
setsockopt
(
sock
,
IPPROTO_IP
,
IP_MULTICAST_LOOP
,
&
loop
,
sizeof
(
loop
));
}
}
else
#endif
/* MCAST */
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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