Ignore:
Timestamp:
Feb 20, 2016, 10:43:32 PM (8 years ago)
Author:
coas-nagasima
Message:

インクルードのパス指定をContikiに合わせ変更。
整数型の型名をContikiに合わせ変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uKadecot/trunk/uip/task/uip_task.c

    r148 r158  
    3838#include <string.h>
    3939#include <kernel.h>
    40 #include "uip.h"
    41 #include "uip_arp.h"
    42 #include "timer.h"
     40#include "net/ip/uip.h"
     41#include "net/ipv4/uip_arp.h"
     42#include "sys/timer.h"
    4343#include "uip_task.h"
    4444#include "uip_nic_config.h"
     
    5757        struct uip_timer periodic_timer, arp_timer;
    5858        clock_time_t timer;
    59         u8_t uip_buf[UIP_BUFSIZE + 2];
     59        uint8_t uip_buf[UIP_BUFSIZE + 2];
    6060};
    6161
     
    6464};
    6565
    66 u8_t *uip_buf = uiptsk.uip_buf;
     66uint8_t *uip_buf = uiptsk.uip_buf;
    6767
    6868typedef struct _uip_out_buf_t
     
    7373        } cepid;
    7474        uip_ipaddr_t ripaddr;
    75         u16_t rport;
     75        uint16_t rport;
    7676        int len;
    77         u8_t data[UIP_BUFSIZE + 2];
     77        uint8_t data[UIP_BUFSIZE + 2];
    7878} UIP_OUT_BUF_T;
    7979
     
    8282int uip_out_wpos = 0;
    8383int uip_out_rpos = 0;
    84 u8_t my_ip[4] = { IPV4_ADDR_LOCAL };
    85 u8_t my_netmask[4] = { IPV4_ADDR_LOCAL_MASK };
    86 u8_t my_default_router[4] = { IPV4_ADDR_DEFAULT_GW };
     84uint8_t my_ip[4] = { IPV4_ADDR_LOCAL };
     85uint8_t my_netmask[4] = { IPV4_ADDR_LOCAL_MASK };
     86uint8_t my_default_router[4] = { IPV4_ADDR_DEFAULT_GW };
    8787int ws_out_req;
    8888int ws_out_res;
Note: See TracChangeset for help on using the changeset viewer.