/* * 6LoWPAN IPv6 Mobility Header compression according to RFC6282 * * 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_NHC_MOBILITY_IDLEN 1 #define LOWPAN_NHC_MOBILITY_ID_0 0xe8 #define LOWPAN_NHC_MOBILITY_MASK_0 0xfe static void mobility_nhid_setup(struct lowpan_nhc *nhc) { nhc->id[0] = LOWPAN_NHC_MOBILITY_ID_0; nhc->idmask[0] = LOWPAN_NHC_MOBILITY_MASK_0; } LOWPAN_NHC(nhc_mobility, "RFC6282 Mobility", NEXTHDR_MOBILITY, 0, mobility_nhid_setup, LOWPAN_NHC_MOBILITY_IDLEN, NULL, NULL); module_lowpan_nhc(nhc_mobility); MODULE_DESCRIPTION("6LoWPAN next header RFC6282 Mobility compression"); MODULE_LICENSE("GPL"); t'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-03 16:39:46 +0100
committerJohan Hovold <johan@kernel.org>2017-01-04 10:37:17 +0100
commite35d6d7c4e6532a89732cf4bace0e910ee684c88 (patch)
tree11429c52ef310f401c845e7a32129348a6c053e1
parent2330d0a853da260d8a9834a70df448032b9ff623 (diff)
USB: serial: io_ti: bind to interface after fw download
Bind to the interface, but do not register any ports, after having downloaded the firmware. The device will still disconnect and re-enumerate, but this way we avoid an error messages from being logged as part of the process: io_ti: probe of 1-1.3:1.0 failed with error -5 Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat