version 1.5, 2022/07/11 15:59:42
|
version 1.6, 2022/07/15 09:19:25
|
Line 8
|
Line 8
|
static intptr_t fwsync_wchan; |
static intptr_t fwsync_wchan; |
|
|
|
|
static int |
|
fwsync_add_state_4(const struct fws_proto *pkt) |
|
{ |
|
DTRACE(); |
|
|
|
return 0; |
|
} |
|
|
|
static int |
|
fwsync_add_state_6(const struct fws_proto *pkt) |
|
{ |
|
DTRACE(); |
|
|
|
return 0; |
|
} |
|
|
|
static int |
|
fwsync_add_state(const struct fws_proto *pkt) |
|
{ |
|
DTRACE(); |
|
|
|
if (pkt->fws_addrtype == 4) |
|
fwsync_add_state_4(pkt); |
|
else if (pkt->fws_addrtype == 6) |
|
fwsync_add_state_6(pkt); |
|
else |
|
return EINVAL; |
|
|
|
return 0; |
|
} |
|
|
|
static int |
|
fwsync_add_alias(const struct fws_proto *pkt) |
|
{ |
|
DTRACE(); |
|
|
|
return 0; |
|
} |
|
|
|
static void |
static void |
fwsync_edge_proc(void *arg) |
fwsync_edge_proc(void *arg) |
{ |
{ |