Home
last modified time | relevance | path

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

12

/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
120 void set_udp_pcb_net_group(struct udp_pcb *pcb, struct net_group *group);
121 struct net_group *get_net_group_from_udp_pcb(struct udp_pcb *pcb);
123 struct udp_pcb * udp_new (void);
124 struct udp_pcb * udp_new_ip_type(u8_t type);
125 void udp_remove (struct udp_pcb *pcb);
[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;
84 void set_udp_pcb_net_group(struct udp_pcb *pcb, struct net_group *group) in set_udp_pcb_net_group()
89 struct net_group *get_net_group_from_udp_pcb(struct udp_pcb *pcb) in get_net_group_from_udp_pcb()
114 struct udp_pcb *pcb; in udp_new_port()
141 udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast) in udp_input_local_match()
208 struct udp_pcb *pcb, *prev;
209 struct udp_pcb *uncon_pcb;
400 struct udp_pcb *mpcb;
493 udp_send(struct udp_pcb *pcb, struct pbuf *p)
511 udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p,
[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];
958 static struct udp_pcb *
962 struct udp_pcb *pcb; in dns_alloc_random_port()
1263 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/
D0064-fix-udp-send-recv-in-multiple-queue.patch48 +PER_THREAD struct udp_pcb *udp_pcbs;
50 struct udp_pcb *udp_pcbs;
61 +udp_new_port(struct udp_pcb *dst_pcb)
101 @@ -789,7 +837,21 @@ udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t …
123 @@ -941,7 +1003,7 @@ udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t …
132 @@ -1026,7 +1088,7 @@ udp_bind(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port)
141 @@ -1252,6 +1314,9 @@ udp_remove(struct udp_pcb *pcb)
155 @@ -112,7 +112,11 @@ struct udp_pcb {
160 +extern PER_THREAD struct udp_pcb *udp_pcbs;
162 extern struct udp_pcb *udp_pcbs;
D0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch54 @@ -253,6 +253,14 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
69 @@ -277,17 +285,18 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
126 @@ -599,6 +599,7 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
134 @@ -611,14 +612,21 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_i…
D0061-fix-pbuf-leak-in-udp-connection.patch14 @@ -933,8 +933,11 @@ udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t …
D0070-add-CHECKSUM_UDP-when-not-support-OFFLOAD_UDP_CHECKS.patch53 @@ -970,8 +982,18 @@ udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t …
72 @@ -996,7 +1018,9 @@ udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t …
D0060-lwip-add-udp-multicast.patch22 @@ -282,8 +282,13 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
159 @@ -608,11 +614,26 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_i…
186 @@ -905,6 +926,7 @@ udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *d
D0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch20 @@ -292,7 +292,7 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
144 @@ -677,8 +677,8 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
D0077-adpat-event-for-rtc-mode.patch16 @@ -293,11 +293,9 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
/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/libcoap/src/
Dcoap_io_lwip.c147 coap_recvc(void *arg, struct udp_pcb *upcb, struct pbuf *p, in coap_recvc()
214 coap_recvs(void *arg, struct udp_pcb *upcb, struct pbuf *p, in coap_recvs()
383 struct udp_pcb *pcb; in coap_socket_connect_udp()
/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.h36 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/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/include/lwip/priv/
Dmemp_std.h46 LWIP_MEMPOOL(UDP_PCB, MEMP_NUM_UDP_PCB, sizeof(struct udp_pcb), "UDP_PCB")
/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/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()

12