Home
last modified time | relevance | path

Searched defs:cfg_redir (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Dip_fw_nat.c64 struct cfg_redir { struct
66 uint16_t mode; /* type of redirect mode */
67 uint16_t proto; /* protocol: tcp/udp */
68 struct in_addr laddr; /* local ip address */
92 LIST_HEAD(redir_chain, cfg_redir) redir_chain; argument
/freebsd/sys/netinet/
H A Dip_fw.h496 struct cfg_redir { struct
498 u_int16_t mode; /* type of redirect mode */
499 struct in_addr laddr; /* local ip address */
500 struct in_addr paddr; /* public ip address */
501 struct in_addr raddr; /* remote ip address */
502 u_short lport; /* local port */
503 u_short pport; /* public port */
504 u_short rport; /* remote port */
505 u_short pport_cnt; /* number of public ports */
529 LIST_HEAD(redir_chain, cfg_redir) redir_chain; argument