Home
last modified time | relevance | path

Searched refs:af_mctp (Results 1 – 5 of 5) sorted by relevance

/openbmc/libpldm/src/transport/
H A Daf-mctp.c112 struct pldm_transport_af_mctp *af_mctp = transport_to_af_mctp(t); in pldm_transport_af_mctp_recv() local
122 length = recv(af_mctp->socket, NULL, 0, MSG_PEEK | MSG_TRUNC); in pldm_transport_af_mctp_recv()
132 length = recvfrom(af_mctp->socket, msg, length, MSG_TRUNC, in pldm_transport_af_mctp_recv()
140 rc = pldm_transport_af_mctp_get_tid(af_mctp, eid, tid); in pldm_transport_af_mctp_recv()
148 if (af_mctp->bound && hdr->request) { in pldm_transport_af_mctp_recv()
163 rc = pldm_responder_cookie_track(&af_mctp->cookie_jar, in pldm_transport_af_mctp_recv()
187 struct pldm_transport_af_mctp *af_mctp = transport_to_af_mctp(t); in pldm_transport_af_mctp_send() local
196 if (af_mctp->bound && !hdr->request) { in pldm_transport_af_mctp_send()
200 req = pldm_responder_cookie_untrack(&af_mctp->cookie_jar, tid, in pldm_transport_af_mctp_send()
214 if (pldm_transport_af_mctp_get_eid(af_mctp, tid, &eid)) { in pldm_transport_af_mctp_send()
[all …]
/openbmc/pldm/common/
H A Dtransport.cpp50 pldm_transport_af_mctp_destroy(impl.af_mctp); in pldm_transport_impl_mctp_demux_init()
69 impl.af_mctp = nullptr; in pldm_transport_impl_af_mctp_init()
70 pldm_transport_af_mctp_init(&impl.af_mctp); in pldm_transport_impl_af_mctp_init()
71 if (!impl.af_mctp) in pldm_transport_impl_af_mctp_init()
79 int rc = pldm_transport_af_mctp_map_tid(impl.af_mctp, eid, eid); in pldm_transport_impl_af_mctp_init()
82 pldm_transport_af_mctp_destroy(impl.af_mctp); in pldm_transport_impl_af_mctp_init()
88 if (pldm_transport_af_mctp_bind(impl.af_mctp, nullptr, 0)) in pldm_transport_impl_af_mctp_init()
93 pldm_transport* pldmTransport = pldm_transport_af_mctp_core(impl.af_mctp); in pldm_transport_impl_af_mctp_init()
119 pldm_transport_af_mctp_destroy(impl.af_mctp); in transport_impl_destroy()
H A Dtransport.hpp15 struct pldm_transport_af_mctp* af_mctp; member
/openbmc/linux/net/mctp/
H A DMakefile3 mctp-objs := af_mctp.o device.o route.o neigh.o
/openbmc/linux/
H A Dopengrok0.0.log[all...]