• 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
..
include/arch Loading commit data...
Makefile Loading commit data...
main-loop.c Loading commit data...
posix-io.c Loading commit data...
posix-socket.c Loading commit data...
posix-startup.c Loading commit data...
posix-time.c Loading commit data...
posix.h Loading commit data...