• Home
  • Raw
  • Download

Lines Matching refs:struct

24 @@ -605,6 +605,10 @@ alloc_socket(struct netconn *newconn, int accepted, int flags)
35 @@ -716,6 +720,11 @@ free_socket(struct lwip_sock *sock, int is_tcp)
47 @@ -780,6 +789,18 @@ lwip_accept4(int s, struct sockaddr *addr, socklen_t *addrlen, int flags)
52 + struct tcp_pcb *pcb = newconn->pcb.tcp;
70 @@ -729,6 +729,7 @@ ip_frag_free_pbuf_custom_ref(struct pbuf_custom_ref *p)
72 /** Free-callback function to free a 'struct pbuf_custom_ref', called by
76 ipfrag_free_pbuf_custom(struct pbuf *p)
78 @@ -740,6 +741,7 @@ ipfrag_free_pbuf_custom(struct pbuf *p)
86 @@ -851,7 +853,9 @@ ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest)
100 @@ -1065,7 +1065,7 @@ netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_ca…
109 @@ -1184,6 +1184,7 @@ netif_loop_output(struct netif *netif, struct pbuf *p)
117 @@ -1205,7 +1206,7 @@ netif_loop_output_ipv6(struct netif *netif, struct pbuf *p, const ip6_addr_t …
126 @@ -1277,6 +1278,7 @@ netif_poll(struct netif *netif)
154 @@ -189,6 +190,7 @@ pbuf_init_alloced_pbuf(struct pbuf *p, void *payload, u16_t tot_len, u16_t len,
162 @@ -777,9 +779,13 @@ pbuf_free(struct pbuf *p)
169 struct pbuf_custom *pc = (struct pbuf_custom *)p;
190 tcp_free(struct tcp_pcb *pcb)
194 + struct netconn *netconn = NULL;
195 + struct lwip_sock *sock = NULL;
198 + netconn = (struct netconn *)pcb->callback_arg;
208 @@ -996,6 +1010,15 @@ tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u8_t backlog, err_t *err)
224 @@ -1262,6 +1285,16 @@ tcp_connect(struct tcp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port,
267 @@ -806,6 +807,11 @@ tcp_listen_input(struct tcp_pcb_listen *pcb)
283 @@ -725,6 +725,10 @@ tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags)
294 @@ -1705,6 +1709,10 @@ tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *n…
305 @@ -1899,6 +1907,8 @@ tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb, struct netif *ne…
314 @@ -2236,6 +2246,7 @@ tcp_output_control_segment(struct tcp_pcb *pcb, struct pbuf *p,
316 struct netif *netif;
326 @@ -235,6 +235,7 @@ struct pbuf {
328 struct pbuf *last;
330 + struct tcp_pcb *pcb;
334 @@ -263,7 +264,9 @@ struct pbuf_custom {
336 struct pbuf pbuf;
348 @@ -260,6 +260,9 @@ struct tcp_pcb_listen {
353 + struct rte_ring *listen_rx_ring;
358 @@ -418,6 +421,13 @@ struct tcp_pcb {
364 + struct rte_ring *client_rx_ring;
365 + struct rte_ring *client_tx_ring;
392 @@ -65,7 +65,19 @@ struct protocol_stack;
393 struct wakeup_poll;
394 struct rte_ring;
402 +struct same_node_ring {
403 + const struct rte_memzone *mz;
410 struct lwip_sock {
412 @@ -120,9 +132,25 @@ struct lwip_sock {
413 struct protocol_stack *stack;
414 struct rte_ring *recv_ring;
415 struct rte_ring *send_ring;
418 + struct same_node_ring *same_node_rx_ring;
419 + const struct rte_memzone *same_node_rx_ring_mz;
420 + struct same_node_ring *same_node_tx_ring;
421 + const struct rte_memzone *same_node_tx_ring_mz;
426 +static inline unsigned same_node_ring_count(struct lwip_sock *sock)
438 @@ -142,6 +170,15 @@ extern struct pbuf *write_lwip_data(struct lwip_sock *sock, uint16_t remain_si…
441 extern void write_lwip_over(struct lwip_sock *sock);
442 +extern void netif_poll(struct netif *netif);
443 +extern err_t netif_loop_output(struct netif *netif, struct pbuf *p);
444 +extern err_t find_same_node_memzone(struct tcp_pcb *pcb, struct lwip_sock *nsock);
445 +extern err_t same_node_memzone_create(const struct rte_memzone **zone, int size, int port, char *n…
446 +extern err_t same_node_ring_create(struct rte_ring **ring, int size, int port, char *name, char *r…
447 +extern err_t create_same_node_ring(struct tcp_pcb *pcb);
448 +extern err_t find_same_node_ring(struct tcp_pcb *pcb);
449 +extern void gazelle_free_pbuf(struct pbuf *pbuf);
453 struct lwip_sock *get_socket(int s);