Lines Matching refs:status
180 int status) in net_context_send_cb() argument
187 context->send_cb(context, status, context->user_data); in net_context_send_cb()
224 int status; in net_if_tx() local
267 status = net_if_l2(iface)->send(iface, pkt); in net_if_tx()
307 status = -ENETDOWN; in net_if_tx()
310 if (status < 0) { in net_if_tx()
313 net_stats_update_bytes_sent(iface, status); in net_if_tx()
318 context, status); in net_if_tx()
320 net_context_send_cb(context, status); in net_if_tx()
324 net_if_call_link_cb(iface, &ll_dst, status); in net_if_tx()
458 int status = -EIO; in net_if_send_data() local
465 status = -ENETDOWN; in net_if_send_data()
543 net_context_send_cb(context, status); in net_if_send_data()
547 net_if_call_link_cb(iface, dst, status); in net_if_send_data()
5326 int status) in net_if_call_link_cb() argument
5333 link->cb(iface, lladdr, status); in net_if_call_link_cb()
5591 int status = 0; in net_if_up() local
5598 status = -EALREADY; in net_if_up()
5623 status = -ENXIO; in net_if_up()
5632 status = net_if_l2(iface)->enable(iface, true); in net_if_up()
5633 if (status < 0) { in net_if_up()
5635 net_if_get_by_iface(iface), status); in net_if_up()
5649 return status; in net_if_up()
5654 int status = 0; in net_if_down() local
5661 status = -EALREADY; in net_if_down()
5674 status = net_if_l2(iface)->enable(iface, false); in net_if_down()
5675 if (status < 0) { in net_if_down()
5687 return status; in net_if_down()