Changeset 5353f50 in mainline for uspace/srv/net/loopip/loopip.c


Ignore:
Timestamp:
2019-08-07T11:05:55Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
8ae8262
Parents:
7cce333
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-11 23:25:01)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:05:55)
Message:

net: Start network service on boot

  • Create unit files
  • Create network.tgt
  • Enable autostart of directly brokered net services

Conflicts:

boot/Makefile.common
uspace/lib/c/generic/inet.c
uspace/lib/c/generic/inet/tcp.c
uspace/lib/c/generic/inetping.c
uspace/lib/c/include/ipc/services.h
uspace/srv/net/loopip/loopip.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/loopip/loopip.c

    r7cce333 r5353f50  
    4343#include <io/log.h>
    4444#include <loc.h>
     45#include <ipc/services.h>
    4546#include <stdio.h>
    4647#include <stdlib.h>
     
    115116
    116117        prodcons_initialize(&loopip_rcv_queue);
    117 
    118         const char *svc_name = "net/loopback";
     118       
     119        const char *svc_name = SERVICE_NAME_LOOPBACK;
    119120        service_id_t sid;
    120121        rc = loc_service_register(svc_name, &sid);
Note: See TracChangeset for help on using the changeset viewer.