Changes in uspace/srv/net/inetsrv/icmpv6.c [b7fd2a0:9749e47] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/icmpv6.c
rb7fd2a0 r9749e47 47 47 #include "pdu.h" 48 48 49 static errno_t icmpv6_recv_echo_request(inet_dgram_t *dgram)49 static int icmpv6_recv_echo_request(inet_dgram_t *dgram) 50 50 { 51 51 log_msg(LOG_DEFAULT, LVL_DEBUG, "icmpv6_recv_echo_request()"); … … 101 101 reply->checksum = host2uint16_t_be(cs_all); 102 102 103 errno_t rc = inet_route_packet(&rdgram, IP_PROTO_ICMPV6,103 int rc = inet_route_packet(&rdgram, IP_PROTO_ICMPV6, 104 104 INET6_HOP_LIMIT_MAX, 0); 105 105 … … 109 109 } 110 110 111 static errno_t icmpv6_recv_echo_reply(inet_dgram_t *dgram)111 static int icmpv6_recv_echo_reply(inet_dgram_t *dgram) 112 112 { 113 113 log_msg(LOG_DEFAULT, LVL_DEBUG, "icmpv6_recv_echo_reply()"); … … 132 132 } 133 133 134 errno_t icmpv6_recv(inet_dgram_t *dgram)134 int icmpv6_recv(inet_dgram_t *dgram) 135 135 { 136 136 log_msg(LOG_DEFAULT, LVL_DEBUG, "icmpv6_recv()"); … … 157 157 } 158 158 159 errno_t icmpv6_ping_send(uint16_t ident, inetping_sdu_t *sdu)159 int icmpv6_ping_send(uint16_t ident, inetping_sdu_t *sdu) 160 160 { 161 161 size_t rsize = sizeof(icmpv6_message_t) + sdu->size; … … 202 202 request->checksum = host2uint16_t_be(cs_all); 203 203 204 errno_t rc = inet_route_packet(&dgram, IP_PROTO_ICMPV6,204 int rc = inet_route_packet(&dgram, IP_PROTO_ICMPV6, 205 205 INET6_HOP_LIMIT_MAX, 0); 206 206
Note:
See TracChangeset
for help on using the changeset viewer.