Home
last modified time | relevance | path

Searched refs:upcb (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/lwip/lwip2.0.0/apps/tftp/
A Dtftp_server.c72 struct udp_pcb *upcb; member
163 LWIP_UNUSED_ARG(upcb); in recv()
167 tftp_send_error(tftp_state.upcb, addr, port, in recv()
189 tftp_send_error(tftp_state.upcb, addr, port, in recv()
199 tftp_send_error(tftp_state.upcb, addr, port, in recv()
208 tftp_send_error(tftp_state.upcb, addr, port, in recv()
318 tftp_send_error(tftp_state.upcb, addr, port, in recv()
430 if (tftp_state.upcb != NULL) in tftp_server_start()
449 tftp_state.upcb = pcb; in tftp_server_start()
461 if (tftp_state.upcb != NULL) { in tftp_server_stop()
[all …]
A Dtftp_client.c19 struct udp_pcb *upcb; member
49 udp_remove(pstate->upcb); in close_handle()
76 tftp_send_ack(pstate->upcb, &pstate->addr, pstate->port, pstate->seq_last); in tftp_tmr()
79 tftp_send_error(tftp_state.upcb, &tftp_state.addr, pstate->port, in tftp_tmr()
87 static void recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in recv() argument
96 tftp_send_error(pstate->upcb, addr, port, in recv()
114 tftp_send_ack(pstate->upcb, &pstate->addr, port, blknum); in recv()
122 tftp_send_error(pstate->upcb, addr, port, in recv()
136 tftp_send_error(pstate->upcb, addr, port, TFTP_ERROR_DISK_FULL, "disk full"); in recv()
145 tftp_send_ack(pstate->upcb, &pstate->addr, port, blknum); in recv()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Dudp.c1181 struct udp_pcb* upcb; in udp_netif_ip_addr_changed() local
1184 for (upcb = udp_pcbs; upcb != NULL; upcb = upcb->next) { in udp_netif_ip_addr_changed()
1186 if (ip_addr_cmp(&upcb->local_ip, old_addr)) { in udp_netif_ip_addr_changed()
1189 ip_addr_copy(upcb->local_ip, *new_addr); in udp_netif_ip_addr_changed()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/netbiosns/
A Dnetbiosns.c254 netbiosns_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in netbiosns_recv() argument
304 udp_sendto(upcb, q, addr, port); in netbiosns_recv()
/AliOS-Things-master/components/py_engine/engine/shared/netutils/
A Ddhcpserver.c183 static void dhcp_server_process(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *s… in dhcp_server_process() argument
185 (void)upcb; in dhcp_server_process()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodlwip.c389 STATIC void _lwip_udp_incoming(void *arg, struct udp_pcb *upcb, struct pbuf *p, ip_addr_t *addr, u1… in _lwip_udp_incoming() argument
391 STATIC void _lwip_udp_incoming(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *ad… in _lwip_udp_incoming()

Completed in 16 milliseconds