Skip to content

Commit

Permalink
ipv6_addr: remove ng_ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Aug 11, 2015
1 parent 9aa9650 commit 203561e
Show file tree
Hide file tree
Showing 54 changed files with 873 additions and 832 deletions.
8 changes: 4 additions & 4 deletions Makefile.dep
Expand Up @@ -70,7 +70,7 @@ ifneq (,$(filter ng_sixlowpan,$(USEMODULE)))
endif

ifneq (,$(filter ng_sixlowpan_ctx,$(USEMODULE)))
USEMODULE += ng_ipv6_addr
USEMODULE += ipv6_addr
USEMODULE += vtimer
endif

Expand Down Expand Up @@ -130,19 +130,19 @@ endif

ifneq (,$(filter ng_ipv6,$(USEMODULE)))
USEMODULE += inet_csum
USEMODULE += ng_ipv6_addr
USEMODULE += ipv6_addr
USEMODULE += ng_ipv6_hdr
USEMODULE += ng_ipv6_nc
USEMODULE += ng_ipv6_netif
USEMODULE += ng_netbase
endif

ifneq (,$(filter ng_ipv6_nc,$(USEMODULE)))
USEMODULE += ng_ipv6_addr
USEMODULE += ipv6_addr
endif

ifneq (,$(filter ng_ipv6_netif,$(USEMODULE)))
USEMODULE += ng_ipv6_addr
USEMODULE += ipv6_addr
USEMODULE += ng_netif
endif

Expand Down
4 changes: 2 additions & 2 deletions examples/ng_networking/udp.c
Expand Up @@ -36,11 +36,11 @@ static void send(char *addr_str, char *port_str, char *data)
uint8_t port[2];
uint16_t tmp;
ng_pktsnip_t *payload, *udp, *ip;
ng_ipv6_addr_t addr;
ipv6_addr_t addr;
ng_netreg_entry_t *sendto;

/* parse destination address */
if (ng_ipv6_addr_from_str(&addr, addr_str) == NULL) {
if (ipv6_addr_from_str(&addr, addr_str) == NULL) {
puts("Error: unable to parse destination address");
return;
}
Expand Down
4 changes: 2 additions & 2 deletions sys/Makefile
Expand Up @@ -25,8 +25,8 @@ endif
ifneq (,$(filter ng_ipv6,$(USEMODULE)))
DIRS += net/network_layer/ng_ipv6
endif
ifneq (,$(filter ng_ipv6_addr,$(USEMODULE)))
DIRS += net/network_layer/ng_ipv6/addr
ifneq (,$(filter ipv6_addr,$(USEMODULE)))
DIRS += net/network_layer/ipv6/addr
endif
ifneq (,$(filter ng_ipv6_ext,$(USEMODULE)))
DIRS += net/network_layer/ng_ipv6/ext
Expand Down
39 changes: 39 additions & 0 deletions sys/include/net/ipv6.h
@@ -0,0 +1,39 @@
/*
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/

/**
* @defgroup net_ipv6 IPv6
* @ingroup net
* @brief Provides types and helper functions related to Internet Protocol
* version 6 (IPv6)
* @see <a href="http://tools.ietf.org/html/rfc2460">
* RFC 2460
* </a> et al.
* @{
*
* @file
* @brief IPv6 include gathering header.
*
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#ifndef IPV6_H_
#define IPV6_H_

#include "ipv6/addr.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif


#endif /* IPV6_H_ */
/** @} */

0 comments on commit 203561e

Please sign in to comment.