]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
- Cosmetic changes (tab indent struct initializers)
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>
Thu, 12 Jan 2006 10:36:20 +0000 (10:36 +0000)
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>
Thu, 12 Jan 2006 10:36:20 +0000 (10:36 +0000)
- Rename "tcp.[sd]port" into "l4.[sd]port" (Christian Hentschel)

input/flow/ulogd_inpflow_NFCT.c

index 813b1b8a55b66f582d360b053f93d0f919de556a..405dd84bd3b347065bd6d3f5683fdbf6f1cf3d95 100644 (file)
@@ -68,7 +68,7 @@ static struct ulogd_key nfct_okeys[] = {
        {
                .type   = ULOGD_RET_UINT16,
                .flags  = ULOGD_RETF_NONE,
-               .name   = "tcp.sport",
+               .name   = "l4.sport",
                .ipfix  = {
                        .vendor         = IPFIX_VENDOR_IETF,
                        .field_id       = IPFIX_sourceTransportPort,
@@ -77,46 +77,46 @@ static struct ulogd_key nfct_okeys[] = {
        {
                .type   = ULOGD_RET_UINT16,
                .flags  = ULOGD_RETF_NONE,
-               .name   = "tcp.dport",
+               .name   = "l4.dport",
                .ipfix  = {
                        .vendor         = IPFIX_VENDOR_IETF,
                        .field_id       = IPFIX_destinationTransportPort,
                },
        },
        {
-               .type = ULOGD_RET_UINT32,
-               .flags = ULOGD_RETF_NONE,
-               .name = "raw.pktlen",
-               .ipfix = { 
+               .type   = ULOGD_RET_UINT32,
+               .flags  = ULOGD_RETF_NONE,
+               .name   = "raw.pktlen",
+               .ipfix  = { 
                        .vendor         = IPFIX_VENDOR_IETF,
                        .field_id       = IPFIX_octetTotalCount,
                        /* FIXME: this could also be octetDeltaCount */
                },
        },
        {
-               .type = ULOGD_RET_UINT32,
-               .flags = ULOGD_RETF_NONE,
-               .name = "raw.pktcount",
-               .ipfix = { 
+               .type   = ULOGD_RET_UINT32,
+               .flags  = ULOGD_RETF_NONE,
+               .name   = "raw.pktcount",
+               .ipfix  = { 
                        .vendor         = IPFIX_VENDOR_IETF,
                        .field_id       = IPFIX_packetTotalCount,
                        /* FIXME: this could also be packetDeltaCount */
                },
        },
        {
-               .type = ULOGD_RET_UINT8,
-               .flags = ULOGD_RETF_NONE,
-               .name = "icmp.code",
-               .ipfix = {
+               .type   = ULOGD_RET_UINT8,
+               .flags  = ULOGD_RETF_NONE,
+               .name   = "icmp.code",
+               .ipfix  = {
                        .vendor         = IPFIX_VENDOR_IETF,
                        .field_id       = IPFIX_icmpCodeIPv4,
                },
        },
        {
-               .type = ULOGD_RET_UINT8,
-               .flags = ULOGD_RETF_NONE,
-               .name = "icmp.type",
-               .ipfix = {
+               .type   = ULOGD_RET_UINT8,
+               .flags  = ULOGD_RETF_NONE,
+               .name   = "icmp.type",
+               .ipfix  = {
                        .vendor         = IPFIX_VENDOR_IETF,
                        .field_id       = IPFIX_icmpTypeIPv4,
                },