Lines Matching refs:ll

160 	struct can_isotp_ll_options ll;  member
220 nskb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), gfp_any()); in isotp_send_fc()
237 skb_put_zero(nskb, so->ll.mtu); in isotp_send_fc()
256 ncf->flags = so->ll.tx_flags; in isotp_send_fc()
653 if (skb->len != so->ll.mtu) in isotp_rcv()
772 skb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), GFP_ATOMIC); in isotp_send_cframe()
783 skb_put_zero(skb, so->ll.mtu); in isotp_send_cframe()
793 cf->flags = so->ll.tx_flags; in isotp_send_cframe()
1000 skb = sock_alloc_send_skb(sk, so->ll.mtu + sizeof(struct can_skb_priv), in isotp_sendmsg()
1015 skb_put_zero(skb, so->ll.mtu); in isotp_sendmsg()
1081 cf->flags = so->ll.tx_flags; in isotp_sendmsg()
1312 if (dev->mtu < so->ll.mtu) { in isotp_bind()
1437 struct can_isotp_ll_options ll; in isotp_setsockopt_locked() local
1439 if (copy_from_sockptr(&ll, optval, optlen)) in isotp_setsockopt_locked()
1443 if (ll.tx_dl != padlen(ll.tx_dl)) in isotp_setsockopt_locked()
1446 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked()
1449 if (ll.mtu == CAN_MTU && in isotp_setsockopt_locked()
1450 (ll.tx_dl > CAN_MAX_DLEN || ll.tx_flags != 0)) in isotp_setsockopt_locked()
1453 memcpy(&so->ll, &ll, sizeof(ll)); in isotp_setsockopt_locked()
1456 so->tx.ll_dl = ll.tx_dl; in isotp_setsockopt_locked()
1523 val = &so->ll; in isotp_getsockopt()
1620 so->ll.mtu = CAN_ISOTP_DEFAULT_LL_MTU; in isotp_init()
1621 so->ll.tx_dl = CAN_ISOTP_DEFAULT_LL_TX_DL; in isotp_init()
1622 so->ll.tx_flags = CAN_ISOTP_DEFAULT_LL_TX_FLAGS; in isotp_init()
1625 so->tx.ll_dl = so->ll.tx_dl; in isotp_init()