summaryrefslogtreecommitdiff
path: root/examples/simple_talker
Commit message (Collapse)AuthorAgeFilesLines
* Aquantia contribution:Egor Pomozov2019-10-031-1/+1
| | | | | | | | | | | | | | | - Add atl_avb submodule - Update Makefiles, .cmake and CMakeList.txt to support a building of Aquantia hardware support - Add atl lib support to common lib - Add atl_simple_talker example - Add asyncronous storing to pcap file in example applications - Add send_packet_precisely example application - Add run_atl.sh file to simple installation of atl_tsn driver - Add atl hardware support in avtp_pipeline: - Create new atl_rawsock - Create new scheme of launchtime calculation - Update logging system to support a log from hardware library - Apply fix in mrp_client.c
* Remove lib/igb and kmod/igb folder as part of restructuringAvinash Reddy Palleti2018-08-011-1/+1
| | | | | | Removed lib/igb and kmod/igb and created as separate repos under AVnu. lib/igb is again added as submodule to lib/igb_avb/lib as there is build dependency for lib/common.
* Split lib/common/avb.c/h into separate librariesLevi Pearson2017-03-311-9/+22
| | | | | | | | | | This allows pulling in gPTP client support without pulling in AVTP code and especially without pulling in a dependency on the igb library. No source had to change since avb.h just includes the broken-out headers, and there is a CPP option to include the avb_igb.h file. Makefiles were updated as well, including for all the examples that use the common avb code.
* examples/common/avb to lib/common/avbRikus Wessels2016-06-201-4/+4
|
* Fix #includeRikus Wessels2016-05-271-1/+0
|
* Example code cleanupRikus Wessels2016-05-272-115/+4
|
* Remove some pci_connect duplicatesRikus Wessels2016-05-272-51/+4
|
* Update simple_talker.cRikus Wessels2016-05-261-2/+2
|
* Reformat duplicated pci_connect for easy comparisonRikus Wessels2016-05-191-6/+14
|
* Merge branch 'gptp-enhancements' of https://github.com/srinath88/Open-AVB ↵Andrew Elder2015-11-041-76/+79
|\ | | | | | | | | | | | | | | into srinath88-gptp-enhancements Conflicts: examples/jackd-talker/jackd_talker.c examples/simple_talker/simple_talker.c
| * Got rid of the global variables and instead passed a pointer to the context ↵Srinath Arunachalam2015-08-191-35/+34
| | | | | | | | to all the functions that need it in simple_talker and simple_listener.
| * Moved global variables in simple_talker mrp client and simple_listener mrp ↵Srinath Arunachalam2015-08-191-3/+7
| | | | | | | | clinet to a struct.
| * Simple listener now initializes pcap mac address filter by getting the ↵Srinath Arunachalam2015-08-191-16/+19
| | | | | | | | destination mac address from mrp packet instead of hardcoding it
| * changed mrp_join_vlan() to join the VLAN obtained from the MRP daemon ↵Srinath2015-08-191-55/+46
| | | | | | | | instead of hardcoding it.
| * Added thread monitor to monitor mrp daemon and get the class id, priority ↵Srinath Arunachalam2015-08-191-4/+11
| | | | | | | | and VLAN id instead of using hardcoded values.
* | gPtpTimeData.local_time should have uint64_t type.Marcin Miklas2015-09-161-1/+1
| | | | | | | | | | In OS_IPC::update() local_time parameter already has uint64_t. I see no reason why it should be then converted to int64_t.
* | Consistent gPtpTimeData definitions in examples.Marcin Miklas2015-09-161-5/+7
|/
* Merge pull request #235 from wgoossens/cross_compile_supportandrew-elder2015-06-081-1/+1
|\ | | | | Cross compile support
| * examples: Allow overriding compiler commandWalter Goossens2015-06-061-1/+1
| | | | | | | | Signed-off-by: Walter Goossens <walter.goossens@axon.tv>
* | Remove executable bit from sourcefilesWalter Goossens2015-06-071-0/+0
|/ | | | Signed-off-by: Walter Goossens <walter.goossens@axon.tv>
* examples: add daemons/common to makefile include pathsAndrew Elder2015-02-281-1/+1
|
* Fixed segmentation fault: pointer adress not passed by referenceStefan S2015-02-041-25/+30
| | | | | - gptpinit(): igb_mmap pointer passed by reference now to set the adress correctly - Several smaller fixes to reduce warnings (and wrong outputs on different platforms)
* talkers: mrp_unadvertise_stream is called at the end, if fail dont exit just ↵Jean-Baptiste Maillet2014-12-081-3/+1
| | | | warn
* MRP client code talker side: except for send_mrp_msg(), fincs return 0 or -1Jean-Baptiste Maillet2014-12-081-8/+35
| | | | | Callers of send_mrp_msg() are able to ckeck the message length returned. Callers of higher level functions get 0 for sucess, -1 for failure.
* simple_talker: bugfix, MRP func returns 1500 for successJean-Baptiste Maillet2014-12-051-11/+3
| | | | | | | Bug introduced by coverity fixes. This historical API goes against the principle of least surprise, to be discussed. For now, this commit will bring back 2 coverity defects but workaround the bug.
* simple_talker: get rid of layer 4 port globalJean-Baptiste Maillet2014-11-281-4/+4
|
* simple_talker: make igb mapped memory not globalJean-Baptiste Maillet2014-11-281-17/+17
|
* simple_talker: make igb shared memory not globalJean-Baptiste Maillet2014-11-281-10/+19
|
* simple_talker: make igb pci device not globalJean-Baptiste Maillet2014-11-281-23/+23
|
* talkers/listeners: OS convention, processes return 0 or positive values.Jean-Baptiste Maillet2014-11-281-7/+7
| | | | | There's no point on exiting with a negative status. -1 actually yields 255.
* simple_talker/jackd_talker: don't use boolean return for non-boolean funcsJean-Baptiste Maillet2014-11-281-9/+14
| | | | | Coding horror. Since the beginning of epoch, ia func return 0 for sucess, -1 for failure. true/false returns are reserved for is_*() boolean funcs.
* talkers/listeners: rename, prefix all globals with glob_Jean-Baptiste Maillet2014-11-281-36/+36
|
* talkers / listeners: coding style, capital letters is for preprocessorJean-Baptiste Maillet2014-11-281-25/+25
| | | | | Don't use capital letters for anything else than macro stuff. In the move, clearly mark globals as glob_*.
* talkers / listeners: minor, macros coding styleJean-Baptiste Maillet2014-11-281-13/+13
|
* talkers / listeners: minor, code move, putting globals togetherJean-Baptiste Maillet2014-11-281-13/+12
|
* talkers / listeners: minor, moving macros togetherJean-Baptiste Maillet2014-11-281-22/+13
|
* simple_talker, jackd_talker: remove unused macrosJean-Baptiste Maillet2014-11-271-4/+0
|
* talkers / listerners: remove useless includes and macrosJean-Baptiste Maillet2014-11-271-33/+7
|
* simple_talker, jackd_talker: minor, cleanup, unused globalJean-Baptiste Maillet2014-11-271-3/+0
|
* Fix for Coverity CID71725 - Unchecked return value from libraryJean-Baptiste Maillet2014-11-241-13/+22
|
* Fix for Coverity CID71727 - Unchecked return value from libraryJean-Baptiste Maillet2014-11-241-1/+6
|
* Fix for Coverity CID71731 - Buffer not null terminatedJean-Baptiste Maillet2014-11-241-1/+4
|
* Fix for Coverity CID71754 - Uninitialized scalar variableJean-Baptiste Maillet2014-11-241-0/+1
|
* Examples makefiles: harmonization and cleaning.Jean-Baptiste Maillet2014-11-211-9/+7
| | | | | Remove some unneeded linker flags, add some missing headers dependencies, same optimization and debug options for all.
* Build, minor: update warning option "-W" to new name "-Wextra"Jean-Baptiste Maillet2014-11-211-1/+1
| | | | | From gcc documentation: "The older name is still supported, but the newer name is more descriptive."
* simple_talker: minor, warning removalJean-Baptiste Maillet2014-11-191-2/+2
|
* Coding style: return is not a function, no parenthesis.Jean-Baptiste Maillet2014-11-191-6/+6
| | | | If return was a function (needing parenthesis), return would return.
* simple_talker: extract MRP code, remove forgoten local var.Jean-Baptiste Maillet2014-11-171-27/+17
| | | | | Confusing: some variables local to main() hide the global ones. Remove these locals.
* simple_talker/listener: move the MRP client part to the common subdirJean-Baptiste Maillet2014-11-173-662/+6
| | | | Run tested OK.
* simple_talker/listener: include guards.Jean-Baptiste Maillet2014-11-131-0/+5
|