Searched refs:ipnat (Results 1 - 25 of 25) sorted by relevance

/netbsd-6-1-5-RELEASE/dist/ipf/rules/
H A Dftppxy6 echo "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f -
/netbsd-6-1-5-RELEASE/usr.sbin/ipf/ipnat/
H A DMakefile3 PROG= ipnat
4 SRCS= ipnat.c ipnat_y.c ipnat_l.c
5 MAN= ipnat.8 ipnat.4 ipnat.5
6 MLINKS= ipnat.5 ipnat.conf.5
/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Dgetnattype.c26 ipnat_t *ipn, ipnat; local
36 if (kmemcpy((char *)&ipnat, (long)ipn, sizeof(ipnat)))
38 type = ipnat.in_redir;
/netbsd-6-1-5-RELEASE/usr.sbin/ipf/
H A DMakefile4 SUBDIR+= ipf ipfs ipfstat ipftest ipmon ipnat ippool ipresend
/netbsd-6-1-5-RELEASE/etc/rc.d/
H A Dipnat3 # $NetBSD: ipnat,v 1.12 2004/10/11 15:00:51 christos Exp $
6 # PROVIDE: ipnat
12 name="ipnat"
14 config="/etc/ipnat.conf"
16 stop_cmd="/usr/sbin/ipnat -F -C"
17 reload_cmd="/usr/sbin/ipnat -C -f ${config}"
18 restart_cmd="/usr/sbin/ipnat -F -C -f ${config}"
27 logger -s -p daemon.warning -t ipnat \
35 /usr/sbin/ipnat -F -f ${config}
H A Dipfs7 # REQUIRE: ipnat mountcritremote downinterfaces isdnd
20 if [ -r /var/db/ipf/ipstate.ipf -a -r /var/db/ipf/ipnat.ipf ]; then
22 rm -f /var/db/ipf/ipstate.ipf /var/db/ipf/ipnat.ipf
H A DMakefile25 identd ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec \
/netbsd-6-1-5-RELEASE/tests/ipf/
H A Dt_nat_parse.sh37 atf_check -o file:exp -e ignore ipnat -Rnvf reg
/netbsd-6-1-5-RELEASE/usr.sbin/ipf/ipftest/
H A DMakefile29 CLEANFILES+= ipnat.tab.c ipnat.tab.h
36 ${YACC} -b ipnat -d ${.ALLSRC}
40 ipnat.tab.c > ${.TARGET}
43 ipnat.tab.h > ${.TARGET:.c=.h}
/netbsd-6-1-5-RELEASE/dist/ipf/man/
H A DMakefile11 $(INSTALL) -m 0644 -c -o root -g bin ipnat.8 $(MANDIR)/man8
15 $(INSTALL) -m 0644 -c -o root -g bin ipnat.4 $(MANDIR)/man4
18 $(INSTALL) -m 0644 -c -o root -g bin ipnat.5 $(MANDIR)/man5
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/
H A Dip_nat.h99 struct ipnat *nat_ptr; /* pointer back to the rule */
176 typedef struct ipnat { struct
178 struct ipnat *in_next; /* NAT rule list next */
179 struct ipnat *in_rnext; /* rdr rule hash next */
180 struct ipnat **in_prnext; /* prior rdr next ptr */
181 struct ipnat *in_mnext; /* map rule hash next */
182 struct ipnat **in_pmnext; /* prior map next ptr */
291 struct ipnat ipn_ipnat;
316 struct ipnat *hm_ipnat;
H A Dip_proxy.h30 struct ipnat;
452 extern int appr_ok(fr_info_t *, tcphdr_t *, struct ipnat *);
H A Dip_rpcb_pxy.c1112 ipnat_t *ipn, ipnat; local
1187 bcopy((char *)ipn, (char *)&ipnat, sizeof(ipnat));
1208 bcopy((char *)&ipnat, (char *)ipn, sizeof(ipnat));
H A Dip_fil_compat.c351 struct ipnat *in_next;
352 struct ipnat *in_rnext;
353 struct ipnat **in_prnext;
354 struct ipnat *in_mnext;
355 struct ipnat **in_pmnext;
406 struct ipnat *nat_ptr;
448 struct ipnat *nat_ptr;
H A Dip_nat.c195 static void nat_addnat(struct ipnat *);
196 static void nat_addrdr(struct ipnat *);
197 static void nat_delrdr(struct ipnat *);
198 static void nat_delnat(struct ipnat *);
1082 MUTEX_INIT(&n->in_lock, "ipnat rule lock");
1476 bzero((char *)in, offsetof(struct ipnat, in_next6));
1690 struct ipnat *ipn;
4664 struct ipnat *np;
5046 /* Fetch the next nat/ipnat structure pointer from the linked list and */
H A Dfil.c5395 { 0, sizeof(struct ipnat), 4011400 },
/netbsd-6-1-5-RELEASE/dist/ipf/
H A Dipf.h224 extern void nat_setgroupmap(struct ipnat *);
256 extern void printproto(struct protoent *, int, struct ipnat *);
278 extern void printnat(struct ipnat *, int);
H A Dip_rpcb_pxy.c1107 ipnat_t *ipn, ipnat; local
1182 bcopy((char *)ipn, (char *)&ipnat, sizeof(ipnat));
1203 bcopy((char *)&ipnat, (char *)ipn, sizeof(ipnat));
H A DHISTORY300 using ipnat -l can lead to memory corruption in high stress situations
330 add hash table bucket stats display to ipnat -s
383 print out the TCP state population with ipfstat/ipnat
455 return ipf ticks via SIOCGETGS for /dev/ipnat so "ipnat -l" can display ttl
469 fix problems with parsing and printing "-" as an interface name in ipnat.conf
507 make ipfstat, ippool, ipnat retrieve information via ioctls rather than /dev/kmem
740 parsing port numbers in ipf/ipnat was confusing as the port number was returned
762 expand documention on the karma of using "auto" in ipnat map rules
764 add matching on IP protocol to ipnat ma
[all...]
H A Dip_fil_compat.c351 struct ipnat *in_next;
352 struct ipnat *in_rnext;
353 struct ipnat **in_prnext;
354 struct ipnat *in_mnext;
355 struct ipnat **in_pmnext;
406 struct ipnat *nat_ptr;
448 struct ipnat *nat_ptr;
/netbsd-6-1-5-RELEASE/etc/defaults/
H A Drc.conf166 ipnat=NO # uses /etc/ipnat.conf
167 ipfs=NO ipfs_flags="" # save/load ipnat and ipf states
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/
H A Dnetbsd32_ioctl.h203 netinet/ip_nat.h:22:#define SIOCADNAT _IOW('r', 80, struct ipnat)
204 netinet/ip_nat.h:23:#define SIOCRMNAT _IOW('r', 81, struct ipnat)
/netbsd-6-1-5-RELEASE/dist/pf/usr.sbin/ftp-proxy/
H A Dipf.c86 struct ipnat ipn;
/netbsd-6-1-5-RELEASE/dist/ipf/l4check/
H A Dl4check.c39 struct ipnat l4_nat; /* NAT rule */
/netbsd-6-1-5-RELEASE/etc/
H A DMAKEDEV.tmpl1400 mkdev ipnat c %ipl_chr% 1

Completed in 162 milliseconds