RE: LIBBSD TCPDUMP

2017-07-01 Thread Kirspel, Kevin
No. I fixed that after I noticed the data was invalid during testing. I moved the variable declaration outside of the if statement and now the data is correct. Kevin Kirspel Electrical Engineer - Sr. Staff Idexx Roswell 235 Hembree Park Drive Roswell GA 30076 Tel: (770)-510- ext. 81642 Dir

Re: LIBBSD TCPDUMP

2017-07-01 Thread Gedare Bloom
On Sat, Jul 1, 2017 at 11:49 AM, Kirspel, Kevin wrote: > This is how I fixed it. I did similar things for EXTRACT_32BITS and > EXTRACT_64BITS. > > > > static inline u_int16_t > > EXTRACT_16BITS(const void *p) > > { > > #if defined(__arm__) && defined(__rtems__) > > if(((uint32_t)p

[PATCH] Fix GDB build on ArchLinux

2017-07-01 Thread andreas.koelbl
From: Andreas Kölbl Archlinux provides both, libguile v2.0 and v2.2. GDB states in configuration its compatibility with both versions of libguile which is false. The SCM_port interface of libguile was removed in v2.2 and therefore breaks GDB as a user. RTEMS does not use libguile and therefore i

RE: LIBBSD TCPDUMP

2017-07-01 Thread Kirspel, Kevin
This is how I fixed it. I did similar things for EXTRACT_32BITS and EXTRACT_64BITS. static inline u_int16_t EXTRACT_16BITS(const void *p) { #if defined(__arm__) && defined(__rtems__) if(((uint32_t)p % 2) != 0) { u_int16_t value;

Re: LIBBSD TCPDUMP

2017-07-01 Thread Joel Sherrill
On Jul 1, 2017 10:34 AM, "Gedare Bloom" wrote: On Sat, Jul 1, 2017 at 10:01 AM, Kirspel, Kevin wrote: > I get a crash when running the tcpdump command in LIBBSD. It is due to the > following structure > > > > struct stp_bpdu_ { > > u_int8_t protocol_id[2]; > > u_int8_t protocol_version;

Re: LIBBSD TCPDUMP

2017-07-01 Thread Gedare Bloom
On Sat, Jul 1, 2017 at 10:01 AM, Kirspel, Kevin wrote: > I get a crash when running the tcpdump command in LIBBSD. It is due to the > following structure > > > > struct stp_bpdu_ { > > u_int8_t protocol_id[2]; > > u_int8_t protocol_version; > > u_int8_t bpdu_type; > > u_int8_t fla

Re: Regarding Open Project

2017-07-01 Thread Joel Sherrill
On Jul 1, 2017 3:12 AM, "pravin soni" wrote: Hello Developers, This is Pravin Soni, new in open source, working at KRACKIN Technologies. I am willing to contribute in RTEMS. For a beginner, can you please suggest me some open and unmentioned projects or tickets according to you. I have seen rtem

Re: LIBBSD TCPDUMP

2017-07-01 Thread Joel Sherrill
On Jul 1, 2017 9:01 AM, "Kirspel, Kevin" wrote: I get a crash when running the tcpdump command in LIBBSD. It is due to the following structure struct stp_bpdu_ { u_int8_t protocol_id[2]; u_int8_t protocol_version; u_int8_t bpdu_type; u_int8_t flags; u_int8_t root_id[8

libbsd ofwbus activate resources issue

2017-07-01 Thread Sichen Zhao
Hi, When i mount device module such as ti_scm, usb via simplebus not nexus, i got an error: *** LIBBSD MEDIA 1 TEST *** nexus0: ofwbus0: on nexus0 simplebu

LIBBSD TCPDUMP

2017-07-01 Thread Kirspel, Kevin
I get a crash when running the tcpdump command in LIBBSD. It is due to the following structure struct stp_bpdu_ { u_int8_t protocol_id[2]; u_int8_t protocol_version; u_int8_t bpdu_type; u_int8_t flags; u_int8_t root_id[8]; u_int8_t root_path_cost[4]; u_int8_t bridge_id

Regarding Open Project

2017-07-01 Thread pravin soni
Hello Developers, This is Pravin Soni, new in open source, working at KRACKIN Technologies. I am willing to contribute in RTEMS. For a beginner, can you please suggest me some open and unmentioned projects or tickets according to you. I have seen rtems wiki page and i have gone through the quick s