Documentation
¶
Index ¶
Constants ¶
View Source
const ( CAN_EFF_MASK uint32 = unix.CAN_EFF_MASK CAN_SFF_MASK uint32 = unix.CAN_SFF_MASK CAN_RTR_FLAG uint32 = unix.CAN_RTR_FLAG CAN_EFF_FLAG uint32 = unix.CAN_EFF_FLAG )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawInterface ¶
type RawInterface struct {
// contains filtered or unexported fields
}
func NewCanItf ¶
func NewCanItf(ifName string) (*RawInterface, error)
func (*RawInterface) AddfilterPass ¶
func (itf *RawInterface) AddfilterPass(recv_ids []uint, len uint) error
func (*RawInterface) Close ¶
func (itf *RawInterface) Close() error
func (*RawInterface) Receive ¶
func (itf *RawInterface) Receive() (CanFrame, error)
func (*RawInterface) Send ¶
func (itf *RawInterface) Send(f CanFrame) error
Click to show internal directories.
Click to hide internal directories.