Lines Matching refs:ll
142 struct can_isotp_ll_options ll; member
188 nskb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), gfp_any()); in isotp_send_fc()
205 skb_put_zero(nskb, so->ll.mtu); in isotp_send_fc()
224 ncf->flags = so->ll.tx_flags; in isotp_send_fc()
607 if (skb->len != so->ll.mtu) in isotp_rcv()
776 skb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), in isotp_tx_timer_handler()
788 skb_put_zero(skb, so->ll.mtu); in isotp_tx_timer_handler()
798 cf->flags = so->ll.tx_flags; in isotp_tx_timer_handler()
902 skb = sock_alloc_send_skb(sk, so->ll.mtu + sizeof(struct can_skb_priv), in isotp_sendmsg()
917 skb_put_zero(skb, so->ll.mtu); in isotp_sendmsg()
959 cf->flags = so->ll.tx_flags; in isotp_sendmsg()
1140 if (dev->mtu < so->ll.mtu) { in isotp_bind()
1255 struct can_isotp_ll_options ll; in isotp_setsockopt_locked() local
1257 if (copy_from_sockptr(&ll, optval, optlen)) in isotp_setsockopt_locked()
1261 if (ll.tx_dl != padlen(ll.tx_dl)) in isotp_setsockopt_locked()
1264 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked()
1267 if (ll.mtu == CAN_MTU && in isotp_setsockopt_locked()
1268 (ll.tx_dl > CAN_MAX_DLEN || ll.tx_flags != 0)) in isotp_setsockopt_locked()
1271 memcpy(&so->ll, &ll, sizeof(ll)); in isotp_setsockopt_locked()
1274 so->tx.ll_dl = ll.tx_dl; in isotp_setsockopt_locked()
1341 val = &so->ll; in isotp_getsockopt()
1431 so->ll.mtu = CAN_ISOTP_DEFAULT_LL_MTU; in isotp_init()
1432 so->ll.tx_dl = CAN_ISOTP_DEFAULT_LL_TX_DL; in isotp_init()
1433 so->ll.tx_flags = CAN_ISOTP_DEFAULT_LL_TX_FLAGS; in isotp_init()
1436 so->tx.ll_dl = so->ll.tx_dl; in isotp_init()