mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Add const etc. to places forgotten from the previous commit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3453 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9634d9031c
commit
7878ff6bc7
6 changed files with 9 additions and 9 deletions
|
@ -46,6 +46,10 @@
|
|||
|
||||
u_int16_t ip_id;
|
||||
|
||||
/* Number of packets queued before we start sending
|
||||
* (to prevent allocing too many mbufs) */
|
||||
#define IF_THRESH 10
|
||||
|
||||
/*
|
||||
* IP output. The packet in mbuf chain m contains a skeletal IP
|
||||
* header (with len, off, ttl, proto, tos, src, dst).
|
||||
|
@ -87,7 +91,7 @@ ip_output(so, m0)
|
|||
* the packet or packet fragments
|
||||
*/
|
||||
/* XXX Hmmm... */
|
||||
/* if (if_queued > if_thresh && towrite <= 0) {
|
||||
/* if (if_queued > IF_THRESH && towrite <= 0) {
|
||||
* error = ENOBUFS;
|
||||
* goto bad;
|
||||
* }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue