Commit 42d224aa authored by Al Viro's avatar Al Viro Committed by David S. Miller

[NETFILTER]: More trivial annotations.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ef296f56
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#define TFTP_PORT 69 #define TFTP_PORT 69
struct tftphdr { struct tftphdr {
u_int16_t opcode; __be16 opcode;
}; };
#define TFTP_OPCODE_READ 1 #define TFTP_OPCODE_READ 1
......
...@@ -180,7 +180,7 @@ static struct ip_conntrack_helper amanda_helper = { ...@@ -180,7 +180,7 @@ static struct ip_conntrack_helper amanda_helper = {
.help = help, .help = help,
.name = "amanda", .name = "amanda",
.tuple = { .src = { .u = { __constant_htons(10080) } }, .tuple = { .src = { .u = { .udp = {.port = __constant_htons(10080) } } },
.dst = { .protonum = IPPROTO_UDP }, .dst = { .protonum = IPPROTO_UDP },
}, },
.mask = { .src = { .u = { 0xFFFF } }, .mask = { .src = { .u = { 0xFFFF } },
......
...@@ -1153,7 +1153,7 @@ static struct ip_conntrack_helper ip_conntrack_helper_q931 = { ...@@ -1153,7 +1153,7 @@ static struct ip_conntrack_helper ip_conntrack_helper_q931 = {
.me = THIS_MODULE, .me = THIS_MODULE,
.max_expected = H323_RTP_CHANNEL_MAX * 4 + 4 /* T.120 and H.245 */ , .max_expected = H323_RTP_CHANNEL_MAX * 4 + 4 /* T.120 and H.245 */ ,
.timeout = 240, .timeout = 240,
.tuple = {.src = {.u = {__constant_htons(Q931_PORT)}}, .tuple = {.src = {.u = {.tcp = {.port = __constant_htons(Q931_PORT)}}},
.dst = {.protonum = IPPROTO_TCP}}, .dst = {.protonum = IPPROTO_TCP}},
.mask = {.src = {.u = {0xFFFF}}, .mask = {.src = {.u = {0xFFFF}},
.dst = {.protonum = 0xFF}}, .dst = {.protonum = 0xFF}},
...@@ -1746,7 +1746,7 @@ static struct ip_conntrack_helper ip_conntrack_helper_ras = { ...@@ -1746,7 +1746,7 @@ static struct ip_conntrack_helper ip_conntrack_helper_ras = {
.me = THIS_MODULE, .me = THIS_MODULE,
.max_expected = 32, .max_expected = 32,
.timeout = 240, .timeout = 240,
.tuple = {.src = {.u = {__constant_htons(RAS_PORT)}}, .tuple = {.src = {.u = {.tcp = {.port = __constant_htons(RAS_PORT)}}},
.dst = {.protonum = IPPROTO_UDP}}, .dst = {.protonum = IPPROTO_UDP}},
.mask = {.src = {.u = {0xFFFE}}, .mask = {.src = {.u = {0xFFFE}},
.dst = {.protonum = 0xFF}}, .dst = {.protonum = 0xFF}},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment