Revision 9634d903 slirp/sbuf.c
b/slirp/sbuf.c | ||
---|---|---|
7 | 7 |
|
8 | 8 |
#include <slirp.h> |
9 | 9 |
|
10 |
static void sbappendsb(struct sbuf *sb, struct mbuf *m); |
|
11 |
|
|
10 | 12 |
/* Done as a macro in socket.h */ |
11 | 13 |
/* int |
12 | 14 |
* sbspace(struct sockbuff *sb) |
... | ... | |
133 | 135 |
* Copy the data from m into sb |
134 | 136 |
* The caller is responsible to make sure there's enough room |
135 | 137 |
*/ |
136 |
void |
|
137 |
sbappendsb(sb, m) |
|
138 |
struct sbuf *sb; |
|
139 |
struct mbuf *m; |
|
138 |
static void |
|
139 |
sbappendsb(struct sbuf *sb, struct mbuf *m) |
|
140 | 140 |
{ |
141 | 141 |
int len, n, nn; |
142 | 142 |
|
Also available in: Unified diff