]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: rename WORD_TRUNC/ROUND macros
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Wed, 21 Sep 2016 11:45:55 +0000 (08:45 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 07:13:26 +0000 (03:13 -0400)
commit5cfce9e9626c4ca64cdf13aba480f24cb1701a99
treec8a53f43b53beaa61a994f5b3a8d31645e1bac27
parent255b9e74527d0e017555d66d374bffdf773c3ec5
sctp: rename WORD_TRUNC/ROUND macros

To something more meaningful these days, specially because this is
working on packet headers or lengths and which are not tied to any CPU
arch but to the protocol itself.

So, WORD_TRUNC becomes SCTP_TRUNC4 and WORD_ROUND becomes SCTP_PAD4.

Reported-by: David Laight <David.Laight@ACULAB.COM>
Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/netfilter/xt_sctp.c
net/sctp/associola.c
net/sctp/chunk.c
net/sctp/input.c
net/sctp/inqueue.c
net/sctp/output.c
net/sctp/sm_make_chunk.c
net/sctp/sm_statefuns.c
net/sctp/transport.c
net/sctp/ulpevent.c