Home
last modified time | relevance | path

Searched refs:mctp_pktbuf_hdr (Results 1 – 8 of 8) sorted by relevance

/openbmc/libmctp/tests/
H A Dtest-utils.c53 memcpy(mctp_pktbuf_hdr(pkt), buf, len); in mctp_binding_test_rx_raw()
H A Dtest_cmds.c51 memcpy(mctp_pktbuf_hdr(pkt), buf, len); in rcv_ctrl_msg()
H A Dtest_bridge.c52 hdr = mctp_pktbuf_hdr(pkt); in mctp_binding_bridge_rx()
/openbmc/libmctp/
H A Dserial.c121 p = (void *)mctp_pktbuf_hdr(pkt); in mctp_serial_pkt_escape()
159 fcs = crc_16_ccitt(fcs, (const uint8_t *)mctp_pktbuf_hdr(pkt), len); in mctp_binding_serial_tx()
H A Dlibmctp.h63 struct mctp_hdr *mctp_pktbuf_hdr(struct mctp_pktbuf *pkt);
H A Dastlpc.c220 code = htobe32(crc32(mctp_pktbuf_hdr(pkt), mctp_pktbuf_size(pkt))); in astlpc_pktbuf_protect_v3()
230 code = be32toh(crc32(mctp_pktbuf_hdr(pkt), mctp_pktbuf_size(pkt) - 4)); in astlpc_pktbuf_validate_v3()
838 hdr = mctp_pktbuf_hdr(pkt); in mctp_binding_astlpc_tx()
1032 mctp_astlpc_lpc_read(astlpc, mctp_pktbuf_hdr(pkt), in mctp_astlpc_rx_start()
1043 hdr = mctp_pktbuf_hdr(pkt); in mctp_astlpc_rx_start()
H A Dcore.c126 struct mctp_hdr *mctp_pktbuf_hdr(struct mctp_pktbuf *pkt) in mctp_pktbuf_hdr() function
559 hdr = mctp_pktbuf_hdr(pkt); in mctp_bus_rx()
804 hdr = mctp_pktbuf_hdr(pkt); in mctp_message_tx_on_bus()
/openbmc/libmctp/utils/
H A Dmctp-capture.c84 memcpy(pktbuf + sizeof(struct sll2_header), mctp_pktbuf_hdr(pkt), in capture_binding()