login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-netdev
»
2008
»
October
»
28
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: Johannes Berg
Subject:
Re: [RFC PATCHv3] printk: add %pM format specifier for MAC addresses
Date: Tuesday, October 28, 2008 - 1:04 am
On Mon, 2008-10-27 at 16:48 -0700, Joe Perches wrote:
quoted text
> On Mon, 2008-10-27 at 16:14 -0700, Harvey Harrison wrote: > > I was thinking of using %pI6 to replace NIP6() and NIP6_FMT and using > > %#pI6 for NIP6_SEQFMT. > >=20 > > On the IPv4 side, maybe use %pI4 for network endian NIPQUAD() and NIPQU=
AD_FMT
quoted text
> > and then %#pI4 for host-endian HIQUAD(), as displaying the IPv4 address=
without
quoted text
> > the periods isn't useful? >=20 > HIPQUAD is horrible and should disappear. > Just use htonl first.
But you can't really say printk("... %p4 ...", &htonl(host_ip4)); can you? I suppose the compiler would actually create a variable for that? johannes
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] add %pM printf format specifier
, Johannes Berg
, (Fri Oct 24, 4:46 pm)
Re: [PATCH] add %pM printf format specifier
, Joe Perches
, (Fri Oct 24, 6:41 pm)
Re: [PATCH] add %pM printf format specifier
, Johannes Berg
, (Sat Oct 25, 1:00 am)
Re: [PATCH] add %pM printf format specifier
, Sven Anders
, (Sat Oct 25, 10:44 am)
Re: [PATCH] add %pM printf format specifier
, Johannes Berg
, (Sun Oct 26, 1:01 am)
Re: [PATCH] add %pM printf format specifier
, David Miller
, (Sun Oct 26, 1:03 am)
Re: [PATCH] add %pM printf format specifier
, Johannes Berg
, (Sun Oct 26, 1:21 am)
Re: [PATCH] add %pM printf format specifier
, Johannes Berg
, (Sun Oct 26, 1:30 am)
Re: [PATCH] add %pM printf format specifier
, Johannes Berg
, (Sun Oct 26, 1:38 am)
Re: [PATCH] add %pM printf format specifier
, Harvey Harrison
, (Sun Oct 26, 12:01 pm)
Re: [PATCH] add %pM printf format specifier
, Johannes Berg
, (Sun Oct 26, 12:33 pm)
Re: [PATCH] add %pM printf format specifier
, Harvey Harrison
, (Sun Oct 26, 12:38 pm)
Re: [PATCH] add %pM printf format specifier
, Johannes Berg
, (Sun Oct 26, 12:40 pm)
[RFC PATCH] printk: add the %pM, %p4, %p6 format specifiers
, Harvey Harrison
, (Sun Oct 26, 3:39 pm)
[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
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate