Wireshark-commits: [Wireshark-commits] master-1.12 e13d4d4: Pull the record processing into netmon_

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 6 Jul 2014 01:14:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e13d4d401b08a1b61e05293c335f40fb570d5b6d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

e13d4d4 by Guy Harris (guy@xxxxxxxxxxxx):

    Pull the record processing into netmon_process_record().
    
    That combines more common code from the read and seek-read code
    paths.
    
    Also, separate out the individual metadata record types, with a comment
    for each, to simplify the process of supporting some or all of them in
    the future.
    
    Change-Id: Ic8ded397d9550ec6013c1f5f138333b1ef5c37e5
    Reviewed-on: https://code.wireshark.org/review/2869
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 570d52a844afe40255ccce68d4bdad66669ff709)
    Reviewed-on: https://code.wireshark.org/review/2870
    

Actions performed:

    from  9b81e6b   Fix an error caught by enum-conversion warnings.
    adds  e13d4d4   Pull the record processing into netmon_process_record().


Summary of changes:
 wiretap/netmon.c |  261 ++++++++++++++++++++++++++----------------------------
 1 file changed, 126 insertions(+), 135 deletions(-)