/[lwip]/lwip/src/netif/etharp.c
ViewVC logotype

Diff of /lwip/src/netif/etharp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by likewise, Wed Jan 8 10:09:43 2003 UTC revision 1.20 by likewise, Wed Jan 8 10:49:16 2003 UTC
# Line 3  Line 3 
3   * Address Resolution Protocol module for IP over Ethernet   * Address Resolution Protocol module for IP over Ethernet
4   *   *
5   * $Log$   * $Log$
6     * Revision 1.20  2003/01/08 10:49:16  likewise
7     * Added check if ARP_QUEUEING is 1 for a queueing related debug statement.
8     *
9   * Revision 1.19  2003/01/08 10:09:43  likewise   * Revision 1.19  2003/01/08 10:09:43  likewise
10   * Updated lwIP module copyright years to include 2003. Committers must check theirs.   * Updated lwIP module copyright years to include 2003. Committers must check theirs.
11   *   *
# Line 339  update_arp_entry(struct netif *netif, st Line 342  update_arp_entry(struct netif *netif, st
342      if (arp_table[i].state == ETHARP_STATE_STABLE) {      if (arp_table[i].state == ETHARP_STATE_STABLE) {
343        DEBUGF(ETHARP_DEBUG, ("update_arp_entry: overwriting old stable entry %u\n", i));        DEBUGF(ETHARP_DEBUG, ("update_arp_entry: overwriting old stable entry %u\n", i));
344        /* stable entries should have no queued packets (TODO: allow later) */        /* stable entries should have no queued packets (TODO: allow later) */
345    #if ARP_QUEUEING
346        ASSERT("update_arp_entry: arp_table[i].p == NULL", arp_table[i].p == NULL);        ASSERT("update_arp_entry: arp_table[i].p == NULL", arp_table[i].p == NULL);
347    #endif
348      } else {      } else {
349        DEBUGF(ETHARP_DEBUG, ("update_arp_entry: filling empty entry %u with state %u\n", i, arp_table[i].state));        DEBUGF(ETHARP_DEBUG, ("update_arp_entry: filling empty entry %u with state %u\n", i, arp_table[i].state));
350        ASSERT("update_arp_entry: arp_table[i].state == ETHARP_STATE_EMPTY", arp_table[i].state == ETHARP_STATE_EMPTY);        ASSERT("update_arp_entry: arp_table[i].state == ETHARP_STATE_EMPTY", arp_table[i].state == ETHARP_STATE_EMPTY);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26