Changes in uspace/srv/net/inetsrv/ndp.c [38d150e:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/ndp.c
r38d150e rb7fd2a0 64 64 } 65 65 66 static int ndp_send_packet(inet_link_t *link, ndp_packet_t *packet)66 static errno_t ndp_send_packet(inet_link_t *link, ndp_packet_t *packet) 67 67 { 68 68 inet_dgram_t dgram; … … 77 77 } 78 78 79 static int ndp_router_advertisement(inet_dgram_t *dgram, inet_addr_t *router)79 static errno_t ndp_router_advertisement(inet_dgram_t *dgram, inet_addr_t *router) 80 80 { 81 81 // FIXME TODO … … 83 83 } 84 84 85 int ndp_received(inet_dgram_t *dgram)85 errno_t ndp_received(inet_dgram_t *dgram) 86 86 { 87 87 log_msg(LOG_DEFAULT, LVL_DEBUG, "ndp_received()"); 88 88 89 89 ndp_packet_t packet; 90 int rc = ndp_pdu_decode(dgram, &packet);90 errno_t rc = ndp_pdu_decode(dgram, &packet); 91 91 if (rc != EOK) 92 92 return rc; … … 151 151 * 152 152 */ 153 int ndp_translate(addr128_t src_addr, addr128_t ip_addr, addr48_t mac_addr,153 errno_t ndp_translate(addr128_t src_addr, addr128_t ip_addr, addr48_t mac_addr, 154 154 inet_link_t *ilink) 155 155 { … … 160 160 } 161 161 162 int rc = ntrans_lookup(ip_addr, mac_addr);162 errno_t rc = ntrans_lookup(ip_addr, mac_addr); 163 163 if (rc == EOK) 164 164 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.