Changeset 417a2ba1 in mainline for uspace/srv/net/ethip/ethip.c


Ignore:
Timestamp:
2013-09-29T22:28:53Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d7f2cd6
Parents:
5a324d99
Message:

iplink_ev_recv() should use ip_ver_t instead of AF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/ethip.c

    r5a324d99 r417a2ba1  
    4242#include <io/log.h>
    4343#include <loc.h>
    44 #include <net/socket_codes.h>
    4544#include <stdio.h>
    4645#include <stdlib.h>
     
    249248                sdu.size = frame.size;
    250249                log_msg(LOG_DEFAULT, LVL_DEBUG, " - call iplink_ev_recv");
    251                 rc = iplink_ev_recv(&nic->iplink, &sdu, AF_INET);
     250                rc = iplink_ev_recv(&nic->iplink, &sdu, ip_v4);
    252251                break;
    253252        case ETYPE_IPV6:
     
    256255                sdu.size = frame.size;
    257256                log_msg(LOG_DEFAULT, LVL_DEBUG, " - call iplink_ev_recv");
    258                 rc = iplink_ev_recv(&nic->iplink, &sdu, AF_INET6);
     257                rc = iplink_ev_recv(&nic->iplink, &sdu, ip_v6);
    259258                break;
    260259        default:
Note: See TracChangeset for help on using the changeset viewer.