Changeset 969d88e in mainline for uspace/srv/net/il/ip/ip.c


Ignore:
Timestamp:
2011-04-09T11:04:11Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
534d08e8
Parents:
88ccd8b8 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/ip/ip.c

    r88ccd8b8 r969d88e  
    365365               
    366366                if (ip_netif->dhcp) {
    367                         /* TODO dhcp */
     367                        // TODO dhcp
    368368                        net_free_settings(configuration, data);
    369369                        return ENOTSUP;
     
    398398                        }
    399399                } else {
    400                         /* TODO ipv6 in separate module */
     400                        // TODO ipv6 in separate module
    401401                        net_free_settings(configuration, data);
    402402                        return ENOTSUP;
     
    517517            ip_netif->dhcp ? "dhcp" : "static");
    518518       
    519         /* TODO ipv6 addresses */
     519        // TODO ipv6 addresses
    520520       
    521521        char address[INET_ADDRSTRLEN];
     
    946946
    947947        /* Greatest multiple of 8 lower than content */
    948         /* TODO even fragmentation? */
     948        // TODO even fragmentation?
    949949        length = length & ~0x7;
    950950       
     
    12121212        }
    12131213       
    1214         /* Ff the local host is the destination */
     1214        /* If the local host is the destination */
    12151215        if ((route->address.s_addr == dest->s_addr) &&
    12161216            (dest->s_addr != IPV4_LOCALHOST_ADDRESS)) {
     
    12791279        in_addr_t destination;
    12801280
    1281         /* TODO search set ipopt route? */
     1281        // TODO search set ipopt route?
    12821282        destination.s_addr = header->destination_address;
    12831283        return destination;
     
    13211321        if ((header->flags & IPFLAG_MORE_FRAGMENTS) ||
    13221322            IP_FRAGMENT_OFFSET(header)) {
    1323                 /* TODO fragmented */
     1323                // TODO fragmented
    13241324                return ENOTSUP;
    13251325        }
     
    14371437                phone = ip_prepare_icmp_and_get_phone(0, packet, header);
    14381438                if (phone >= 0) {
    1439                         /* ttl exceeded ICMP */
     1439                        /* TTL exceeded ICMP */
    14401440                        icmp_time_exceeded_msg(phone, ICMP_EXC_TTL, packet);
    14411441                }
     
    17771777                if ((type != ICMP_DEST_UNREACH) ||
    17781778                    (code != ICMP_HOST_UNREACH)) {
    1779                         /* No, something else */
     1779                        /* No, something else */
    17801780                        break;
    17811781                }
Note: See TracChangeset for help on using the changeset viewer.