include/linux/usb/mctp-usb.h

Source file repositories/reference/linux-study-clean/include/linux/usb/mctp-usb.h

File Facts

System
Linux kernel
Corpus path
include/linux/usb/mctp-usb.h
Extension
.h
Size
764 bytes
Lines
31
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

struct mctp_usb_hdr {
	__be16	id;
	u8	rsvd;
	u8	len;
} __packed;

#define MCTP_USB_XFER_SIZE	512
#define MCTP_USB_BTU		68
#define MCTP_USB_MTU_MIN	MCTP_USB_BTU
#define MCTP_USB_MTU_MAX	(U8_MAX - sizeof(struct mctp_usb_hdr))
#define MCTP_USB_DMTF_ID	0x1ab4

#endif /*  __LINUX_USB_MCTP_USB_H */

Annotation

Implementation Notes