Home
last modified time | relevance | path

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

12

/external/syslinux/core/lwip/src/include/lwip/
Dnetbuf.h48 struct netbuf { struct
64 struct netbuf * netbuf_new (void); argument
65 void netbuf_delete (struct netbuf *buf);
66 void * netbuf_alloc (struct netbuf *buf, u16_t size);
67 void netbuf_free (struct netbuf *buf);
68 err_t netbuf_ref (struct netbuf *buf,
70 void netbuf_chain (struct netbuf *head,
71 struct netbuf *tail);
73 err_t netbuf_data (struct netbuf *buf,
75 s8_t netbuf_next (struct netbuf *buf);
[all …]
Dapi.h227 err_t netconn_recv(struct netconn *conn, struct netbuf **new_buf);
230 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf,
232 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
/external/syslinux/core/lwip/src/api/
Dnetbuf.c56 netbuf *netbuf_new(void) in netbuf_new()
58 struct netbuf *buf; in netbuf_new()
60 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netbuf_new()
87 netbuf_delete(struct netbuf *buf) in netbuf_delete()
107 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
131 netbuf_free(struct netbuf *buf) in netbuf_free()
150 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
174 netbuf_chain(struct netbuf *head, struct netbuf *tail) in netbuf_chain()
193 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
218 netbuf_next(struct netbuf *buf) in netbuf_next()
[all …]
Dapi_lib.c407 len = netbuf_len((struct netbuf *)buf); in netconn_recv_data()
451 netconn_recv(struct netconn *conn, struct netbuf **new_buf) in netconn_recv()
454 struct netbuf *buf = NULL; in netconn_recv()
468 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in netconn_recv()
540 netconn_sendto(struct netconn *conn, struct netbuf *buf, ip_addr_t *addr, u16_t port) in netconn_sendto()
558 netconn_send(struct netconn *conn, struct netbuf *buf) in netconn_send()
Dsockets.c300 netbuf_delete((struct netbuf *)lastdata); in free_socket()
594 err = netconn_recv(sock->conn, (struct netbuf **)&buf); in lwip_recvfrom()
624 p = ((struct netbuf *)buf)->p; in lwip_recvfrom()
667 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom()
668 port = netbuf_fromport((struct netbuf *)buf); in lwip_recvfrom()
692 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom()
693 port = netbuf_fromport((struct netbuf *)buf); in lwip_recvfrom()
719 netbuf_delete((struct netbuf *)buf); in lwip_recvfrom()
797 struct netbuf buf;
2285 p = ((struct netbuf *)p)->p;
/external/syslinux/core/fs/pxe/
Dcore.c102 struct netbuf *nbuf; in core_udp_recv()
138 struct netbuf *nbuf; in core_udp_send()
180 struct netbuf *nbuf; in core_udp_sendto()
Dpxe.h109 struct netbuf;
124 struct netbuf *buf; /* lwip cached buffer */
/external/libpcap/
Dpcap-rpcap.c209 …char netbuf[RPCAP_NETBUF_SIZE]; /* size of the network buffer in which the packet is copied, just… in pcap_read_nocb_remote() local
258 header = (struct rpcap_header *) netbuf; in pcap_read_nocb_remote()
259 net_pkt_header = (struct rpcap_pkthdr *) (netbuf + sizeof(struct rpcap_header)); in pcap_read_nocb_remote()
264 …if (sock_recv(md->rmt_sockdata, netbuf, RPCAP_NETBUF_SIZE, SOCK_RECEIVEALL_NO, p->errbuf, PCAP_ERR… in pcap_read_nocb_remote()
269 …if (sock_recv(md->rmt_sockdata, netbuf, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, p->errbu… in pcap_read_nocb_remote()
333 …memcpy(*pkt_data, netbuf + sizeof(struct rpcap_header) + sizeof(struct rpcap_pkthdr), (*pkt_header… in pcap_read_nocb_remote()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/
Dtirpc_rpcb_getaddr.c56 struct netbuf svcaddr; in main()
Dtirpc_rpcb_getaddr_limits.c53 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/
Dtirpc_clnt_tli_create.c57 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/
Dtirpc_clnt_vc_create.c56 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/
Dtirpc_clnt_dg_create.c53 struct netbuf svcaddr; in main()
Dtirpc_clnt_dg_create_limits.c65 struct netbuf svcaddr; in main()
/external/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()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/
Dtirpc_rpcb_rmtcall.c56 struct netbuf svcaddr; in main()
Dtirpc_rpcb_rmtcall_stress.c58 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/
Dtirpc_svcerr_noprog.c57 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/
Dtirpc_svcerr_noproc.c57 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/
Dtirpc_svcerr_systemerr.c57 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/
Dtirpc_svcerr_weakauth.c57 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/
Dtirpc_svcerr_progvers.c57 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/
Dtirpc_expertlevel_clnt_call.c57 struct netbuf svcaddr; in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/
Dtirpc_bottomlevel_clnt_call.c53 struct netbuf svcaddr; in main()
Dtirpc_bottomlevel_clnt_call_stress.c58 struct netbuf svcaddr; in main()

12