/* * 6LoWPAN Extension Header compression according to RFC7400 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #include "nhc.h" #define LOWPAN_GHC_EXT_ROUTE_IDLEN 1 #define LOWPAN_GHC_EXT_ROUTE_ID_0 0xb2 #define LOWPAN_GHC_EXT_ROUTE_MASK_0 0xfe static void route_ghid_setup(struct lowpan_nhc *nhc) { nhc->id[0] = LOWPAN_GHC_EXT_ROUTE_ID_0; nhc->idmask[0] = LOWPAN_GHC_EXT_ROUTE_MASK_0; } LOWPAN_NHC(ghc_ext_route, "RFC7400 Routing Extension Header", NEXTHDR_ROUTING, 0, route_ghid_setup, LOWPAN_GHC_EXT_ROUTE_IDLEN, NULL, NULL); module_lowpan_nhc(ghc_ext_route); MODULE_DESCRIPTION("6LoWPAN generic header routing extension compression"); MODULE_LICENSE("GPL"); >
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/ncsi
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-03 14:07:14 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-03 14:07:14 +0100
commit8d6bbff67796262b5296b745989e4c9d9f2b4894 (patch)
tree49624174880accd352f8468aab81bac390d2971d /net/ncsi
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88 (diff)
parent43aef5c2ca90535b3227e97e71604291875444ed (diff)
Merge tag 'fixes-for-v4.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
Felipe writes: usb: fixes for v4.10-rc3 The first set of fixes for v4.10-rc cycle. The most important of which is a big regression on dwc3-pci which prevents it from probing altogether. There's also a fix to avoid Overflow events on DWC3 and another to make sure we don't starve DMA resources. Dummy HCD got some love after a long hiatus and DWC2 got a couple fixes related to DMA usage. Other than these, we have a set of minor fixes here and there.
Diffstat (limited to 'net/ncsi')