mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
removed unused len parameter for borderrouter demultiplex()
This commit is contained in:
parent
59483627d0
commit
9b5bf95924
@ -34,7 +34,7 @@
|
||||
#define END_ESC (0xDC)
|
||||
#define ESC_ESC (0xDD)
|
||||
|
||||
void demultiplex(border_packet_t *packet, int len)
|
||||
void demultiplex(border_packet_t *packet)
|
||||
{
|
||||
switch (packet->type) {
|
||||
case (BORDER_PACKET_RAW_TYPE): {
|
||||
|
@ -82,7 +82,7 @@ typedef struct __attribute__((packed)) {
|
||||
|
||||
#define BORDER_BUFFER_SIZE (sizeof(border_l3_header_t) + IPV6_MTU)
|
||||
|
||||
void demultiplex(border_packet_t *packet, int len);
|
||||
void demultiplex(border_packet_t *packet);
|
||||
void multiplex_send_ipv6_over_uart(ipv6_hdr_t *packet);
|
||||
void multiplex_send_addr_over_uart(ipv6_addr_t *addr);
|
||||
|
||||
|
@ -191,7 +191,7 @@ void flowcontrol_deliver_from_uart(border_packet_t *packet, int len)
|
||||
|
||||
if (packet->seq_num == slwin_stat.next_exp) {
|
||||
while (slot->received) {
|
||||
demultiplex((border_packet_t *)slot->frame, slot->frame_len);
|
||||
demultiplex((border_packet_t *)slot->frame);
|
||||
memset(&slot->frame, 0, BORDER_BUFFER_SIZE);
|
||||
slot->received = 0;
|
||||
slot = &slwin_stat.recv_win[++(slwin_stat.next_exp) % BORDER_RWS];
|
||||
|
Loading…
Reference in New Issue
Block a user