Skip to content

Convert IP4 address class macros to inline functions

Joe Perches netdev 1 version In review

Get series with b4
b4 am 1195540812.4675.89.camel@localhost

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4include - Convert IP4 address class macros to inline functionsinclude/linux/in.h+40 -50 replies
2/4net/core - Convert IP4 address class macros to inline functionsnet/core/netpoll.c net/core/pktgen.c+4 -40 replies
3/4net/ipv4 - Convert IP4 address class macros to inline functionsnet/ipv4/arp.c net/ipv4/datagram.c net/ipv4/devinet.c +7 more+50 -500 replies
4/4net/netfilter - Convert IP4 address class macros to inline functionsnet/netfilter/xt_pkttype.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-2.6.25 0/4] Convert IP4 address class macros to inline functions

Change LOOPBACK MULTICAST LOCAL_MCAST BADCLASS and ZERONET macros to inline functions ipv4_is_<type>(__be32 addr)

Adds some type safety and arguably some readability

No change in compiled image size