Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1288029
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv3] printf: Add format for 8-byte EUI-64 type |
| Date | 2015-12-10 00:30 +0100 |
| Message-ID | <qDWlk-6vk-7@gated-at.bofh.it> (permalink) |
| References | <qDW1Y-6ob-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2015-12-09 at 16:06 -0700, Keith Busch wrote: > MAC addresses may be formed using rules based on EUI-64, which is 2 bytes > longer than a typical 6-byte MAC. This patch adds a long specifier to > the %pM format to support the extended unique identifier. > > Since there are multiple valid possible permutations of format specifiers, > the decoding is done in a loop, and the default ':' separator is > initialized at declaration time. A side effect of this allows 'F' and > 'R' both be specified, so these are appended to the documentation. Just thought of this: An alternative is using a format of "%8phC" Is there a use case for a bluetooth or FDDI EUI-64? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHv3] printf: Add format for 8-byte EUI-64 type Keith Busch <keith.busch@intel.com> - 2015-12-10 00:10 +0100
Re: [PATCHv3] printf: Add format for 8-byte EUI-64 type Joe Perches <joe@perches.com> - 2015-12-10 00:30 +0100
Re: [PATCHv3] printf: Add format for 8-byte EUI-64 type Keith Busch <keith.busch@intel.com> - 2015-12-10 16:10 +0100
Re: [PATCHv3] printf: Add format for 8-byte EUI-64 type Andy Shevchenko <andy.shevchenko@gmail.com> - 2015-12-11 16:50 +0100
RE: [PATCHv3] printf: Add format for 8-byte EUI-64 type "Elliott, Robert (Persistent Memory)" <elliott@hpe.com> - 2015-12-10 02:50 +0100
csiph-web