MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / didReceiveRAW

Function didReceiveRAW

modules/network/socket/lwip/modSocket.c:1104–1109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102u8_t didReceiveRAW(void *arg, struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *addr)
1103#else
1104u8_t didReceiveRAW(void *arg, struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *addr)
1105#endif
1106{
1107 didReceiveUDP(arg, (struct udp_pcb *)pcb, p, addr, 0);
1108 return 1;
1109}
1110
1111static err_t didAccept(void * arg, struct tcp_pcb * newpcb, err_t err);
1112

Callers

nothing calls this directly

Calls 1

didReceiveUDPFunction · 0.85

Tested by

no test coverage detected