/third_party/lwip/src/include/lwip/ |
H A D | netbuf.h | 3 * netbuf API (for netconn API) 54 /** This netbuf has dest-addr/port set */ 56 /** This netbuf includes a checksum */ 60 struct netbuf { struct 74 struct netbuf * netbuf_new (void); 75 void netbuf_delete (struct netbuf *buf); 76 void * netbuf_alloc (struct netbuf *buf, u16_t size); 77 void netbuf_free (struct netbuf *buf); 78 err_t netbuf_ref (struct netbuf *buf, 80 void netbuf_chain (struct netbuf *hea [all...] |
H A D | api.h | 47 #include "lwip/netbuf.h" 334 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf); 335 err_t netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf); 336 err_t netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apiflags); 340 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf, 342 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
|
/third_party/lwip/src/api/ |
H A D | netbuf.c | 5 * @defgroup netbuf Network buffers 49 #include "lwip/netbuf.h" 55 * @ingroup netbuf 56 * Create (allocate) and initialize a new netbuf. 57 * The netbuf doesn't yet contain a packet buffer! 59 * @return a pointer to a new netbuf 63 netbuf *netbuf_new(void) in netbuf_new() 65 struct netbuf *buf; in netbuf_new() 67 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netbuf_new() 69 memset(buf, 0, sizeof(struct netbuf)); in netbuf_new() [all...] |
H A D | api_lib.c | 8 * TX/RX handling based on @ref netbuf (containing @ref pbuf) 564 * Receive data: actual implementation that doesn't care whether pbuf or netbuf 568 * @param new_buf pointer where a new pbuf/netbuf is stored when received data 658 len = netbuf_len((struct netbuf *)buf); in netconn_recv_data() 813 * Receive data (in form of a netbuf) from a UDP or RAW netconn 816 * @param new_buf pointer where a new netbuf is stored when received data 822 netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf) in netconn_recv_udp_raw_netbuf() 831 * Receive data (in form of a netbuf) from a UDP or RAW netconn 834 * @param new_buf pointer where a new netbuf is stored when received data 842 netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_bu [all...] |
/third_party/backends/backend/ |
H A D | epson2_net.c | 87 DBG(23, "%s: freeing %p\n", __func__, (void *) s->netbuf); in sanei_epson_net_read_buf() 88 free(s->netbuf); in sanei_epson_net_read_buf() 89 s->netbuf = s->netptr = NULL; in sanei_epson_net_read_buf() 132 if (!s->netbuf) { in sanei_epson_net_read() 152 read = sanei_epson_net_read_raw(s, s->netbuf, s->netlen, status); in sanei_epson_net_read() 153 s->netptr = s->netbuf; in sanei_epson_net_read() 180 if (s->netbuf) { in sanei_epson_net_write() 182 __func__, (void *) s->netbuf, (u_long) s->netlen); in sanei_epson_net_write() 183 free(s->netbuf); in sanei_epson_net_write() 184 s->netbuf in sanei_epson_net_write() [all...] |
H A D | epsonds-net.c | 96 DBG(23, "%s: freeing %p\n", __func__, (void *) s->netbuf); in epsonds_net_read_buf() 97 free(s->netbuf); in epsonds_net_read_buf() 98 s->netbuf = s->netptr = NULL; in epsonds_net_read_buf() 141 if (!s->netbuf) { in epsonds_net_read() 161 read = epsonds_net_read_raw(s, s->netbuf, s->netlen, status); in epsonds_net_read() 162 s->netptr = s->netbuf; in epsonds_net_read() 196 if (s->netbuf) { in epsonds_net_write() 198 __func__, (void *) s->netbuf, (u_long) s->netlen); in epsonds_net_write() 199 free(s->netbuf); in epsonds_net_write() 200 s->netbuf in epsonds_net_write() [all...] |
/third_party/lwip/src/include/lwip/priv/ |
H A D | sockets_priv.h | 62 struct netbuf *netbuf; member
|
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_netconn.c | 52 struct netbuf *buf; in snmp_netconn_thread() 85 struct netbuf buf; in snmp_sendto()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/ |
H A D | tirpc_rpcb_getaddr.c | 54 struct netbuf svcaddr; in main()
|
H A D | tirpc_rpcb_getaddr_limits.c | 53 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/ |
H A D | tirpc_clnt_vc_create.c | 54 struct netbuf svcaddr; in main()
|
H A D | tirpc_clnt_vc_create_limits.c | 65 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/ |
H A D | tirpc_clnt_tli_create.c | 55 struct netbuf svcaddr; in main()
|
H A D | tirpc_clnt_tli_create_limits.c | 65 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/ |
H A D | tirpc_clnt_control_limits.c | 74 clnt_control(client, CLGET_SVC_ADDR, (struct netbuf *)&tst_nconf); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/ |
H A D | tirpc_clnt_dg_create_limits.c | 65 struct netbuf svcaddr; in main()
|
H A D | tirpc_clnt_dg_create.c | 51 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/ |
H A D | tirpc_svcerr_systemerr.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/ |
H A D | tirpc_svcerr_progvers.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/ |
H A D | tirpc_svcerr_noprog.c | 55 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/ |
H A D | tirpc_bottomlevel_clnt_call_stress.c | 56 struct netbuf svcaddr; in main()
|
H A D | tirpc_bottomlevel_clnt_call.c | 51 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/ |
H A D | tirpc_rpcb_rmtcall_stress.c | 56 struct netbuf svcaddr; in main()
|
H A D | tirpc_rpcb_rmtcall.c | 54 struct netbuf svcaddr; in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/ |
H A D | tirpc_svcerr_noproc.c | 55 struct netbuf svcaddr; in main()
|