Lines Matching refs:ctx
66 void (*init_handle)(struct mtcp_thread_context *ctx);
67 int32_t (*link_devices)(struct mtcp_thread_context *ctx);
68 …void (*release_pkt)(struct mtcp_thread_context *ctx, int ifidx, unsigned char *pkt_data, int …
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);
77 int32_t (*dev_ioctl)(struct mtcp_thread_context *ctx, int nif, int cmd, void *argp);