PERFORCE change 109072 for review
Paolo Pisati
piso at FreeBSD.org
Thu Nov 2 21:08:24 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109072
Change 109072 by piso at piso_newluxor on 2006/11/02 21:07:21
wrap at 80 cols
Affected files ...
.. //depot/projects/soc2005/libalias/sys/netinet/ip_fw.h#7 edit
Differences ...
==== //depot/projects/soc2005/libalias/sys/netinet/ip_fw.h#7 (text+ko) ====
@@ -333,8 +333,9 @@
u_short pport_cnt; /* number of public ports */
u_short rport_cnt; /* number of remote ports */
int proto; /* protocol: tcp/udp */
- struct alias_link **alink;
- u_int16_t spool_cnt; /* number of entry in spool chain */
+ struct alias_link **alink;
+ /* num of entry in spool chain */
+ u_int16_t spool_cnt;
/* chain of spool instances */
LIST_HEAD(spool_chain, cfg_spool) spool_chain;
};
@@ -342,14 +343,17 @@
#define NAT_BUF_LEN 1024
/* Nat configuration data struct. */
struct cfg_nat {
- LIST_ENTRY(cfg_nat) _next; /* chain of nat instances */
+ /* chain of nat instances */
+ LIST_ENTRY(cfg_nat) _next;
int id; /* nat id */
struct in_addr ip; /* nat ip address */
char if_name[IF_NAMESIZE]; /* interface name */
int mode; /* aliasing mode */
struct libalias *lib; /* libalias instance */
- int redir_cnt; /* number of entry in spool chain */
- LIST_HEAD(redir_chain, cfg_redir) redir_chain; /* chain of redir instances */
+ /* number of entry in spool chain */
+ int redir_cnt;
+ /* chain of redir instances */
+ LIST_HEAD(redir_chain, cfg_redir) redir_chain;
};
/* Nat command. */
More information about the p4-projects
mailing list