Blame view

app/app-prime-modbus/include/fanet/socketcan/can/raw.h 837 Bytes
8c2952457   김태훈   응용 프로그램 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  /*
   * socketcan/can/raw.h
   *
   * Definitions for raw CAN sockets
   *
   * $Id: raw.h 1038 2009-08-21 10:00:21Z hartkopp $
   *
   * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
   *          Urs Thuermann   <urs.thuermann@volkswagen.de>
   * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
   * All rights reserved.
   *
   * Send feedback to <socketcan-users@lists.berlios.de>
   *
   */
  
  #ifndef CAN_RAW_H
  #define CAN_RAW_H
  
  #include <socketcan/can.h>
  
  #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
  
  /* for socket options affecting the socket (not the global system) */
  
  enum {
  	CAN_RAW_FILTER = 1,	/* set 0 .. n can_filter(s)          */
  	CAN_RAW_ERR_FILTER,	/* set filter for error frames       */
  	CAN_RAW_LOOPBACK,	/* local loopback (default:on)       */
  	CAN_RAW_RECV_OWN_MSGS	/* receive my own msgs (default:off) */
  };
  
  #endif