Searched refs:iom (Results 1 – 7 of 7) sorted by relevance
| /mOS-networking-stack/core/src/ |
| H A D | eth_out.c | 80 if (!mtcp->iom->get_wptr) { in EthernetOutput() 84 buf = mtcp->iom->get_wptr(mtcp->ctx, nif, iplen + ETHERNET_HEADER_LEN); in EthernetOutput() 118 if (!mtcp->iom->get_wptr) { in ForwardEthernetFrame() 123 buf = mtcp->iom->get_wptr(mtcp->ctx, pctx->out_ifidx, pctx->p.eth_len); in ForwardEthernetFrame()
|
| H A D | ip_out.c | 82 if (likely(mtcp->iom->set_wptr != NULL)) { in ForwardIPPacket() 88 mtcp->iom->set_wptr(mtcp->ctx, pctx->out_ifidx, pctx->p.in_ifidx, pctx->batch_index); in ForwardIPPacket() 170 if (likely(mtcp->iom->dev_ioctl != NULL)) in IPOutputStandalone() 171 rc = mtcp->iom->dev_ioctl(mtcp->ctx, nif, PKT_TX_IP_CSUM, iph); in IPOutputStandalone() 232 if (likely(mtcp->iom->dev_ioctl != NULL)) in IPOutput() 233 rc = mtcp->iom->dev_ioctl(mtcp->ctx, nif, PKT_TX_IP_CSUM, iph); in IPOutput()
|
| H A D | eth_in.c | 71 if (mtcp->iom->release_pkt) in ProcessPacket() 72 mtcp->iom->release_pkt(mtcp->ctx, ifidx, pkt_data, len); in ProcessPacket()
|
| H A D | ip_in.c | 97 if (release && mtcp->iom->release_pkt) in ProcessInIPv4Packet() 98 mtcp->iom->release_pkt(mtcp->ctx, pctx->p.in_ifidx, in ProcessInIPv4Packet()
|
| H A D | core.c | 140 if (mtcp->iom->link_devices) in AttachDevice() 141 working = mtcp->iom->link_devices(ctx); in AttachDevice() 1004 if (likely(mtcp->iom->send_pkts != NULL)) in RunMainLoop() 1006 mtcp->iom->send_pkts(ctx, tx_inf); in RunMainLoop() 1029 if (mtcp->iom->select) in RunMainLoop() 1030 mtcp->iom->select(ctx); in RunMainLoop() 1310 mtcp->iom = current_iomodule_func; in MTCPRunThread() 1313 if (mtcp->iom->init_handle) in MTCPRunThread() 1314 mtcp->iom->init_handle(ctx); in MTCPRunThread() 1612 if (mtcp->iom->destroy_handle) in mtcp_free_context() [all …]
|
| H A D | tcp_out.c | 209 if (likely(mtcp->iom->dev_ioctl != NULL)) in SendTCPPacketStandalone() 210 rc = mtcp->iom->dev_ioctl(mtcp->ctx, in SendTCPPacketStandalone() 344 if (likely(mtcp->iom->dev_ioctl != NULL)) in SendTCPPacket() 345 rc = mtcp->iom->dev_ioctl(mtcp->ctx, in SendTCPPacket()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | mtcp.h | 289 struct io_module_func *iom; member
|