summaryrefslogtreecommitdiffstats
path: root/include/conntrackd.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-06-12 18:35:11 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-06-12 18:35:11 +0200
commitd9c0564db6b3f3ecb196508458a91b03d45fadb2 (patch)
tree327dec2eab601abe26522c267bdff23b1605dfc5 /include/conntrackd.h
parent8fc9066ee62d17cdb76bc064c945da3bb0d2e2a3 (diff)
build: use TLV format for SCTP/DCCP protocol information
In 400ae54438c4b85126f9fab0ae1dc067823b70f7, we added the SCTP support by means of a structure that was encapsulated in an TLV attribute. However, this structure didn't handle alignment and endianess issues appropriately. Similar problem was introduced in b808645ec71b7cc22cf5106b3d79625d07e6077c along with the DCCP support. This patch moves every field of this structure to independent attributes. I decided not to use nesting to make building and parsing more simple. Using TLV is a good idea, specially for DCCP and SCTP that are under development and that may include new fields and obsolete them in the future. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/conntrackd.h')
0 files changed, 0 insertions, 0 deletions