From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv5 1/6] batman-adv: remove vis functionality
Date: Thu, 25 Apr 2013 20:44:03 +0800 [thread overview]
Message-ID: <201304252044.03741.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1366883862-24768-1-git-send-email-1366879046-24507-2-git-send-email-siwu@hrz.tu-chemnitz.de>
On Thursday, April 25, 2013 17:57:42 1366879046-24507-2-git-send-email-
siwu@hrz.tu-chemnitz.de wrote:
> diff --git a/packet.h b/packet.h
> index aee6b96..0ce4867 100644
> --- a/packet.h
> +++ b/packet.h
> @@ -69,12 +69,6 @@ enum batadv_icmp_packettype {
> BATADV_PARAMETER_PROBLEM = 12,
> };
>
> -/* vis defines */
> -enum batadv_vis_packettype {
> - BATADV_VIS_TYPE_SERVER_SYNC = 0,
> - BATADV_VIS_TYPE_CLIENT_UPDATE = 1,
> -};
> -
> /* fragmentation defines */
> enum batadv_unicast_frag_flags {
> BATADV_UNI_FRAG_HEAD = BIT(0),
> @@ -257,17 +251,6 @@ struct batadv_bcast_packet {
>
> #pragma pack()
>
> -struct batadv_vis_packet {
> - struct batadv_header header;
> - uint8_t vis_type; /* which type of vis-participant sent
> this? */ - __be32 seqno; /* sequence number */
> - uint8_t entries; /* number of entries behind this struct */
> - uint8_t reserved;
> - uint8_t vis_orig[ETH_ALEN]; /* originator reporting its
> neighbors */ - uint8_t target_orig[ETH_ALEN]; /* who should receive
> this packet */ - uint8_t sender_orig[ETH_ALEN]; /* who sent or
> forwarded this packet */ -};
> -
> /**
> * struct batadv_coded_packet - network coded packet
> * @header: common batman packet header and ttl of first included packet
The corresponding batadv_iv flag (BATADV_VIS_SERVER) should be removed as
well. The same is true for the packet type (BATADV_VIS).
What about the batctl patch ?
Cheers,
Marek
next prev parent reply other threads:[~2013-04-25 12:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-25 9:57 [B.A.T.M.A.N.] [PATCHv5 1/6] batman-adv: remove vis functionality 1366879046-24507-2-git-send-email-siwu
2013-04-25 12:44 ` Marek Lindner [this message]
2013-04-27 5:30 ` Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201304252044.03741.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox