Skip to content

Commit

Permalink
net: rpl: Remove the deprecated code
Browse files Browse the repository at this point in the history
The RPL was deprecated earlier so remove it by this commit.

Signed-off-by: Jukka Rissanen <[email protected]>
  • Loading branch information
jukkar authored and nashif committed Jan 13, 2019
1 parent 728ca62 commit a7afdc3
Show file tree
Hide file tree
Showing 61 changed files with 1 addition and 12,954 deletions.
3 changes: 0 additions & 3 deletions doc/subsystems/networking/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ can be disabled if not needed.
Firmware objects. DTLS and Bootstrap support are currently not supported.
:ref:`lwm2m-client-sample` implements the library as an example.

* **RPL** IPv6 Routing Protocol for Low-Power and Lossy Networks (RFC 6550)
is supported. RPL is an IPv6 based mesh routing protocol.

* **DNS** Domain Name Service (RFC 1035) client functionality is supported.
Applications can use an API to query domain name information or IP addresses
from the DNS server. Both IPv4 (A) and IPv6 (AAAA) records can be queried.
Expand Down
80 changes: 0 additions & 80 deletions include/net/net_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,74 +155,6 @@ struct net_stats_ipv6_nd {
net_stats_t sent;
};

struct net_stats_rpl_dis {
/** Number of received DIS packets. */
net_stats_t recv;

/** Number of sent DIS packets. */
net_stats_t sent;

/** Number of dropped DIS packets. */
net_stats_t drop;
};

struct net_stats_rpl_dio {
/** Number of received DIO packets. */
net_stats_t recv;

/** Number of sent DIO packets. */
net_stats_t sent;

/** Number of dropped DIO packets. */
net_stats_t drop;

/** Number of DIO intervals. */
net_stats_t interval;
};

struct net_stats_rpl_dao {
/** Number of received DAO packets. */
net_stats_t recv;

/** Number of sent DAO packets. */
net_stats_t sent;

/** Number of dropped DAO packets. */
net_stats_t drop;

/** Number of forwarded DAO packets. */
net_stats_t forwarded;
};

struct net_stats_rpl_dao_ack {
/** Number of received DAO-ACK packets. */
net_stats_t recv;

/** Number of sent DAO-ACK packets. */
net_stats_t sent;

/** Number of dropped DAO-ACK packets. */
net_stats_t drop;
};

struct net_stats_rpl {
u16_t mem_overflows;
u16_t local_repairs;
u16_t global_repairs;
u16_t malformed_msgs;
u16_t resets;
u16_t parent_switch;
u16_t forward_errors;
u16_t loop_errors;
u16_t loop_warnings;
u16_t root_repairs;

struct net_stats_rpl_dis dis;
struct net_stats_rpl_dio dio;
struct net_stats_rpl_dao dao;
struct net_stats_rpl_dao_ack dao_ack;
};

struct net_stats_ipv6_mld {
/** Number of received IPv6 MLD queries */
net_stats_t recv;
Expand Down Expand Up @@ -286,10 +218,6 @@ struct net_stats {
struct net_stats_ipv6_nd ipv6_nd;
#endif

#if defined(CONFIG_NET_STATISTICS_RPL)
struct net_stats_rpl rpl;
#endif

#if defined(CONFIG_NET_IPV6_MLD)
struct net_stats_ipv6_mld ipv6_mld;
#endif
Expand Down Expand Up @@ -390,7 +318,6 @@ enum net_request_stats_cmd {
NET_REQUEST_STATS_CMD_GET_ICMP,
NET_REQUEST_STATS_CMD_GET_UDP,
NET_REQUEST_STATS_CMD_GET_TCP,
NET_REQUEST_STATS_CMD_GET_RPL,
NET_REQUEST_STATS_CMD_GET_ETHERNET,
};

Expand Down Expand Up @@ -456,13 +383,6 @@ NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_STATS_GET_UDP);
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_STATS_GET_TCP);
#endif /* CONFIG_NET_STATISTICS_TCP */

#if defined(CONFIG_NET_STATISTICS_RPL)
#define NET_REQUEST_STATS_GET_RPL \
(_NET_STATS_BASE | NET_REQUEST_STATS_CMD_GET_RPL)

NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_STATS_GET_RPL);
#endif /* CONFIG_NET_STATISTICS_RPL */

#if defined(CONFIG_NET_STATISTICS_ETHERNET)
#define NET_REQUEST_STATS_GET_ETHERNET \
(_NET_STATS_BASE | NET_REQUEST_STATS_CMD_GET_ETHERNET)
Expand Down
77 changes: 0 additions & 77 deletions samples/net/rpl-mesh-qemu/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions samples/net/rpl-mesh-qemu/node/CMakeLists.txt

This file was deleted.

51 changes: 0 additions & 51 deletions samples/net/rpl-mesh-qemu/node/prj_qemu.conf

This file was deleted.

13 changes: 0 additions & 13 deletions samples/net/rpl-mesh-qemu/node/src/main.c

This file was deleted.

12 changes: 0 additions & 12 deletions samples/net/rpl-mesh-qemu/root/CMakeLists.txt

This file was deleted.

60 changes: 0 additions & 60 deletions samples/net/rpl-mesh-qemu/root/prj_qemu.conf

This file was deleted.

Loading

0 comments on commit a7afdc3

Please sign in to comment.