Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux/can
File: raw.h
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
[0] Fix | Delete
/*
[1] Fix | Delete
* linux/can/raw.h
[2] Fix | Delete
*
[3] Fix | Delete
* Definitions for raw CAN sockets
[4] Fix | Delete
*
[5] Fix | Delete
* Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
[6] Fix | Delete
* Urs Thuermann <urs.thuermann@volkswagen.de>
[7] Fix | Delete
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
[8] Fix | Delete
* All rights reserved.
[9] Fix | Delete
*
[10] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[11] Fix | Delete
* modification, are permitted provided that the following conditions
[12] Fix | Delete
* are met:
[13] Fix | Delete
* 1. Redistributions of source code must retain the above copyright
[14] Fix | Delete
* notice, this list of conditions and the following disclaimer.
[15] Fix | Delete
* 2. Redistributions in binary form must reproduce the above copyright
[16] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[17] Fix | Delete
* documentation and/or other materials provided with the distribution.
[18] Fix | Delete
* 3. Neither the name of Volkswagen nor the names of its contributors
[19] Fix | Delete
* may be used to endorse or promote products derived from this software
[20] Fix | Delete
* without specific prior written permission.
[21] Fix | Delete
*
[22] Fix | Delete
* Alternatively, provided that this notice is retained in full, this
[23] Fix | Delete
* software may be distributed under the terms of the GNU General
[24] Fix | Delete
* Public License ("GPL") version 2, in which case the provisions of the
[25] Fix | Delete
* GPL apply INSTEAD OF those given above.
[26] Fix | Delete
*
[27] Fix | Delete
* The provided data structures and external interfaces from this code
[28] Fix | Delete
* are not restricted to be used by modules with a GPL compatible license.
[29] Fix | Delete
*
[30] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
[31] Fix | Delete
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
[32] Fix | Delete
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
[33] Fix | Delete
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
[34] Fix | Delete
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
[35] Fix | Delete
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
[36] Fix | Delete
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
[37] Fix | Delete
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
[38] Fix | Delete
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
[39] Fix | Delete
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
[40] Fix | Delete
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
[41] Fix | Delete
* DAMAGE.
[42] Fix | Delete
*/
[43] Fix | Delete
[44] Fix | Delete
#ifndef _CAN_RAW_H
[45] Fix | Delete
#define _CAN_RAW_H
[46] Fix | Delete
[47] Fix | Delete
#include <linux/can.h>
[48] Fix | Delete
[49] Fix | Delete
#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
[50] Fix | Delete
[51] Fix | Delete
/* for socket options affecting the socket (not the global system) */
[52] Fix | Delete
[53] Fix | Delete
enum {
[54] Fix | Delete
CAN_RAW_FILTER = 1, /* set 0 .. n can_filter(s) */
[55] Fix | Delete
CAN_RAW_ERR_FILTER, /* set filter for error frames */
[56] Fix | Delete
CAN_RAW_LOOPBACK, /* local loopback (default:on) */
[57] Fix | Delete
CAN_RAW_RECV_OWN_MSGS, /* receive my own msgs (default:off) */
[58] Fix | Delete
CAN_RAW_FD_FRAMES, /* allow CAN FD frames (default:off) */
[59] Fix | Delete
CAN_RAW_JOIN_FILTERS, /* all filters must match to trigger */
[60] Fix | Delete
};
[61] Fix | Delete
[62] Fix | Delete
#endif /* !_UAPI_CAN_RAW_H */
[63] Fix | Delete
[64] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function