diff -r 6787754b251b -r b6572d0336c3 doc/doxygen/html/can__socket_8c.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/can__socket_8c.html Mon Jun 04 17:59:50 2007 +0200 @@ -0,0 +1,362 @@ + + +CanFestival: /home/epimerde/documents/tc11/CanFestival-3/drivers/can_socket/can_socket.c File Reference + + + + +
+
+
+
+

/home/epimerde/documents/tc11/CanFestival-3/drivers/can_socket/can_socket.c File Reference

#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <stddef.h>
+#include <errno.h>
+#include "config.h"
+#include <sys/socket.h>
+#include <sys/ioctl.h>
+#include "linux/can.h"
+#include "linux/can/raw.h"
+#include "net/if.h"
+#include "can_driver.h"
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define PF_CAN   29
#define AF_CAN   PF_CAN
#define CAN_IFNAME   "can%s"
#define CAN_SOCKET   socket
#define CAN_CLOSE   close
#define CAN_RECV   recv
#define CAN_SEND   send
#define CAN_BIND   bind
#define CAN_IOCTL   ioctl
#define CAN_ERRNO(err)   errno

Functions

UNS8 canReceive_driver (CAN_HANDLE fd0, Message *m)
UNS8 canSend_driver (CAN_HANDLE fd0, Message *m)
CAN_HANDLE canOpen_driver (s_BOARD *board)
int canClose_driver (CAN_HANDLE fd0)
+


Define Documentation

+ +
+
+ + + + +
#define AF_CAN   PF_CAN
+
+
+ +

+ +

+Definition at line 48 of file can_socket.c. +

+

+ +

+
+ + + + +
#define CAN_BIND   bind
+
+
+ +

+ +

+Definition at line 55 of file can_socket.c. +

+

+ +

+
+ + + + +
#define CAN_CLOSE   close
+
+
+ +

+ +

+Definition at line 52 of file can_socket.c. +

+

+ +

+
+ + + + + + + + + +
#define CAN_ERRNO (err   )    errno
+
+
+ +

+ +

+Definition at line 57 of file can_socket.c. +

+

+ +

+
+ + + + +
#define CAN_IFNAME   "can%s"
+
+
+ +

+ +

+Definition at line 50 of file can_socket.c. +

+

+ +

+
+ + + + +
#define CAN_IOCTL   ioctl
+
+
+ +

+ +

+Definition at line 56 of file can_socket.c. +

+

+ +

+
+ + + + +
#define CAN_RECV   recv
+
+
+ +

+ +

+Definition at line 53 of file can_socket.c. +

+

+ +

+
+ + + + +
#define CAN_SEND   send
+
+
+ +

+ +

+Definition at line 54 of file can_socket.c. +

+

+ +

+
+ + + + +
#define CAN_SOCKET   socket
+
+
+ +

+ +

+Definition at line 51 of file can_socket.c. +

+

+ +

+
+ + + + +
#define PF_CAN   29
+
+
+ +

+ +

+Definition at line 47 of file can_socket.c. +

+

+


Function Documentation

+ +
+
+ + + + + + + + + +
int canClose_driver (CAN_HANDLE  fd0  ) 
+
+
+ +

+ +

+Definition at line 228 of file can_socket.c. +

+References CAN_CLOSE. +

+

+ +

+
+ + + + + + + + + +
CAN_HANDLE canOpen_driver (s_BOARD board  ) 
+
+
+ +

+ +

+Definition at line 150 of file can_socket.c. +

+References AF_CAN, struct_s_BOARD::baudrate, struct_s_BOARD::busname, CAN_BIND, CAN_CLOSE, CAN_ERRNO, CAN_IFNAME, CAN_IOCTL, CAN_SOCKET, and PF_CAN. +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
UNS8 canReceive_driver (CAN_HANDLE  fd0,
Message m 
)
+
+
+ +

+ +

+Definition at line 64 of file can_socket.c. +

+References CAN_ERRNO, CAN_RECV, Message::cob_id, Message::data, Message::len, Message::rtr, and SHORT_CAN::w. +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
UNS8 canSend_driver (CAN_HANDLE  fd0,
Message m 
)
+
+
+ +

+ +

+Definition at line 90 of file can_socket.c. +

+References CAN_ERRNO, CAN_SEND, Message::cob_id, Message::data, Message::len, Message::rtr, and SHORT_CAN::w. +

+

+


Generated on Mon Jun 4 16:29:07 2007 for CanFestival by  + +doxygen 1.5.1
+ +