login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
27
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC addresses
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alexey Dobriyan
Subject:
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC addresses
Date: Monday, October 27, 2008 - 4:31 pm
On Mon, Oct 27, 2008 at 04:14:14PM -0700, Harvey Harrison wrote:
quoted text
> On Mon, 2008-10-27 at 15:47 -0700, David Miller wrote: > > From: Harvey Harrison <harvey.harrison@gmail.com> > > Date: Mon, 27 Oct 2008 12:59:02 -0700 > > > > > Add format specifiers for printing out six colon-separated bytes: > > > > > > MAC addresses (%pM): > > > xx:xx:xx:xx:xx:xx > > > > > > %#pM is also supported and omits the colon separators. > > > > > > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> > > > > Applied, thanks. > > Did you happen to have a preference with regard to the specifier for > IPv6 addresses: > > I was thinking of using %pI6 to replace NIP6() and NIP6_FMT and using > %#pI6 for NIP6_SEQFMT. > > On the IPv4 side, maybe use %pI4 for network endian NIPQUAD() and NIPQUAD_FMT > and then %#pI4 for host-endian HIQUAD(), as displaying the IPv4 address without > the periods isn't useful?
%#pI4 is horrible and %p4 and %p6 were cool. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC PATCHv2] printk: add the %pM, %p4, %p6 format specifiers
, Harvey Harrison
, (Sun Oct 26, 5:31 pm)
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format spe ...
, Frans Pop
, (Sun Oct 26, 6:21 pm)
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format spe ...
, H. Peter Anvin
, (Sun Oct 26, 7:08 pm)
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format spe ...
, Johannes Berg
, (Sun Oct 26, 11:59 pm)
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format spe ...
, Harvey Harrison
, (Mon Oct 27, 9:28 am)
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format spe ...
, David Miller
, (Mon Oct 27, 12:38 pm)
Re: [RFC PATCHv2] printk: add the %pM, %p4, %p6 format spe ...
, Johannes Berg
, (Mon Oct 27, 12:47 pm)
[RFC PATCHv3] printk: add %pM format specifier for MAC add ...
, Harvey Harrison
, (Mon Oct 27, 12:59 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Joe Perches
, (Mon Oct 27, 2:55 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, David Miller
, (Mon Oct 27, 3:46 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, David Miller
, (Mon Oct 27, 3:47 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Harvey Harrison
, (Mon Oct 27, 4:14 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Alexey Dobriyan
, (Mon Oct 27, 4:31 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Joe Perches
, (Mon Oct 27, 4:48 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, David Miller
, (Mon Oct 27, 4:55 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Harvey Harrison
, (Mon Oct 27, 5:05 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Joe Perches
, (Mon Oct 27, 5:22 pm)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Johannes Berg
, (Tue Oct 28, 1:04 am)
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC ...
, Johannes Berg
, (Tue Oct 28, 1:06 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Joerg Roedel
Re: [patch] dma-debug: off by one issue
Tetsuo Handa
Re: [AppArmor #7 0/13] AppArmor security module
Pekka Enberg
Re: BUG in free_block (tainted)
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Stuart Henderson
Re: SquidGuard problem
Henning Brauer
Re: 3ware hardware raid support?
Ryan McBride
Re: Packets Per Second Limit?
Colocation donated by:
Syndicate