Searched refs:mtcp_thread_context (Results 1 – 6 of 6) sorted by relevance
| /mOS-networking-stack/core/src/include/ |
| H A D | io_module.h | 14 struct mtcp_thread_context; 66 void (*init_handle)(struct mtcp_thread_context *ctx); 67 int32_t (*link_devices)(struct mtcp_thread_context *ctx); 69 uint8_t * (*get_wptr)(struct mtcp_thread_context *ctx, int ifidx, uint16_t len); 70 void (*set_wptr)(struct mtcp_thread_context *ctx, int out_ifidx, int in_ifidx, int idx); 71 int32_t (*send_pkts)(struct mtcp_thread_context *ctx, int nif); 72 uint8_t * (*get_rptr)(struct mtcp_thread_context *ctx, int ifidx, int index, uint16_t *len); 74 int32_t (*recv_pkts)(struct mtcp_thread_context *ctx, int ifidx); 75 int32_t (*select)(struct mtcp_thread_context *ctx); 76 void (*destroy_handle)(struct mtcp_thread_context *ctx); [all …]
|
| H A D | mtcp.h | 229 struct mtcp_thread_context* ctx; 304 struct mtcp_thread_context struct 338 typedef struct mtcp_thread_context* mtcp_thread_context_t; argument
|
| /mOS-networking-stack/core/src/ |
| H A D | pcap_module.c | 29 pcap_init_handle(struct mtcp_thread_context *ctxt) in pcap_init_handle() 35 pcap_recv_pkts(struct mtcp_thread_context *ctxt, int ifidx) in pcap_recv_pkts() 57 pcap_get_rptr(struct mtcp_thread_context *ctxt, int ifidx, int index, uint16_t *len) in pcap_get_rptr() 68 pcap_send_pkts(struct mtcp_thread_context *ctxt, int nif) in pcap_send_pkts() 82 pcap_get_wptr(struct mtcp_thread_context *ctxt, int ifidx, uint16_t pktsize) in pcap_get_wptr() 104 pcap_select(struct mtcp_thread_context *ctxt) in pcap_select() 110 pcap_destroy_handle(struct mtcp_thread_context *ctxt) in pcap_destroy_handle()
|
| H A D | netmap_module.c | 39 netmap_init_handle(struct mtcp_thread_context *ctxt) in netmap_init_handle() 91 netmap_link_devices(struct mtcp_thread_context *ctxt) in netmap_link_devices() 99 netmap_release_pkt(struct mtcp_thread_context *ctxt, int ifidx, unsigned char *pkt_data, int len) in netmap_release_pkt() 108 netmap_send_pkts(struct mtcp_thread_context *ctxt, int nif) in netmap_send_pkts() 145 netmap_get_wptr(struct mtcp_thread_context *ctxt, int nif, uint16_t pktsize) in netmap_get_wptr() 160 netmap_recv_pkts(struct mtcp_thread_context *ctxt, int ifidx) in netmap_recv_pkts() 199 netmap_get_rptr(struct mtcp_thread_context *ctxt, int ifidx, int index, uint16_t *len) in netmap_get_rptr() 209 netmap_select(struct mtcp_thread_context *ctxt) in netmap_select() 256 netmap_dev_ioctl(struct mtcp_thread_context *ctx, int nif, int cmd, void *argp) in netmap_dev_ioctl() 263 netmap_destroy_handle(struct mtcp_thread_context *ctxt) in netmap_destroy_handle()
|
| H A D | dpdk_module.c | 175 dpdk_init_handle(struct mtcp_thread_context *ctxt) in dpdk_init_handle() 219 dpdk_send_pkts(struct mtcp_thread_context *ctxt, int nif) in dpdk_send_pkts() 287 dpdk_get_wptr(struct mtcp_thread_context *ctxt, int nif, uint16_t pktsize) in dpdk_get_wptr() 322 dpdk_set_wptr(struct mtcp_thread_context *ctxt, int out_nif, int in_nif, int index) in dpdk_set_wptr() 366 dpdk_recv_pkts(struct mtcp_thread_context *ctxt, int ifidx) in dpdk_recv_pkts() 395 dpdk_get_rptr(struct mtcp_thread_context *ctxt, int ifidx, int index, uint16_t *len) in dpdk_get_rptr() 443 dpdk_select(struct mtcp_thread_context *ctxt) in dpdk_select() 458 dpdk_destroy_handle(struct mtcp_thread_context *ctxt) in dpdk_destroy_handle() 535 dpdk_dev_ioctl(struct mtcp_thread_context *ctx, int nif, int cmd, void *argp) in dpdk_dev_ioctl()
|
| H A D | core.c | 63 struct mtcp_thread_context *g_pctx[MAX_CPUS] = {0}; 135 AttachDevice(struct mtcp_thread_context* ctx) in AttachDevice() 852 RunMainLoop(struct mtcp_thread_context *ctx) in RunMainLoop() 1079 InitializeMTCPManager(struct mtcp_thread_context* ctx) in InitializeMTCPManager() 1288 struct mtcp_thread_context *ctx; in MTCPRunThread() 1471 struct mtcp_thread_context *ctx = g_pctx[mctx->cpu]; in mtcp_destroy_context() 1487 struct mtcp_thread_context *ctx = g_pctx[mctx->cpu]; in mtcp_free_context()
|