All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Schmidt <stefan@osg.samsung.com>
To: Alexander Aring <aar@pengutronix.de>, linux-wpan@vger.kernel.org
Cc: kernel@pengutronix.de, jukka.rissanen@linux.intel.com,
	hannes@stressinduktion.org, mcr@sandelman.ca,
	werner@almesberger.net
Subject: Re: [RFC bluetooth-next 06/19] 6lowpan: move lowpan_802154_dev to 6lowpan
Date: Wed, 23 Mar 2016 11:08:17 +0100	[thread overview]
Message-ID: <56F26B11.9000709@osg.samsung.com> (raw)
In-Reply-To: <1458652515-7862-7-git-send-email-aar@pengutronix.de>

Hello.

On 22/03/16 14:15, Alexander Aring wrote:
> This patch moves the 802.15.4 link layer specific structures to generic
> 6lowpan. This is necessary for special 802.15.4 6lowpan handling in
> upper layers.
>
> Signed-off-by: Alexander Aring <aar@pengutronix.de>
> ---
>   include/net/6lowpan.h              | 12 ++++++++++++
>   net/ieee802154/6lowpan/6lowpan_i.h | 12 ------------
>   2 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
> index f204664..a0c01f5 100644
> --- a/include/net/6lowpan.h
> +++ b/include/net/6lowpan.h
> @@ -144,6 +144,18 @@ struct lowpan_dev *lowpan_dev(const struct net_device *dev)
>   	return netdev_priv(dev);
>   }
>   
> +/* private device info */
> +struct lowpan_802154_dev {
> +	struct net_device	*wdev; /* wpan device ptr */
> +	u16			fragment_tag;
> +};
> +
> +static inline struct
> +lowpan_802154_dev *lowpan_802154_dev(const struct net_device *dev)
> +{
> +	return (struct lowpan_802154_dev *)lowpan_dev(dev)->priv;
> +}
> +
>   struct lowpan_802154_cb {
>   	u16 d_tag;
>   	unsigned int d_size;
> diff --git a/net/ieee802154/6lowpan/6lowpan_i.h b/net/ieee802154/6lowpan/6lowpan_i.h
> index b02b74d..5ac7789 100644
> --- a/net/ieee802154/6lowpan/6lowpan_i.h
> +++ b/net/ieee802154/6lowpan/6lowpan_i.h
> @@ -47,18 +47,6 @@ static inline u32 ieee802154_addr_hash(const struct ieee802154_addr *a)
>   	}
>   }
>   
> -/* private device info */
> -struct lowpan_802154_dev {
> -	struct net_device	*wdev; /* wpan device ptr */
> -	u16			fragment_tag;
> -};
> -
> -static inline struct
> -lowpan_802154_dev *lowpan_802154_dev(const struct net_device *dev)
> -{
> -	return (struct lowpan_802154_dev *)lowpan_dev(dev)->priv;
> -}
> -
>   int lowpan_frag_rcv(struct sk_buff *skb, const u8 frag_type);
>   void lowpan_net_frag_exit(void);
>   int lowpan_net_frag_init(void);

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>

regards
Stefan Schmidt

  reply	other threads:[~2016-03-23 10:08 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-22 13:14 [RFC bluetooth-next 00/19] 6lowpan: l2 neighbour data and short address Alexander Aring
2016-03-22 13:14 ` [RFC bluetooth-next 01/19] ieee802154: cleanups for ieee802154.h Alexander Aring
2016-03-23  9:59   ` Stefan Schmidt
2016-03-22 13:14 ` [RFC bluetooth-next 02/19] ieee802154: add short address helpers Alexander Aring
2016-03-23  9:59   ` Stefan Schmidt
2016-03-22 13:14 ` [RFC bluetooth-next 03/19] nl802154: avoid address change while running lowpan Alexander Aring
2016-03-23  9:59   ` Stefan Schmidt
2016-03-22 13:15 ` [RFC bluetooth-next 04/19] ieee802154: 6lowpan: fix short addr hash Alexander Aring
2016-03-23  9:58   ` Stefan Schmidt
2016-03-22 13:15 ` [RFC bluetooth-next 05/19] 6lowpan: change naming for lowpan private data Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 06/19] 6lowpan: move lowpan_802154_dev to 6lowpan Alexander Aring
2016-03-23 10:08   ` Stefan Schmidt [this message]
2016-03-22 13:15 ` [RFC bluetooth-next 07/19] 6lowpan: iphc: rename add lowpan prefix Alexander Aring
2016-03-23 10:09   ` Stefan Schmidt
2016-04-08 17:36     ` Marcel Holtmann
2016-04-11 17:00       ` Stefan Schmidt
2016-03-22 13:15 ` [RFC bluetooth-next 08/19] 6lowpan: iphc: remove unnecessary zero data Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 09/19] 6lowpan: move eui64 uncompress function Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 10/19] 6lowpan: add lowpan_is_ll function Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 11/19] 6lowpan: move mac802154 header Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 12/19] 6lowpan: add private neighbour data Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 13/19] addrconf: add 802.15.4 short addr slaac Alexander Aring
2016-03-23 10:50   ` Hannes Frederic Sowa
2016-04-05  8:20     ` Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 14/19] ndisc: add addr_len parameter to ndisc_opt_addr_space Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 15/19] ndisc: add addr_len parameter to ndisc_opt_addr_data Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 16/19] ndisc: add addr_len parameter to ndisc_fill_addr_option Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 17/19] ndisc: add short address to ndisc opts parsing Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 18/19] ndisc: add support for short address option Alexander Aring
2016-03-22 13:15 ` [RFC bluetooth-next 19/19] 6lowpan: add support for 802.15.4 short addr handling Alexander Aring

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=56F26B11.9000709@osg.samsung.com \
    --to=stefan@osg.samsung.com \
    --cc=aar@pengutronix.de \
    --cc=hannes@stressinduktion.org \
    --cc=jukka.rissanen@linux.intel.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-wpan@vger.kernel.org \
    --cc=mcr@sandelman.ca \
    --cc=werner@almesberger.net \
    --subject='Re: [RFC bluetooth-next 06/19] 6lowpan: move lowpan_802154_dev to 6lowpan' \
    /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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.