• Aurelio Colosimo's avatar
    arch-gnu-linux/posix-socket.c: Fix order of EVT/GEN frames reception · f760717f
    Aurelio Colosimo authored
    This patch fixes a bug related to reception order of msgs. Sync msgs
    are defined as "Event" messages and FollowUp are "General" messages, and we
    need to handle them in the very same order they were sent (i.e. FollowUp is
    after Sync). With the implementation prior to this patch, we tried to
    serve Event and General alternatively. Now we always check for Event frames
    before General ones. I didn't find, in ieee spec, whether they cleary state
    that Event class is higher priority, at reception, with respect to General,
    but this is likely to be in this way, since Event messages are those needing
    the most precise timing.
    
    For more information about PTP message classes, see IEEE 1588v2, pag. 17,
    paragraph 6.4.
    Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
    f760717f
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-gnu-linux Loading commit data...
arch-wrpc Loading commit data...
doc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...