Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
139ca21d
Commit
139ca21d
authored
May 31, 1999
by
Martin Mareš
Browse files
Added sk_send_buffer_empty().
parent
fd5f8704
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/socket.h
View file @
139ca21d
...
...
@@ -46,6 +46,12 @@ int sk_send(sock *, unsigned len); /* Send data, <0=err, >0=ok, 0=sleep */
int
sk_send_to
(
sock
*
,
unsigned
len
,
ip_addr
to
,
unsigned
port
);
/* sk_send to given destination */
void
sk_dump_all
(
void
);
static
inline
int
sk_send_buffer_empty
(
sock
*
sk
)
{
return
sk
->
tbuf
==
sk
->
tpos
;
}
/*
* Socket types SA SP DA DP IF TTL SendTo (?=may, -=must not, *=must)
*/
...
...
Write
Preview
Supports
Markdown
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