Changeset c909fad for lib/format_linux.c


Ignore:
Timestamp:
03/06/13 13:28:51 (8 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
68b7f29
Parents:
af27241
Message:
  • Added checksumming functions for both the IP and transport layer. The functions will calculate the correct checksum for that packet and also return a pointer to the checksum field in the appropriate header so that the caller can either evaluate whether the checksum is correct, replace the existing checksum, or do whatever they want.
  • Also managed to fix a bunch of broken Revision svn tags
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    r0801187 rc909fad  
    14821482#ifdef HAVE_NETPACKET_PACKET_H
    14831483static void linuxnative_help(void) {
    1484         printf("linuxnative format module: $Revision$\n");
     1484        printf("linuxnative format module: $Revision: 1793 $\n");
    14851485        printf("Supported input URIs:\n");
    14861486        printf("\tint:eth0\n");
     
    14931493
    14941494static void linuxring_help(void) {
    1495         printf("linuxring format module: $Revision$\n");
     1495        printf("linuxring format module: $Revision: 1793 $\n");
    14961496        printf("Supported input URIs:\n");
    14971497        printf("\tring:eth0\n");
     
    15901590#else
    15911591static void linuxnative_help(void) {
    1592         printf("linuxnative format module: $Revision$\n");
     1592        printf("linuxnative format module: $Revision: 1793 $\n");
    15931593        printf("Not supported on this host\n");
    15941594}
    15951595static void linuxring_help(void) {
    1596         printf("linuxring format module: $Revision$\n");
     1596        printf("linuxring format module: $Revision: 1793 $\n");
    15971597        printf("Not supported on this host\n");
    15981598}
Note: See TracChangeset for help on using the changeset viewer.