1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

removed unused parameter of internal get_udp_socket()

This commit is contained in:
Oleg Hahm 2013-11-21 14:21:38 +01:00
parent 1f50d91332
commit 59483627d0
3 changed files with 3 additions and 4 deletions

View File

@ -298,7 +298,7 @@ int destiny_socket(int domain, int type, int protocol)
}
}
socket_internal_t *get_udp_socket(ipv6_hdr_t *ipv6_header, udp_hdr_t *udp_header)
socket_internal_t *get_udp_socket(udp_hdr_t *udp_header)
{
uint8_t i = 1;

View File

@ -76,8 +76,7 @@ socket_internal_t *get_waiting_connection_socket(int socket,
tcp_hdr_t *tcp_header);
void close_socket(socket_internal_t *current_socket);
socket_internal_t *get_socket(int s);
socket_internal_t *get_udp_socket(ipv6_hdr_t *ipv6_header,
udp_hdr_t *udp_header);
socket_internal_t *get_udp_socket(udp_hdr_t *udp_header);
socket_internal_t *get_tcp_socket(ipv6_hdr_t *ipv6_header,
tcp_hdr_t *tcp_header);
socket_internal_t *new_tcp_queued_socket(ipv6_hdr_t *ipv6_header,

View File

@ -59,7 +59,7 @@ void udp_packet_handler(void)
chksum = udp_csum(ipv6_header, udp_header);
if (chksum == 0xffff) {
udp_socket = get_udp_socket(ipv6_header, udp_header);
udp_socket = get_udp_socket(udp_header);
if (udp_socket != NULL) {
m_send_udp.content.ptr = (char *)ipv6_header;