mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 07:51:19 +01:00
net: cleanup ng_ remnants
This commit is contained in:
parent
1af1727759
commit
0d3833a88a
@ -12,7 +12,7 @@
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
* @brief Variables for the cc110x ng_netdev base interface
|
||||
* @brief Variables for the cc110x netdev2 interface
|
||||
*
|
||||
* @author Fabian Nack <nack@inf.fu-berlin.de>
|
||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* @ingroup auto_init_ng_netif
|
||||
* @ingroup auto_init_gnrc_netif
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @ingroup auto_init_ng_netif
|
||||
* @ingroup auto_init_gnrc_netif
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
|
||||
@ -39,7 +39,7 @@ extern "C" {
|
||||
typedef struct {
|
||||
gnrc_nettype_t l3_type; /**< Network layer type of the connection */
|
||||
gnrc_nettype_t l4_type; /**< Transport layer type of the connection */
|
||||
gnrc_netreg_entry_t netreg_entry; /**< @p net_ng_netreg entry for the connection */
|
||||
gnrc_netreg_entry_t netreg_entry; /**< @p net_gnrc_netreg entry for the connection */
|
||||
} conn_t;
|
||||
|
||||
/**
|
||||
@ -51,7 +51,7 @@ struct conn_ip {
|
||||
gnrc_nettype_t l3_type; /**< Network layer type of the connection. */
|
||||
gnrc_nettype_t l4_type; /**< Transport layer type of the connection.
|
||||
* Always GNRC_NETTYPE_UNDEF */
|
||||
gnrc_netreg_entry_t netreg_entry; /**< @p net_ng_netreg entry for the connection */
|
||||
gnrc_netreg_entry_t netreg_entry; /**< @p net_gnrc_netreg entry for the connection */
|
||||
uint8_t local_addr[sizeof(ipv6_addr_t)]; /**< local IP address */
|
||||
size_t local_addr_len; /**< length of struct conn_ip::local_addr */
|
||||
};
|
||||
@ -66,7 +66,7 @@ struct conn_udp {
|
||||
* Always GNRC_NETTYPE_IPV6 */
|
||||
gnrc_nettype_t l4_type; /**< Transport layer type of the connection.
|
||||
* Always GNRC_NETTYPE_UDP */
|
||||
gnrc_netreg_entry_t netreg_entry; /**< @p net_ng_netreg entry for the connection */
|
||||
gnrc_netreg_entry_t netreg_entry; /**< @p net_gnrc_netreg entry for the connection */
|
||||
uint8_t local_addr[sizeof(ipv6_addr_t)]; /**< local IP address */
|
||||
size_t local_addr_len; /**< length of struct conn_ip::local_addr */
|
||||
};
|
||||
@ -76,8 +76,8 @@ struct conn_udp {
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @param[out] entry @ref net_ng_netreg entry.
|
||||
* @param[in] type @ref net_ng_nettype.
|
||||
* @param[out] entry @ref net_gnrc_netreg entry.
|
||||
* @param[in] type @ref net_gnrc_nettype.
|
||||
* @param[in] demux_ctx demux context (port or proto) for the connection.
|
||||
*/
|
||||
static inline void gnrc_conn_reg(gnrc_netreg_entry_t *entry, gnrc_nettype_t type,
|
||||
@ -117,7 +117,7 @@ bool gnrc_conn6_set_local_addr(uint8_t *conn_addr, const ipv6_addr_t *addr);
|
||||
* @return The number of bytes received on success.
|
||||
* @return 0, if no received data is available, but everything is in order.
|
||||
* @return -ENOMEM, if received data was more than max_len.
|
||||
* @returne -ETIMEDOUT, if more than 3 IPC messages were not @ref net_ng_netapi receive commands
|
||||
* @returne -ETIMEDOUT, if more than 3 IPC messages were not @ref net_gnrc_netapi receive commands
|
||||
* with the required headers in the packet
|
||||
*/
|
||||
int gnrc_conn_recvfrom(conn_t *conn, void *data, size_t max_len, void *addr, size_t *addr_len,
|
||||
|
||||
@ -193,7 +193,7 @@ extern "C" {
|
||||
#define GNRC_IPV6_NETIF_FLAGS_ADV_REACH_TIME (0x0020)
|
||||
|
||||
/**
|
||||
* @brief Flag to indicate that ng_ipv6_netif_t::retrans_timer shall be propagated
|
||||
* @brief Flag to indicate that gnrc_ipv6_netif_t::retrans_timer shall be propagated
|
||||
* in router advertisements.
|
||||
*/
|
||||
#define GNRC_IPV6_NETIF_FLAGS_ADV_RETRANS_TIMER (0x0040)
|
||||
@ -301,7 +301,7 @@ typedef struct {
|
||||
/**
|
||||
* @brief Minimum time in seconds between sending unsolicited multicast
|
||||
* router advertisements. Must be between 3 and
|
||||
* 3/4 * ng_ipv6_netif_t::max_adv_int seconds.
|
||||
* 3/4 * gnrc_ipv6_netif_t::max_adv_int seconds.
|
||||
* The default value is @ref GNRC_IPV6_NETIF_DEFAULT_MIN_ADV_INT.
|
||||
*/
|
||||
uint16_t min_adv_int;
|
||||
@ -310,7 +310,7 @@ typedef struct {
|
||||
#if defined (MODULE_GNRC_NDP_ROUTER) || defined (MODULE_GNRC_SIXLOWPAN_ND_ROUTER)
|
||||
/**
|
||||
* @brief The router lifetime to propagate in router advertisements.
|
||||
* Must be either 0 or between ng_ipv6_netif_t::max_adv_int and
|
||||
* Must be either 0 or between gnrc_ipv6_netif_t::max_adv_int and
|
||||
* 9000 seconds. 0 means this router is not to be used as a default
|
||||
* router. The default value is @ref GNRC_IPV6_NETIF_DEFAULT_ROUTER_LTIME.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user