net: apps: Fix style issue
Add spaces after a list of values as required by checkpatch script. Change-Id: I04bd8af8195e3966fd2b9c36ead49483030eae18 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
fc7bc7cffb
commit
1b4271baef
5 changed files with 22 additions and 24 deletions
|
@ -62,14 +62,12 @@ static uint8_t my_mac[] = { 0x0a, 0xbe, 0xef, 0x15, 0xf0, 0x0d };
|
||||||
|
|
||||||
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
||||||
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
||||||
#define MY_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x2 } } }
|
#define PEER_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } }
|
||||||
|
#define MY_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2 } } }
|
||||||
#define PEER_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x1 } } }
|
|
||||||
#else
|
#else
|
||||||
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
||||||
#define MY_IPADDR { { { 192,0,2,2 } } }
|
#define MY_IPADDR { { { 192, 0, 2, 2 } } }
|
||||||
#define PEER_IPADDR { { { 192,0,2,1 } } }
|
#define PEER_IPADDR { { { 192, 0, 2, 1 } } }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MY_PORT 8484
|
#define MY_PORT 8484
|
||||||
|
|
|
@ -91,13 +91,12 @@ static uint8_t my_mac[] = { 0x0a, 0xbe, 0xef, 0x15, 0xf0, 0x0d };
|
||||||
|
|
||||||
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
||||||
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
||||||
#define MY_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x2 } } }
|
#define MY_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2 } } }
|
||||||
|
#define PEER_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } }
|
||||||
#define PEER_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x1 } } }
|
|
||||||
#else
|
#else
|
||||||
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
||||||
#define MY_IPADDR { { { 192,0,2,2 } } }
|
#define MY_IPADDR { { { 192, 0, 2, 2 } } }
|
||||||
#define PEER_IPADDR { { { 192,0,2,1 } } }
|
#define PEER_IPADDR { { { 192, 0, 2, 1 } } }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#define MY_PORT 8484
|
#define MY_PORT 8484
|
||||||
|
|
|
@ -64,11 +64,11 @@ static uint8_t my_mac[] = { 0x0a, 0xbe, 0xef, 0x15, 0xf0, 0x0d };
|
||||||
|
|
||||||
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
||||||
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
||||||
#define MY_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x2 } } }
|
#define MY_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2 } } }
|
||||||
|
|
||||||
#else
|
#else
|
||||||
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
||||||
#define MY_IPADDR { { { 192,0,2,2 } } }
|
#define MY_IPADDR { { { 192, 0, 2, 2 } } }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#define MY_PORT 4242
|
#define MY_PORT 4242
|
||||||
|
|
|
@ -70,10 +70,11 @@ static uint8_t my_mac[] = { 0x15, 0x0a, 0xbe, 0xef, 0xf0, 0x0d };
|
||||||
|
|
||||||
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
#ifdef CONFIG_NETWORKING_WITH_IPV6
|
||||||
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
||||||
#define PEER_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x1 } } }
|
#define PEER_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } }
|
||||||
#define MY_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x2 } } }
|
#define MY_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2 } } }
|
||||||
|
|
||||||
/* admin-local, dynamically allocated multicast address */
|
/* admin-local, dynamically allocated multicast address */
|
||||||
#define MCAST_IPADDR { { { 0xff,0x84,0,0,0,0,0,0,0,0,0,0,0,0,0,0x2 } } }
|
#define MCAST_IPADDR { { { 0xff, 0x84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2 } } }
|
||||||
|
|
||||||
static const struct in6_addr in6addr_peer = PEER_IPADDR;
|
static const struct in6_addr in6addr_peer = PEER_IPADDR;
|
||||||
static struct in6_addr in6addr_my = MY_IPADDR;
|
static struct in6_addr in6addr_my = MY_IPADDR;
|
||||||
|
@ -83,11 +84,11 @@ static struct in6_addr in6addr_my = MY_IPADDR;
|
||||||
#error "IPv4 not supported at the moment, fix me!"
|
#error "IPv4 not supported at the moment, fix me!"
|
||||||
|
|
||||||
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
||||||
#define MY_IPADDR { { { 192,0,2,2 } } }
|
#define MY_IPADDR { { { 192, 0, 2, 2 } } }
|
||||||
#define PEER_IPADDR { { { 192,0,2,1 } } }
|
#define PEER_IPADDR { { { 192, 0, 2, 1 } } }
|
||||||
|
|
||||||
/* Organization-local 239.192.0.0/14 */
|
/* Organization-local 239.192.0.0/14 */
|
||||||
#define MCAST_IPADDR { { { 239,192,0,2 } } }
|
#define MCAST_IPADDR { { { 239, 192, 0, 2 } } }
|
||||||
#endif /* CONFIG_NETWORKING_WITH_IPV6 */
|
#endif /* CONFIG_NETWORKING_WITH_IPV6 */
|
||||||
|
|
||||||
#define MY_PORT 8484
|
#define MY_PORT 8484
|
||||||
|
|
|
@ -52,20 +52,20 @@ static uint8_t my_mac[] = { 0x0a, 0xbe, 0xef, 0x15, 0xf0, 0x0d };
|
||||||
|
|
||||||
#if defined(CONFIG_NETWORKING_WITH_IPV6)
|
#if defined(CONFIG_NETWORKING_WITH_IPV6)
|
||||||
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
/* The 2001:db8::/32 is the private address space for documentation RFC 3849 */
|
||||||
#define MY_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x1 } } }
|
#define MY_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } }
|
||||||
#define PEER_IPADDR { { { 0x20,0x01,0x0d,0xb8,0,0,0,0,0,0,0,0,0,0,0,0x2 } } }
|
#define PEER_IPADDR { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2 } } }
|
||||||
|
|
||||||
/* admin-local, dynamically allocated multicast address */
|
/* admin-local, dynamically allocated multicast address */
|
||||||
#define MCAST_IPADDR { { { 0xff,0x84,0,0,0,0,0,0,0,0,0,0,0,0,0,0x2 } } }
|
#define MCAST_IPADDR { { { 0xff, 0x84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2 } } }
|
||||||
|
|
||||||
static const struct in6_addr in6addr_peer = PEER_IPADDR;
|
static const struct in6_addr in6addr_peer = PEER_IPADDR;
|
||||||
static struct in6_addr in6addr_my = MY_IPADDR;
|
static struct in6_addr in6addr_my = MY_IPADDR;
|
||||||
#else
|
#else
|
||||||
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
/* The 192.0.2.0/24 is the private address space for documentation RFC 5737 */
|
||||||
#define MY_IPADDR { { { 192,0,2,2 } } }
|
#define MY_IPADDR { { { 192, 0, 2, 2 } } }
|
||||||
|
|
||||||
/* Organization-local 239.192.0.0/14 */
|
/* Organization-local 239.192.0.0/14 */
|
||||||
#define MCAST_IPADDR { { { 239,192,0,2 } } }
|
#define MCAST_IPADDR { { { 239, 192, 0, 2 } } }
|
||||||
#endif
|
#endif
|
||||||
#define MY_PORT 4242
|
#define MY_PORT 4242
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue