b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman_adv: fix namespace for neigh_node_new function
@ 2012-05-10  6:01 Marek Lindner
  2012-05-10 16:49 ` [B.A.T.M.A.N.] [PATCHv2] " Marek Lindner
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Lindner @ 2012-05-10  6:01 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Marek Lindner

Should be merged with 0c9a249ef4dcaf733f6c7f64d4ce5c97b4705968

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
---
 bat_iv_ogm.c |    2 +-
 originator.c |    5 +++--
 originator.h |    5 +++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c
index 837c8a6..24b510f 100644
--- a/bat_iv_ogm.c
+++ b/bat_iv_ogm.c
@@ -38,7 +38,7 @@ static struct neigh_node *bat_iv_ogm_neigh_new(struct hard_iface *hard_iface,
 {
 	struct neigh_node *neigh_node;
 
-	neigh_node = neigh_node_new(hard_iface, neigh_addr, seqno);
+	neigh_node = batman_adv_neigh_node_new(hard_iface, neigh_addr, seqno);
 	if (!neigh_node)
 		goto out;
 
diff --git a/originator.c b/originator.c
index 30889c9..504b4cd 100644
--- a/originator.c
+++ b/originator.c
@@ -86,8 +86,9 @@ struct neigh_node *orig_node_get_router(struct orig_node *orig_node)
 	return router;
 }
 
-struct neigh_node *neigh_node_new(struct hard_iface *hard_iface,
-				  const uint8_t *neigh_addr, uint32_t seqno)
+struct neigh_node *batman_adv_neigh_node_new(struct hard_iface *hard_iface,
+					     const uint8_t *neigh_addr,
+					     uint32_t seqno)
 {
 	struct bat_priv *bat_priv = netdev_priv(hard_iface->soft_iface);
 	struct neigh_node *neigh_node;
diff --git a/originator.h b/originator.h
index 64c5d94..fd37ba0 100644
--- a/originator.h
+++ b/originator.h
@@ -29,8 +29,9 @@ void originator_free(struct bat_priv *bat_priv);
 void purge_orig_ref(struct bat_priv *bat_priv);
 void orig_node_free_ref(struct orig_node *orig_node);
 struct orig_node *get_orig_node(struct bat_priv *bat_priv, const uint8_t *addr);
-struct neigh_node *neigh_node_new(struct hard_iface *hard_iface,
-				  const uint8_t *neigh_addr, uint32_t seqno);
+struct neigh_node *batman_adv_neigh_node_new(struct hard_iface *hard_iface,
+					     const uint8_t *neigh_addr,
+					     uint32_t seqno);
 void neigh_node_free_ref(struct neigh_node *neigh_node);
 struct neigh_node *orig_node_get_router(struct orig_node *orig_node);
 int orig_seq_print_text(struct seq_file *seq, void *offset);
-- 
1.7.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [B.A.T.M.A.N.] [PATCHv2] batman_adv: fix namespace for neigh_node_new function
  2012-05-10  6:01 [B.A.T.M.A.N.] [PATCH] batman_adv: fix namespace for neigh_node_new function Marek Lindner
@ 2012-05-10 16:49 ` Marek Lindner
  2012-05-11  7:33   ` Marek Lindner
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Lindner @ 2012-05-10 16:49 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Marek Lindner

Should be merged with 0c9a249ef4dcaf733f6c7f64d4ce5c97b4705968

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
---

 - v2: renamed batman_adv prefix to batadv.

 bat_iv_ogm.c |    2 +-
 originator.c |    5 +++--
 originator.h |    5 +++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c
index 837c8a6..984cafe 100644
--- a/bat_iv_ogm.c
+++ b/bat_iv_ogm.c
@@ -38,7 +38,7 @@ static struct neigh_node *bat_iv_ogm_neigh_new(struct hard_iface *hard_iface,
 {
 	struct neigh_node *neigh_node;
 
-	neigh_node = neigh_node_new(hard_iface, neigh_addr, seqno);
+	neigh_node = batadv_neigh_node_new(hard_iface, neigh_addr, seqno);
 	if (!neigh_node)
 		goto out;
 
diff --git a/originator.c b/originator.c
index 30889c9..c6a00b3 100644
--- a/originator.c
+++ b/originator.c
@@ -86,8 +86,9 @@ struct neigh_node *orig_node_get_router(struct orig_node *orig_node)
 	return router;
 }
 
-struct neigh_node *neigh_node_new(struct hard_iface *hard_iface,
-				  const uint8_t *neigh_addr, uint32_t seqno)
+struct neigh_node *batadv_neigh_node_new(struct hard_iface *hard_iface,
+					 const uint8_t *neigh_addr,
+					 uint32_t seqno)
 {
 	struct bat_priv *bat_priv = netdev_priv(hard_iface->soft_iface);
 	struct neigh_node *neigh_node;
diff --git a/originator.h b/originator.h
index 64c5d94..f74d0d6 100644
--- a/originator.h
+++ b/originator.h
@@ -29,8 +29,9 @@ void originator_free(struct bat_priv *bat_priv);
 void purge_orig_ref(struct bat_priv *bat_priv);
 void orig_node_free_ref(struct orig_node *orig_node);
 struct orig_node *get_orig_node(struct bat_priv *bat_priv, const uint8_t *addr);
-struct neigh_node *neigh_node_new(struct hard_iface *hard_iface,
-				  const uint8_t *neigh_addr, uint32_t seqno);
+struct neigh_node *batadv_neigh_node_new(struct hard_iface *hard_iface,
+					 const uint8_t *neigh_addr,
+					 uint32_t seqno);
 void neigh_node_free_ref(struct neigh_node *neigh_node);
 struct neigh_node *orig_node_get_router(struct orig_node *orig_node);
 int orig_seq_print_text(struct seq_file *seq, void *offset);
-- 
1.7.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCHv2] batman_adv: fix namespace for neigh_node_new function
  2012-05-10 16:49 ` [B.A.T.M.A.N.] [PATCHv2] " Marek Lindner
@ 2012-05-11  7:33   ` Marek Lindner
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2012-05-11  7:33 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Friday, May 11, 2012 00:49:34 Marek Lindner wrote:
> Should be merged with 0c9a249ef4dcaf733f6c7f64d4ce5c97b4705968
> 
> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
> ---
> 
>  - v2: renamed batman_adv prefix to batadv.
> 
>  bat_iv_ogm.c |    2 +-
>  originator.c |    5 +++--
>  originator.h |    5 +++--
>  3 files changed, 7 insertions(+), 5 deletions(-)

Applied in revision 746e5dd.

Regards,
Marek

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-11  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-10  6:01 [B.A.T.M.A.N.] [PATCH] batman_adv: fix namespace for neigh_node_new function Marek Lindner
2012-05-10 16:49 ` [B.A.T.M.A.N.] [PATCHv2] " Marek Lindner
2012-05-11  7:33   ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).