Changeset e2e56e67 in mainline


Ignore:
Timestamp:
2012-02-03T16:46:10Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
06295a9
Parents:
f834f90d
Message:

Stub IP/Ethernet server. Implement IP link discovery in inet server.

Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.common

    rf834f90d re2e56e67  
    9999        $(USPACE_PATH)/srv/bd/part/mbr_part/mbr_part \
    100100        $(USPACE_PATH)/srv/clip/clip \
     101        $(USPACE_PATH)/srv/ethip/ethip \
    101102        $(USPACE_PATH)/srv/fs/tmpfs/tmpfs \
    102103        $(USPACE_PATH)/srv/fs/fat/fat \
  • uspace/Makefile

    rf834f90d re2e56e67  
    7171        srv/loc \
    7272        srv/devman \
     73        srv/ethip \
    7374        srv/inet \
    7475        srv/loader \
  • uspace/srv/inet/Makefile

    rf834f90d re2e56e67  
    3131
    3232SOURCES = \
    33         inet.c
     33        inet.c \
     34        inet_link.c
    3435
    3536include $(USPACE_PREFIX)/Makefile.common
  • uspace/srv/inet/inet.c

    rf834f90d re2e56e67  
    4848
    4949#include "inet.h"
     50#include "inet_link.h"
    5051
    5152#define NAME "inet"
     
    7677                return EEXIST;
    7778        }
     79
     80        rc = inet_link_discovery_start();
     81        if (rc != EOK)
     82                return EEXIST;
    7883
    7984        return EOK;
     
    238243        int rc;
    239244
    240         printf(NAME ": HelenOS Internet Protocol service");
     245        printf(NAME ": HelenOS Internet Protocol service\n");
    241246
    242247        if (log_init(NAME, LVL_DEBUG) != EOK) {
    243                 printf(NAME ": Failed to initialize logging.");
     248                printf(NAME ": Failed to initialize logging.\n");
    244249                return 1;
    245250        }
  • uspace/srv/loc/loc.c

    rf834f90d re2e56e67  
    12961296        categ_dir_add_cat(&cdir, cat);
    12971297
     1298        cat = category_new("iplink");
     1299        categ_dir_add_cat(&cdir, cat);
     1300
    12981301        cat = category_new("keyboard");
    12991302        categ_dir_add_cat(&cdir, cat);
Note: See TracChangeset for help on using the changeset viewer.