Lines Matching refs:struct
20 @@ -292,7 +292,7 @@ recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p,
29 @@ -356,7 +356,7 @@ recv_tcp(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err)
47 @@ -1348,7 +1348,7 @@ lwip_netconn_do_connected(void *arg, struct tcp_pcb *pcb, err_t err)
60 @@ -613,7 +613,7 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
69 @@ -785,7 +785,7 @@ lwip_accept4(int s, struct sockaddr *addr, socklen_t *addrlen, int flags)
78 @@ -1170,7 +1170,7 @@ lwip_recv_tcp(struct lwip_sock *sock, void *mem, size_t len, int flags)
87 @@ -1369,7 +1369,7 @@ lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, struct msghdr *msg, …
107 p = (struct pbuf *)mem_malloc(alloc_len);
109 @@ -780,7 +780,7 @@ pbuf_free(struct pbuf *p)
116 struct pbuf_custom *pc = (struct pbuf_custom *)p;
122 @@ -699,7 +699,7 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags)
126 - p = write_lwip_data((struct lwip_sock *)arg, len - pos, &apiflags);
127 + p = do_lwip_get_from_sendring((struct lwip_sock *)arg, len - pos, &apiflags);
131 @@ -764,7 +764,7 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags)
135 - write_lwip_over((struct lwip_sock*)arg);
136 + do_lwip_get_from_sendring_over((struct lwip_sock*)arg);
144 @@ -677,8 +677,8 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
148 - struct pbuf *udp_pbuf = write_lwip_data((struct lwip_sock *)(p->payload), p->tot_len, &apiflags);
149 - write_lwip_over((struct lwip_sock *)(p->payload));
150 + struct pbuf *udp_pbuf = do_lwip_get_from_sendring((struct lwip_sock *)(p->payload), p->tot_len, …
151 + do_lwip_get_from_sendring_over((struct lwip_sock *)(p->payload));
163 -struct pbuf *lwip_alloc_pbuf(pbuf_layer layer, uint16_t length, pbuf_type type);
164 +extern struct pbuf *do_lwip_alloc_pbuf(pbuf_layer layer, uint16_t length, pbuf_type type);
165 +extern void do_lwip_free_pbuf(struct pbuf *pbuf);
167 struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
168 struct pbuf *pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type);
173 @@ -164,13 +164,17 @@ static inline unsigned same_node_ring_count(struct lwip_sock *sock)
176 extern struct lwip_sock *sockets;
177 -extern void gazelle_connected_callback(struct netconn *conn);
179 -extern ssize_t read_lwip_data(struct lwip_sock *sock, int32_t flags, u8_t apiflags);
180 -extern struct pbuf *write_lwip_data(struct lwip_sock *sock, uint16_t remain_size, uint8_t *apiflag…
183 -extern void write_lwip_over(struct lwip_sock *sock);
187 +extern void do_lwip_connected_callback(struct netconn *conn);
189 +extern struct pbuf *do_lwip_get_from_sendring(struct lwip_sock *sock, uint16_t remain_size, uint8_…
190 +extern void do_lwip_get_from_sendring_over(struct lwip_sock *sock);
191 +extern ssize_t do_lwip_read_from_lwip(struct lwip_sock *sock, int32_t flags, u8_t apiflags);
195 extern void netif_poll(struct netif *netif);
196 extern err_t netif_loop_output(struct netif *netif, struct pbuf *p);
197 extern err_t find_same_node_memzone(struct tcp_pcb *pcb, struct lwip_sock *nsock);
198 @@ -178,7 +182,6 @@ extern err_t same_node_memzone_create(const struct rte_memzone **zone, int size,
199 …extern err_t same_node_ring_create(struct rte_ring **ring, int size, int port, char *name, char *r…
200 extern err_t create_same_node_ring(struct tcp_pcb *pcb);
201 extern err_t find_same_node_ring(struct tcp_pcb *pcb);
202 -extern void gazelle_free_pbuf(struct pbuf *pbuf);