/* Try to post a callback-message to the tcpip_thread mbox This is intended to be used to send "static" messages from interrupt context. */
err_t tcpip_trycallback(struct tcpip_callback_msg *msg)
/* Try to post a callback-message to the tcpip_thread mbox This is intended to be used to send "static" messages from interrupt context. */
err_t tcpip_trycallback(struct tcpip_callback_msg *msg)
{
  if (!sys_mbox_valid(&mbox)) {
    return ERR_VAL;
  }
  return sys_mbox_trypost(&mbox, msg);
}