struct lowpan_create_arg {
u16 tag;
- u16 d_size;
+ unsigned int d_size;
const struct ieee802154_addr *src;
const struct ieee802154_addr *dst;
};
struct inet_frag_queue q;
u16 tag;
- u16 d_size;
+ unsigned int d_size;
struct ieee802154_addr saddr;
struct ieee802154_addr daddr;
};
static int lowpan_frag_reasm(struct lowpan_frag_queue *fq,
struct sk_buff *prev, struct net_device *ldev);
-static unsigned int lowpan_hash_frag(u16 tag, u16 d_size,
+static unsigned int lowpan_hash_frag(u16 tag, unsigned int d_size,
const struct ieee802154_addr *saddr,
const struct ieee802154_addr *daddr)
{
static int
lowpan_xmit_fragmented(struct sk_buff *skb, struct net_device *ldev,
- const struct ieee802154_hdr *wpan_hdr, u16 dgram_size,
- u16 dgram_offset)
+ const struct ieee802154_hdr *wpan_hdr,
+ unsigned int dgram_size, unsigned int dgram_offset)
{
__be16 frag_tag;
u8 frag_hdr[5];
}
static int lowpan_header(struct sk_buff *skb, struct net_device *ldev,
- u16 *dgram_size, u16 *dgram_offset)
+ unsigned int *dgram_size, unsigned int *dgram_offset)
{
struct wpan_dev *wpan_dev = lowpan_dev_info(ldev)->wdev->ieee802154_ptr;
struct ieee802154_addr sa, da;
{
struct ieee802154_hdr wpan_hdr;
int max_single, ret;
- u16 dgram_size, dgram_offset;
+ unsigned int dgram_size, dgram_offset;
pr_debug("package xmit\n");