Changeset eb13ef8 in mainline for uspace/srv/net/ethip
- Timestamp:
- 2019-02-06T13:25:12Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fafb8e5
- Parents:
- bb97118
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- Location:
- uspace/srv/net/ethip
- Files:
-
- 2 edited
-
ethip.c (modified) (1 diff)
-
ethip_nic.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/ethip.c
rbb97118 reb13ef8 147 147 service_id_t sid; 148 148 149 sid = (service_id_t) IPC_GET_ARG2( *icall);149 sid = (service_id_t) IPC_GET_ARG2(icall); 150 150 log_msg(LOG_DEFAULT, LVL_DEBUG, "ethip_client_conn(%u)", (unsigned)sid); 151 151 nic = ethip_nic_find_by_iplink_sid(sid); -
uspace/srv/net/ethip/ethip_nic.c
rbb97118 reb13ef8 299 299 async_get_call(&call); 300 300 301 if (!IPC_GET_IMETHOD( call)) {301 if (!IPC_GET_IMETHOD(&call)) { 302 302 async_answer_0(&call, EOK); 303 303 return; 304 304 } 305 305 306 switch (IPC_GET_IMETHOD( call)) {306 switch (IPC_GET_IMETHOD(&call)) { 307 307 case NIC_EV_ADDR_CHANGED: 308 308 ethip_nic_addr_changed(nic, &call); … … 315 315 break; 316 316 default: 317 log_msg(LOG_DEFAULT, LVL_DEBUG, "unknown IPC method: %" PRIun, IPC_GET_IMETHOD( call));317 log_msg(LOG_DEFAULT, LVL_DEBUG, "unknown IPC method: %" PRIun, IPC_GET_IMETHOD(&call)); 318 318 async_answer_0(&call, ENOTSUP); 319 319 }
Note:
See TracChangeset
for help on using the changeset viewer.
