Hi,
I am working on a Kernel module which requires sending IP data to 1G application.
I can successfully send Ethernet data/mblk to 1G driver whenusing muxsend(which then routes out of SBC). But when using receiveRtn as below, it doesn't forwards data to Application.
*1G is not an NPT driver.
Below is code snippet I am using to send data to 1G Application:
Mux Bind code:
port_ctx.pCookie = muxBind (
papif_obj->port_ctx.name, papif_obj->port_ctx.ethUnit,
NULL, NULL, NULL, NULL,
MUX_PROTO_SNARF, "IP4 TCP/IP", (void *)&papif_obj->port_ctx);
PROTOCOL_BINDING* pBinding = (PROTOCOL_BINDING*)pportctx->pCookie;
status = pBinding->pEnd->receiveRtn((void *) pportctx->pCookie, mblk,NULL,NULL,NULL,NULL); // I see return code -1
QUESTION: should above mblk be ethernet or IP packet.
QUESTION: Is there any API to directly send data to 1G TCP/IP (without having to send data to Mux) ?
Thanks
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)