chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: correct type of key exchange strings from uint8_t* to char*
[secnet.git]
/
slip.c
diff --git
a/slip.c
b/slip.c
index de138f9fd98a4e904aeb14c4936662b67f6da696..a296e420597ee9e1ae81ef1ea0b16492b25ee91c 100644
(file)
--- a/
slip.c
+++ b/
slip.c
@@
-33,7
+33,7
@@
static void slip_stuff(struct slip *st, struct buffer_if *buf, int fd)
{
uint8_t txbuf[DEFAULT_BUFSIZE];
uint8_t *i;
{
uint8_t txbuf[DEFAULT_BUFSIZE];
uint8_t *i;
-
u
int32_t j=0;
+ int32_t j=0;
BUF_ASSERT_USED(buf);
BUF_ASSERT_USED(buf);
@@
-132,8
+132,7
@@
struct userv {
};
static int userv_beforepoll(void *sst, struct pollfd *fds, int *nfds_io,
};
static int userv_beforepoll(void *sst, struct pollfd *fds, int *nfds_io,
- int *timeout_io, const struct timeval *tv_now,
- uint64_t *now)
+ int *timeout_io)
{
struct userv *st=sst;
{
struct userv *st=sst;
@@
-149,8
+148,7
@@
static int userv_beforepoll(void *sst, struct pollfd *fds, int *nfds_io,
return 0;
}
return 0;
}
-static void userv_afterpoll(void *sst, struct pollfd *fds, int nfds,
- const struct timeval *tv_now, uint64_t *now)
+static void userv_afterpoll(void *sst, struct pollfd *fds, int nfds)
{
struct userv *st=sst;
uint8_t rxbuf[DEFAULT_BUFSIZE];
{
struct userv *st=sst;
uint8_t rxbuf[DEFAULT_BUFSIZE];
@@
-407,7
+405,6
@@
static list_t *userv_apply(closure_t *self, struct cloc loc, dict_t *context,
return new_closure(&st->slip.nl.cl);
}
return new_closure(&st->slip.nl.cl);
}
-init_module slip_module;
void slip_module(dict_t *dict)
{
add_closure(dict,"userv-ipif",userv_apply);
void slip_module(dict_t *dict)
{
add_closure(dict,"userv-ipif",userv_apply);