pcap-canusb-linux.h (241231) | pcap-canusb-linux.h (251129) |
---|---|
1/* 2 * Copyright (c) 2009 Felix Obenhuber 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 18 unchanged lines hidden (view full) --- 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * 30 */ 31 32/* 33 * Prototypes for SocketCAN related functions 34 */ | 1/* 2 * Copyright (c) 2009 Felix Obenhuber 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 18 unchanged lines hidden (view full) --- 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * 30 */ 31 32/* 33 * Prototypes for SocketCAN related functions 34 */ |
35pcap_t* canusb_create(const char *device, char *ebuf); 36int canusb_listdevices(pcap_if_t **pdevlist, char* errbuf); | 35pcap_t* canusb_create(const char *device, char *ebuf, int *is_ours); 36int canusb_findalldevs(pcap_if_t **pdevlist, char* errbuf); |
37 | 37 |