All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6 6/12]: Use u_int16_t for initialized/num_manips in struct ip_nat_info
@ 2004-09-21  3:22 Patrick McHardy
  0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2004-09-21  3:22 UTC (permalink / raw)
  To: David S. Miller; +Cc: Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

ChangeSet@1.1935.1.6, 2004-09-19 15:33:35+02:00, kaber@coreworks.de
  [NETFILTER]: Use u_int16_t for initialized/num_manips in struct 
ip_nat_info
 
  Signed-off-by: Patrick McHardy <kaber@trash.net>



[-- Attachment #2: 06.diff --]
[-- Type: text/x-patch, Size: 1040 bytes --]

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/19 15:33:35+02:00 kaber@coreworks.de 
#   [NETFILTER]: Use u_int16_t for initialized/num_manips in struct ip_nat_info
#   
#   Signed-off-by: Patrick McHardy <kaber@trash.net>
# 
# include/linux/netfilter_ipv4/ip_nat.h
#   2004/09/19 15:33:04+02:00 kaber@coreworks.de +2 -2
#   [NETFILTER]: Use u_int16_t for initialized/num_manips in struct ip_nat_info
#   
#   Signed-off-by: Patrick McHardy <kaber@trash.net>
# 
diff -Nru a/include/linux/netfilter_ipv4/ip_nat.h b/include/linux/netfilter_ipv4/ip_nat.h
--- a/include/linux/netfilter_ipv4/ip_nat.h	2004-09-20 11:58:08 +02:00
+++ b/include/linux/netfilter_ipv4/ip_nat.h	2004-09-20 11:58:08 +02:00
@@ -84,9 +84,9 @@
 struct ip_nat_info
 {
 	/* Set to zero when conntrack created: bitmask of maniptypes */
-	int initialized;
+	u_int16_t initialized;
 
-	unsigned int num_manips;
+	u_int16_t num_manips;
 
 	/* Manipulations to be done on this conntrack. */
 	struct ip_nat_info_manip manips[IP_NAT_MAX_MANIPS];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-21  3:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-21  3:22 [PATCH 2.6 6/12]: Use u_int16_t for initialized/num_manips in struct ip_nat_info Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.