How to attach the variable in UIP_ICMP_BUF in RPL contiki cooja?

It is a pointer to ICMP header. To know about how to attach the variable in control message headers in rpl using contiki cooja simulator.

+ Description

It is a pointer to ICMP header. To know about how to attach the variable in control message headers in rpl using contiki cooja simulator.

  • Step 1: Open file at location:
    Home/user/contiki/core/net/ip /uip.h
    struct uip_icmp_hdr – to add variables in icmp header

u7a
  • Step 2: To store and access variable
    Location: contiki/core/net/rpl/rpl-icmp6.c
    UIP_ICMP_BUF->values = node location (any value)

+ Source code:
  • Step 1: Open file at location:
    Home/user/contiki/core/net/ip /uip.h
    struct uip_icmp_hdr – to add variables in icmp header

u7a
  • Step 2: To store and access variable
    Location: contiki/core/net/rpl/rpl-icmp6.c
    UIP_ICMP_BUF->values = node location (any value)

Leave Comment

Your email address will not be published. Required fields are marked *

clear formSubmit