Home
last modified time | relevance | path

Searched refs:netbuf (Results 1 - 25 of 51) sorted by relevance

123

/third_party/lwip/src/include/lwip/
H A Dnetbuf.h3 * 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 Dapi.h47 #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 Dnetbuf.c5 * @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 Dapi_lib.c8 * 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 Depson2_net.c87 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 Depsonds-net.c96 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 Dsockets_priv.h62 struct netbuf *netbuf; member
/third_party/lwip/src/apps/snmp/
H A Dsnmp_netconn.c52 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 Dtirpc_rpcb_getaddr.c54 struct netbuf svcaddr; in main()
H A Dtirpc_rpcb_getaddr_limits.c53 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 Dtirpc_clnt_vc_create.c54 struct netbuf svcaddr; in main()
H A Dtirpc_clnt_vc_create_limits.c65 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 Dtirpc_clnt_tli_create.c55 struct netbuf svcaddr; in main()
H A Dtirpc_clnt_tli_create_limits.c65 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/
H A Dtirpc_clnt_control_limits.c74 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 Dtirpc_clnt_dg_create_limits.c65 struct netbuf svcaddr; in main()
H A Dtirpc_clnt_dg_create.c51 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/
H A Dtirpc_svcerr_systemerr.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/
H A Dtirpc_svcerr_progvers.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/
H A Dtirpc_svcerr_noprog.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/
H A Dtirpc_bottomlevel_clnt_call_stress.c56 struct netbuf svcaddr; in main()
H A Dtirpc_bottomlevel_clnt_call.c51 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/
H A Dtirpc_rpcb_rmtcall_stress.c56 struct netbuf svcaddr; in main()
H A Dtirpc_rpcb_rmtcall.c54 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/
H A Dtirpc_svcerr_noproc.c55 struct netbuf svcaddr; in main()

Completed in 12 milliseconds

123