Changeset 5353f50 in mainline
- Timestamp:
- 2019-08-07T11:05:55Z (5 years ago)
- 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)
- Files:
-
- 9 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.common
r7cce333 r5353f50 261 261 $(USPACE_PATH)/app/bdsh/test-bdsh \ 262 262 $(USPACE_PATH)/srv/net/tcp/test-tcp \ 263 $(USPACE_PATH)/srv/volsrv/test-volsrv \263 $(USPACE_PATH)/srv/volsrv/test-volsrv 264 264 265 265 RD_DATA_ESSENTIAL = \ -
uspace/cfg/sysman/default.tgt
r7cce333 r5353f50 1 1 [Unit] 2 2 After = vlaunch.svc barber.svc 3 ; TODO change to Requires 4 After = network.tgt -
uspace/lib/c/generic/inet.c
r7cce333 r5353f50 83 83 84 84 rc = loc_service_get_id(SERVICE_NAME_INET, &inet_svc, 85 IPC_ FLAG_BLOCKING);85 IPC_AUTOSTART); 86 86 if (rc != EOK) 87 87 return ENOENT; 88 88 89 89 inet_sess = loc_service_connect(inet_svc, INTERFACE_INET, 90 IPC_ FLAG_BLOCKING);90 IPC_AUTOSTART); 91 91 if (inet_sess == NULL) 92 92 return ENOENT; -
uspace/lib/c/generic/inet/tcp.c
r7cce333 r5353f50 106 106 107 107 rc = loc_service_get_id(SERVICE_NAME_TCP, &tcp_svcid, 108 IPC_ FLAG_BLOCKING);108 IPC_AUTOSTART); 109 109 if (rc != EOK) { 110 110 rc = EIO; … … 113 113 114 114 tcp->sess = loc_service_connect(tcp_svcid, INTERFACE_TCP, 115 IPC_ FLAG_BLOCKING);115 IPC_AUTOSTART); 116 116 if (tcp->sess == NULL) { 117 117 rc = EIO; -
uspace/lib/c/generic/inetping.c
r7cce333 r5353f50 54 54 55 55 rc = loc_service_get_id(SERVICE_NAME_INET, &inetping_svc, 56 IPC_ FLAG_BLOCKING);56 IPC_AUTOSTART); 57 57 if (rc != EOK) 58 58 return ENOENT; 59 59 60 60 inetping_sess = loc_service_connect(inetping_svc, INTERFACE_INETPING, 61 IPC_FLAG_BLOCKING); 61 IPC_AUTOSTART); 62 62 63 if (inetping_sess == NULL) 63 64 return ENOENT; -
uspace/lib/c/include/ipc/services.h
r7cce333 r5353f50 62 62 #define SERVICE_NAME_UDP "net/udp" 63 63 #define SERVICE_NAME_TCP "net/tcp" 64 #define SERVICE_NAME_LOOPBACK "net/loopback" 64 65 #define SERVICE_NAME_VBD "vbd" 65 66 #define SERVICE_NAME_VOLSRV "volsrv" 67 66 68 67 69 #define LOC_DEVICE_NAMESPACE "devices" -
uspace/srv/net/loopip/loopip.c
r7cce333 r5353f50 43 43 #include <io/log.h> 44 44 #include <loc.h> 45 #include <ipc/services.h> 45 46 #include <stdio.h> 46 47 #include <stdlib.h> … … 115 116 116 117 prodcons_initialize(&loopip_rcv_queue); 117 118 const char *svc_name = "net/loopback";118 119 const char *svc_name = SERVICE_NAME_LOOPBACK; 119 120 service_id_t sid; 120 121 rc = loc_service_register(svc_name, &sid);
Note:
See TracChangeset
for help on using the changeset viewer.