Changeset 491d882 in rtems


Ignore:
Timestamp:
May 31, 2006, 2:52:05 PM (14 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1db81f98
Parents:
5c89efa
Message:

Update icps_allecho counter.

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r5c89efa r491d882  
     12006-05-31      Eric Norum <norume@aps.anl.gov>
     2
     3    * libnetworking/netinet/ip_icmp.c: Update icps_allecho counter.
     4
    152006-05-30      Eric Norum <norume@aps.anl.gov>
    26
  • cpukit/libnetworking/netinet/ip_icmp.c

    r5c89efa r491d882  
    404404
    405405        case ICMP_ECHO:
    406                 if (!icmpallecho
    407                     || (!icmpbmcastecho
    408                         && (m->m_flags & (M_MCAST | M_BCAST)) != 0
    409                         && IN_MULTICAST(ntohl(ip->ip_dst.s_addr)))) {
     406                if (!icmpallecho) {
     407                        icmpstat.icps_allecho++;
     408                        break;
     409                }
     410                if (!icmpbmcastecho
     411                    && (m->m_flags & (M_MCAST | M_BCAST)) != 0
     412                    && IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) {
    410413                        icmpstat.icps_bmcastecho++;
    411414                        break;
Note: See TracChangeset for help on using the changeset viewer.