Home
last modified time | relevance | path

Searched refs:netbuf (Results 1 – 25 of 57) sorted by relevance

123

/third_party/lwip/src/api/
Dnetbuf.c63 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()
81 netbuf_delete(struct netbuf *buf) in netbuf_delete()
102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
127 netbuf_free(struct netbuf *buf) in netbuf_free()
151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
176 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain()
196 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
[all …]
Dapi_lib.c658 len = netbuf_len((struct netbuf *)buf); in netconn_recv_data()
822 netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf) in netconn_recv_udp_raw_netbuf()
842 netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apiflags) in netconn_recv_udp_raw_netbuf_flags()
860 netconn_recv(struct netconn *conn, struct netbuf **new_buf) in netconn_recv()
863 struct netbuf *buf = NULL; in netconn_recv()
879 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netconn_recv()
922 netconn_sendto(struct netconn *conn, struct netbuf *buf, const ip_addr_t *addr, u16_t port) in netconn_sendto()
941 netconn_send(struct netconn *conn, struct netbuf *buf) in netconn_send()
/third_party/lwip/src/include/lwip/
Dnetbuf.h60 struct netbuf { struct
74 struct netbuf * netbuf_new (void); argument
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 *head, struct netbuf *tail);
82 err_t netbuf_data (struct netbuf *buf,
84 s8_t netbuf_next (struct netbuf *buf);
85 void netbuf_first (struct netbuf *buf);
Dapi.h334 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 apifl…
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/
D0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch4 Subject: [PATCH] drop-netbuf-in-recv_udp-to-fix-mem-overflow
28 len = netbuf_len((struct netbuf *)buf);
33 @@ -827,6 +831,16 @@ netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf)
48 * Receive data (in form of a netbuf) from a UDP or RAW netconn
66 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF);
101 …DEBUG, ("lwip_recvfrom_udp_raw[UDP/RAW]: top sock->lastdata=%p\n", (void *)sock->lastdata.netbuf));
103 buf = sock->lastdata.netbuf;
105 sock->lastdata.netbuf = NULL;
161 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf);
162 err_t netconn_recv_udp_raw_netbuf(struct netconn *conn, struct netbuf **new_buf);
[all …]
D0060-lwip-add-udp-multicast.patch51 /* Convert a netbuf's address data to struct sockaddr */
62 …DEBUG, ("lwip_recvfrom_udp_raw[UDP/RAW]: top sock->lastdata=%p\n", (void *)sock->lastdata.netbuf));
64 buf = sock->lastdata.netbuf;
66 sock->lastdata.netbuf = NULL;
/third_party/lwip/src/include/lwip/priv/
Dsockets_priv.h62 struct netbuf *netbuf; member
/third_party/lwip/src/apps/snmp/
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/
Dtirpc_rpcb_getaddr.c54 struct netbuf svcaddr; in main()
Dtirpc_rpcb_getaddr_limits.c53 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/
Dtirpc_clnt_tli_create.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/
Dtirpc_clnt_vc_create.c54 struct netbuf svcaddr; in main()
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_bottomlevel_clnt_dg_create/
Dtirpc_clnt_dg_create.c51 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/
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_err_svcerr_noprog/
Dtirpc_svcerr_noprog.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/
Dtirpc_rpcb_rmtcall.c54 struct netbuf svcaddr; in main()
Dtirpc_rpcb_rmtcall_stress.c56 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/
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/
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_noproc/
Dtirpc_svcerr_noproc.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/
Dtirpc_svcerr_weakauth.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/
Dtirpc_expertlevel_clnt_call.c55 struct netbuf svcaddr; in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/
Dtirpc_bottomlevel_clnt_call.c51 struct netbuf svcaddr; in main()
Dtirpc_bottomlevel_clnt_call_stress.c56 struct netbuf svcaddr; in main()

123