Home
last modified time | relevance | path

Searched refs:CAN_MTU (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/include/uapi/linux/can/
Disotp.h164 #define CAN_ISOTP_DEFAULT_LL_MTU CAN_MTU
/linux-6.1.9/include/uapi/linux/
Dcan.h216 #define CAN_MTU (sizeof(struct can_frame)) macro
/linux-6.1.9/drivers/net/can/
Dvcan.c139 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vcan_change_mtu()
Dvxcan.c134 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vxcan_change_mtu()
/linux-6.1.9/include/linux/can/
Dskb.h109 return (skb->len == CAN_MTU && cf->len <= CAN_MAX_DLEN); in can_is_can_skb()
/linux-6.1.9/drivers/net/can/dev/
Ddev.c217 dev->mtu = CAN_MTU; in can_setup()
299 case CAN_MTU: in can_change_mtu()
Dnetlink.c239 dev->mtu = CAN_MTU; in can_changelink()
/linux-6.1.9/Documentation/networking/
Dcan.rst443 #define CAN_MTU (sizeof(struct can_frame)) == 16 => Classical CAN frame
630 CAN_RAW_FD_FRAMES enabled: CAN_MTU and CANFD_MTU are allowed
631 CAN_RAW_FD_FRAMES disabled: only CAN_MTU is allowed (default)
646 } else if (nbytes == CAN_MTU) {
660 When reading with size CANFD_MTU only returns CAN_MTU bytes that have
1110 dev->mtu = CAN_MTU; /* sizeof(struct can_frame) -> Classical CAN interface */
1378 MTU = 16 (CAN_MTU) => sizeof(struct can_frame) => Classical CAN device
/linux-6.1.9/net/can/
Disotp.c1412 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked()
1415 if (ll.mtu == CAN_MTU && in isotp_setsockopt_locked()
Dbcm.c167 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU)