Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions
socketcan.h File Reference
#include <gmodule.h>
#include <wtap-int.h>

Go to the source code of this file.

Classes

struct  wtap_can_msg_data_t
 
struct  wtap_can_msg_t
 

Macros

#define CAN_MAX_DLEN   8
 
#define CANFD_MAX_DLEN   64
 
#define WTAP_SOCKETCAN_INVALID_INTERFACE_ID   0xFFFFFFFF
 

Enumerations

enum  wtap_can_msg_type_t {
  MSG_TYPE_STD , MSG_TYPE_EXT , MSG_TYPE_STD_RTR , MSG_TYPE_EXT_RTR ,
  MSG_TYPE_STD_FD , MSG_TYPE_EXT_FD , MSG_TYPE_ERR
}
 

Functions

void wtap_set_as_socketcan (wtap *wth, int file_type_subtype, int tsprec, void *tap_priv, void(*tap_close)(void *))
 
bool wtap_socketcan_gen_packet (wtap *wth, wtap_rec *rec, const wtap_can_msg_t *msg, char *module_name, int *err, char **err_info)
 
uint32_t wtap_socketcan_find_or_create_new_interface (wtap *wth, const char *name)
 
void * wtap_socketcan_get_private_data (wtap *wth)
 

Detailed Description

Wiretap Library Copyright (c) 1998 by Gilbert Ramirez gram@.nosp@m.alum.nosp@m.ni.ri.nosp@m.ce.e.nosp@m.du

Support for Busmaster log file format Copyright (c) 2019 by Maksim Salau maksi.nosp@m.m.sa.nosp@m.lau@g.nosp@m.mail.nosp@m..com

SPDX-License-Identifier: GPL-2.0-or-later