Home
last modified time | relevance | path

Searched refs:udp_pcb (Results 1 – 23 of 23) sorted by relevance

/third_party/lwip/src/include/lwip/
Dudp.h61 struct udp_pcb;
77 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p,
81 struct udp_pcb { struct
87 struct udp_pcb *next; argument
115 extern struct udp_pcb *udp_pcbs; argument
119 struct udp_pcb * udp_new (void);
120 struct udp_pcb * udp_new_ip_type(u8_t type);
121 void udp_remove (struct udp_pcb *pcb);
122 err_t udp_bind (struct udp_pcb *pcb, const ip_addr_t *ipaddr,
124 void udp_bind_netif (struct udp_pcb *pcb, const struct netif* netif);
[all …]
Dsnmp.h47 struct udp_pcb;
168 void mib2_udp_bind(struct udp_pcb *pcb);
169 void mib2_udp_unbind(struct udp_pcb *pcb);
Dapi.h209 struct udp_pcb;
227 struct udp_pcb *udp;
/third_party/lwip/src/apps/snmp/
Dsnmp_raw.c47 snmp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in snmp_recv()
59 return udp_sendto((struct udp_pcb *)handle, p, dst, port); in snmp_sendto()
65 struct udp_pcb *udp_pcb = (struct udp_pcb *)handle; in snmp_get_local_ip_for_dst() local
69 LWIP_UNUSED_ARG(udp_pcb); /* unused in case of IPV4 only configuration */ in snmp_get_local_ip_for_dst()
71 ip_route_get_local_ip(&udp_pcb->local_ip, dst, dst_if, dst_ip); in snmp_get_local_ip_for_dst()
91 struct udp_pcb *snmp_pcb = udp_new_ip_type(IPADDR_TYPE_ANY); in snmp_init()
Dsnmp_mib2_udp.c122 struct udp_pcb *pcb; in udp_endpointTable_get_cell_value()
167 struct udp_pcb *pcb; in udp_endpointTable_get_next_cell_instance_and_value()
226 udp_Table_get_cell_value_core(struct udp_pcb *pcb, const u32_t *column, union snmp_variant_value *v… in udp_Table_get_cell_value_core()
251 struct udp_pcb *pcb; in udp_Table_get_cell_value()
281 struct udp_pcb *pcb; in udp_Table_get_next_cell_instance_and_value()
308 … return udp_Table_get_cell_value_core((struct udp_pcb *)state.reference, column, value, value_len); in udp_Table_get_next_cell_instance_and_value()
/third_party/lwip/src/core/
Dudp.c81 struct udp_pcb *udp_pcbs;
103 struct udp_pcb *pcb; in udp_new_port()
130 udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast) in udp_input_local_match()
197 struct udp_pcb *pcb, *prev; in udp_input()
198 struct udp_pcb *uncon_pcb; in udp_input()
382 struct udp_pcb *mpcb; in udp_input()
471 udp_send(struct udp_pcb *pcb, struct pbuf *p) in udp_send()
489 udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p, in udp_send_chksum()
524 udp_sendto(struct udp_pcb *pcb, struct pbuf *p, in udp_sendto()
534 udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, in udp_sendto_chksum()
[all …]
Ddns.c290 static void dns_recv(void *s, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t por…
299 static struct udp_pcb *dns_pcbs[DNS_MAX_SOURCE_PORTS];
931 static struct udp_pcb *
935 struct udp_pcb *pcb; in dns_alloc_random_port()
1236 dns_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in dns_recv()
/third_party/lwip/test/unit/udp/
Dtest_udp.c14 struct udp_pcb *pcb;
26 struct udp_pcb *pcb = udp_pcbs; in udp_remove_all()
27 struct udp_pcb *pcb2; in udp_remove_all()
137 struct udp_pcb* pcb; in START_TEST()
152 static void test_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, in test_recv()
215 struct udp_pcb *pcb1, *pcb2; in START_TEST()
220 struct udp_pcb *pcb_any; in START_TEST()
340 struct udp_pcb* pcb1; in START_TEST()
341 struct udp_pcb* pcb2; in START_TEST()
/third_party/lwip/src/apps/tftp/
Dtftp_server.c83 struct udp_pcb *upcb;
204 recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in recv()
401 struct udp_pcb *pcb = udp_new_ip_type(IPADDR_TYPE_ANY); in tftp_init()
/third_party/lwip/src/netif/
Dzepif.c90 struct udp_pcb *pcb;
108 zepif_udp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, in zepif_udp_recv()
/third_party/lwip/src/include/netif/ppp/
Dpppol2tp.h171 struct udp_pcb *udp; /* UDP L2TP Socket */
/third_party/libcoap/include/coap3/
Dcoap_io_internal.h25 struct udp_pcb *pcb;
/third_party/lwip/src/apps/netbiosns/
Dnetbiosns.c239 static struct udp_pcb *netbiosns_pcb;
347 netbiosns_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in netbiosns_recv()
/third_party/lwip/src/include/lwip/priv/
Dmemp_std.h46 LWIP_MEMPOOL(UDP_PCB, MEMP_NUM_UDP_PCB, sizeof(struct udp_pcb), "UDP_PCB")
/third_party/lwip/src/core/ipv6/
Ddhcp6.c130 static struct udp_pcb *dhcp6_pcb;
135 static void dhcp6_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t…
698 dhcp6_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in dhcp6_recv()
/third_party/lwip/src/apps/sntp/
Dsntp.c227 static struct udp_pcb *sntp_pcb;
439 sntp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in sntp_recv()
/third_party/libcoap/src/
Dcoap_io_lwip.c57 static void coap_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t… in coap_recv()
/third_party/lwip/src/netif/ppp/
Dpppol2tp.c80 static void pppol2tp_input(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u…
115 struct udp_pcb *udp; in pppol2tp_create()
345 static void pppol2tp_input(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u… in pppol2tp_input()
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c145 struct udp_pcb* pcb; in START_TEST()
/third_party/lwip/src/core/ipv4/
Ddhcp.c193 static struct udp_pcb *dhcp_pcb;
208 static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t …
1756 dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in dhcp_recv()
/third_party/lwip/src/apps/mdns/
Dmdns.c104 static struct udp_pcb *mdns_pcb;
1853 mdns_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in mdns_recv()
/third_party/lwip/src/api/
Dapi_msg.c218 recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
/third_party/lwip/
DCHANGELOG2894 option in socket API, and a new field "multicast_ip" in "struct udp_pcb" (for
3638 * api_msg.c, udp.c: If a udp_pcb has a local_ip set, check if it is the same
3871 * udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"