Searched refs:CAN_MTU (Results 1 – 10 of 10) sorted by relevance
164 #define CAN_ISOTP_DEFAULT_LL_MTU CAN_MTU
216 #define CAN_MTU (sizeof(struct can_frame)) macro
139 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vcan_change_mtu()
134 if (new_mtu != CAN_MTU && new_mtu != CANFD_MTU && in vxcan_change_mtu()
109 return (skb->len == CAN_MTU && cf->len <= CAN_MAX_DLEN); in can_is_can_skb()
217 dev->mtu = CAN_MTU; in can_setup()299 case CAN_MTU: in can_change_mtu()
239 dev->mtu = CAN_MTU; in can_changelink()
443 #define CAN_MTU (sizeof(struct can_frame)) == 16 => Classical CAN frame630 CAN_RAW_FD_FRAMES enabled: CAN_MTU and CANFD_MTU are allowed631 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 have1110 dev->mtu = CAN_MTU; /* sizeof(struct can_frame) -> Classical CAN interface */1378 MTU = 16 (CAN_MTU) => sizeof(struct can_frame) => Classical CAN device
1412 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked()1415 if (ll.mtu == CAN_MTU && in isotp_setsockopt_locked()
167 #define CFSIZ(flags) ((flags & CAN_FD_FRAME) ? CANFD_MTU : CAN_MTU)