Statistics
| Branch: | Revision:

napa-baselibs / ml @ 45cc2362

Name Size Revision Age Author Comment
  include 612e856d almost 11 years MarcoMellia Added the RateController and relative QueueMana...
  stun_server 956892f0 about 11 years ArpadBakay New directory structure + build-all.sh that bui...
  tests 956892f0 about 11 years ArpadBakay New directory structure + build-all.sh that bui...
  util 45cc2362 over 10 years SzymonKuc queueManagement.c, bugfix: RTX queue size was n...
Makefile.am 684 Bytes 612e856d almost 11 years MarcoMellia Added the RateController and relative QueueMana...
Makefile.nec 398 Bytes 956892f0 about 11 years ArpadBakay New directory structure + build-all.sh that bui...
README 1.55 KB 956892f0 about 11 years ArpadBakay New directory structure + build-all.sh that bui...
autoclean.sh 188 Bytes 956892f0 about 11 years ArpadBakay New directory structure + build-all.sh that bui...
autogen.sh 75 Bytes 956892f0 about 11 years ArpadBakay New directory structure + build-all.sh that bui...
configure.ac 900 Bytes 956892f0 about 11 years ArpadBakay New directory structure + build-all.sh that bui...
ml.c 72.9 KB 3718d0b1 over 10 years SzymonKuc RETRANSMISSIONS: Monitoring layer hook (the one...
ml_log.c 115 Bytes a41a46e8 almost 11 years RobertBirke ML: added support for log verbosity: new fucnti...
ml_log.h 894 Bytes a41a46e8 almost 11 years RobertBirke ML: added support for log verbosity: new fucnti...
transmissionHandler.h 16.9 KB 3718d0b1 over 10 years SzymonKuc RETRANSMISSIONS: Monitoring layer hook (the one...

Latest revisions

# Date Author Comment
45cc2362 11/12/2010 05:05 PM SzymonKuc

queueManagement.c, bugfix: RTX queue size was not limited properly to it's max value. Some cleanup of commented code.

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2340 c54fac2e-1815-407e-9b96-088d06743913

3718d0b1 11/12/2010 04:23 PM SzymonKuc

RETRANSMISSIONS: Monitoring layer hook (the one for setting MONL headers for each packet) was moved from send_msg() to the seperate function to have it triggered just before the real sending packet to the UDP socket (MONL headers can be now added also to the retransmitted packets). Related function names updated accordingly....

83069252 10/27/2010 05:35 PM SzymonKuc

NAPA-BASELIBS/ml/ml.c, RETRANSMISSIONS: timeout for sending NACK for the last missing packet(s) made as a fraction of timeout for receiving a message.

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2318 c54fac2e-1815-407e-9b96-088d06743913

9dd6abcf 10/27/2010 05:25 PM SzymonKuc

NAPA-BASELIBS/ml/ml.c, RETRANSMISSIONS-FIX: NACKs for the last missing packet(s) didn't handle the monitoring data header length properly. Besides some clean-up of unimportant code.

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2317 c54fac2e-1815-407e-9b96-088d06743913

e2f8bff6 10/27/2010 10:17 AM SzymonKuc

NAPA-BASELIBS/ml/util/queueManagement.c, FIX: the arguments of setQueuesParams() function were not converted from KB to bytes

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2316 c54fac2e-1815-407e-9b96-088d06743913

068fdfc5 10/21/2010 10:14 AM SzymonKuc

NAPA-BASELIBS,ml.c: changed the timeout for packet reception to 50 ms, added the limit on gapCounter.

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2313 c54fac2e-1815-407e-9b96-088d06743913

f3cb7f57 10/15/2010 01:27 PM RobertBirke

ML: added packet retransmission feature to ML (use RTX=1 ./build_all.sh to activate it)

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2294 c54fac2e-1815-407e-9b96-088d06743913

8146020a 10/06/2010 02:25 PM ArpadBakay

Fixes for WIN build

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2221 c54fac2e-1815-407e-9b96-088d06743913

612e856d 09/28/2010 01:18 PM MarcoMellia

Added the RateController and relative QueueManagement functionalities in ml.

To use it, just call the init function mlSetRateLimiterParams() as defined in include/ml.h

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2208 c54fac2e-1815-407e-9b96-088d06743913

e05f904b 09/28/2010 12:54 PM MarcoMellia

corrected a wrong cast in a info()

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2206 c54fac2e-1815-407e-9b96-088d06743913

View revisions

README


This is an short explaination for the messaging layer library. The library requires the libevent library in the version 2.0.1 alpha and the C math library. The library is implemented in C and works in unix/linux. It is tested with Ubuntu 8.04. The library can be compile with ./make. This library is a network layer abstraction for p2p systems, that has the primitives: - connect to a peer - send arbitrary size data to a peer Furthermore, it provides the functionalites: - pmtu discovery - NAT traversal - data fragmentation and reassembly The library has six source code files: messagingLayer.h messagingLayer.c transmissionHandler.h transmissionHandlder.c stun.h stun.c udpSocket.h udpSocket.c The files stun.h stun.c udpSocket.h udpSocket.c are placed in the subfolder "util". The messagingLayer.h and messagingLayer.c files contain the functions of the API. These files are only wrapper files for function in the transmissionHandler.h and transmissionHandler.c files. The files transmissionHandler.h and transmissionHandler.c have the main functionality of the messaging layer. For simplicity several functionalites were excluded into utility files stun.h, stun.c, udpSocket.h ,and udpSocket.c . Stun.h and stun.c contain the NAT traversal functionality according to STUN. They are used by the transmissionHandler to implement a STUN client. The udpSocket.h and udpSocket.c files contain a udp socket abstraction. In the current implementation the file works only with a unix socket. The tests folder contains various test programs and usage eexample code.

Also available in: Atom