Searched refs:mctp_pktbuf_hdr (Results 1 – 8 of 8) sorted by relevance
/openbmc/libmctp/tests/ |
H A D | test-utils.c | 53 memcpy(mctp_pktbuf_hdr(pkt), buf, len); in mctp_binding_test_rx_raw()
|
H A D | test_cmds.c | 51 memcpy(mctp_pktbuf_hdr(pkt), buf, len); in rcv_ctrl_msg()
|
H A D | test_bridge.c | 52 hdr = mctp_pktbuf_hdr(pkt); in mctp_binding_bridge_rx()
|
/openbmc/libmctp/ |
H A D | serial.c | 121 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 D | libmctp.h | 63 struct mctp_hdr *mctp_pktbuf_hdr(struct mctp_pktbuf *pkt);
|
H A D | astlpc.c | 220 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 D | core.c | 126 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 D | mctp-capture.c | 84 memcpy(pktbuf + sizeof(struct sll2_header), mctp_pktbuf_hdr(pkt), in capture_binding()
|