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

1234

/freebsd-9.3-release/contrib/bind9/doc/misc/
H A Dsort-options.pl21 my $fin = "";
25 $fin = $_;
46 $result = ${result}.${fin};
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_netbios_pxy.c69 int ippr_netbios_out(fin, aps, nat)
70 fr_info_t *fin;
83 m = fin->fin_m;
84 dlen = fin->fin_dlen - sizeof(*udp);
91 ip = fin->fin_ip;
92 udp = (udphdr_t *)fin->fin_dp;
93 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
H A Dip_fil_freebsd.c551 int fr_send_reset(fin)
552 fr_info_t *fin;
562 tcp = fin->fin_dp;
566 if (fr_checkl4sum(fin) == -1)
569 tlen = fin->fin_dlen - (TCP_OFF(tcp) << 2) +
574 hlen = (fin->fin_v == 6) ? sizeof(ip6_t) : sizeof(ip_t);
626 if (fin->fin_v == 6) {
627 ip6->ip6_flow = ((ip6_t *)fin->fin_ip)->ip6_flow;
631 ip6->ip6_src = fin->fin_dst6;
632 ip6->ip6_dst = fin
[all...]
H A Dfil.c372 /* Parameters: fin(I) - pointer to packet information */
379 static INLINE void frpr_short6(fin, xmin)
380 fr_info_t *fin;
384 if (fin->fin_dlen < xmin)
385 fin->fin_flx |= FI_SHORT;
392 /* Parameters: fin(I) - pointer to packet information */
400 static INLINE int frpr_ipv6hdr(fin)
401 fr_info_t *fin;
403 ip6_t *ip6 = (ip6_t *)fin->fin_ip;
405 fr_ip_t *fi = &fin
2406 fr_info_t *fin = &frinfo; local
[all...]
H A Dip_pptp_pxy.c85 int ippr_pptp_new(fin, aps, nat)
86 fr_info_t *fin;
94 ip = fin->fin_ip;
96 if (nat_outlookup(fin, 0, IPPROTO_GRE, nat->nat_inip,
121 ipn->in_ifps[0] = fin->fin_ifp;
128 ipn->in_outip = fin->fin_saddr;
138 ipn->in_srcip = fin->fin_saddr;
150 void ippr_pptp_donatstate(fin, nat, pptp)
151 fr_info_t *fin;
161 ip = fin
[all...]
H A Dip_nat.c527 /* Parameters: fin(I) - pointer to packet information */
533 void fix_outcksum(fin, sp, n)
534 fr_info_t *fin;
546 n += fin->fin_dlen;
564 /* Parameters: fin(I) - pointer to packet information */
570 void fix_incksum(fin, sp, n)
571 fr_info_t *fin;
583 n += fin->fin_dlen;
1409 fr_info_t fin; local
1496 bzero((char *)&fin, sizeo
3594 fr_info_t fin; local
[all...]
H A Dip_rcmd_pxy.c58 int ippr_rcmd_new(fin, aps, nat)
59 fr_info_t *fin;
63 tcphdr_t *tcp = (tcphdr_t *)fin->fin_dp;
65 fin = fin; /* LINT */
100 int ippr_rcmd_portmsg(fin, aps, nat)
101 fr_info_t *fin;
115 tcp = (tcphdr_t *)fin->fin_dp;
126 m = fin->fin_m;
127 ip = fin
[all...]
H A Dip_ipsec_pxy.c84 int ippr_ipsec_new(fin, aps, nat)
85 fr_info_t *fin;
97 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff;
99 ip = fin->fin_ip;
100 m = fin->fin_m;
107 if (nat_outlookup(fin, 0, IPPROTO_ESP, nat->nat_inip,
128 ipn->in_ifps[0] = fin->fin_ifp;
136 ipn->in_outip = fin
[all...]
H A Dip_frag.c219 /* Parameters: fin(I) - pointer to packet information */
225 static ipfr_t *ipfr_newfrag(fin, pass, table)
226 fr_info_t *fin;
238 if ((fin->fin_flx & (FI_FRAG|FI_BAD)) != FI_FRAG)
241 ip = fin->fin_ip;
244 if (fin->fin_off != 0)
256 frag.ipfr_ifp = fin->fin_ifp;
260 frag.ipfr_optmsk = fin->fin_fi.fi_optmsk & IPF_OPTCOPY;
261 frag.ipfr_secmsk = fin->fin_fi.fi_secmsk;
262 frag.ipfr_auth = fin
[all...]
H A Dip_raudio_pxy.c53 int ippr_raudio_new(fin, aps, nat)
54 fr_info_t *fin;
64 fin = fin; /* LINT */
76 int ippr_raudio_out(fin, aps, nat)
77 fr_info_t *fin;
98 m = fin->fin_m;
99 tcp = (tcphdr_t *)fin->fin_dp;
100 off = (char *)tcp - (char *)fin->fin_ip;
101 off += (TCP_OFF(tcp) << 2) + fin
[all...]
H A Dip_log.c245 /* Parameters: fin(I) - pointer to packet information */
254 int ipflog(fin, flags)
255 fr_info_t *fin;
272 m = fin->fin_m;
277 ifp = fin->fin_ifp;
278 if (fin->fin_exthdr != NULL)
279 hlen = (char *)fin->fin_dp - (char *)fin->fin_ip;
281 hlen = fin->fin_hlen;
285 if (fin
[all...]
H A Dip_state.c904 /* Parameters: fin(I) - pointer to packet information */
919 ipstate_t *fr_addstate(fin, stsave, flags)
920 fr_info_t *fin;
933 (fin->fin_flx & (FI_SHORT|FI_STATE|FI_FRAGBODY|FI_BAD)))
936 if ((fin->fin_flx & FI_OOW) && !(fin->fin_tcpf & TH_SYN))
949 fr = fin->fin_fr;
967 out = fin->fin_out;
975 hv = (is->is_p = fin->fin_fi.fi_p);
976 is->is_src = fin
[all...]
H A Dip_irc_pxy.c225 int ippr_irc_new(fin, aps, nat)
226 fr_info_t *fin;
236 fin = fin; /* LINT */
247 int ippr_irc_send(fin, nat)
248 fr_info_t *fin;
267 m = fin->fin_m;
268 ip = fin->fin_ip;
269 tcp = (tcphdr_t *)fin->fin_dp;
271 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin
[all...]
H A Dip_proxy.c275 int appr_ok(fin, tcp, nat)
276 fr_info_t *fin;
284 (fin->fin_p != apr->apr_p))
346 int appr_match(fin, nat)
347 fr_info_t *fin;
357 (u_long)fin, (u_long)nat, (u_long)nat->nat_aps,
360 if ((fin->fin_flx & (FI_SHORT|FI_BAD)) != 0) {
363 fin->fin_flx);
376 result = (*apr->apr_match)(fin, nat->nat_aps, nat);
392 int appr_new(fin, na
[all...]
H A Dip_rpcb_pxy.c141 /* Parameters: fin(I) - pointer to packet information */
148 ippr_rpcb_new(fin, aps, nat)
149 fr_info_t *fin;
155 fin = fin; /* LINT */
195 /* Parameters: fin(I) - pointer to packet information */
204 ippr_rpcb_in(fin, aps, nat)
205 fr_info_t *fin;
216 if ((fin->fin_flx & (FI_FRAG|FI_SHORT)) != 0)
222 m = fin
[all...]
H A Dip_ftp_pxy.c124 int ippr_ftp_new(fin, aps, nat)
125 fr_info_t *fin;
136 fin = fin; /* LINT */
155 int ippr_ftp_port(fin, ip, nat, f, dlen)
156 fr_info_t *fin;
173 m = fin->fin_m;
174 tcp = (tcphdr_t *)fin->fin_dp;
175 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
306 fin
[all...]
/freebsd-9.3-release/lib/libc/net/
H A Dnscachedcli.c267 goto fin;
272 goto fin;
276 goto fin;
280 goto fin;
284 goto fin;
288 goto fin;
292 goto fin;
298 fin:
321 goto fin;
326 goto fin;
[all...]
/freebsd-9.3-release/contrib/ipfilter/samples/
H A Duserauth.c21 fr_info_t *fin = &fra.fra_info; local
22 fr_ip_t *fi = &fin->fin_fi;
37 printf("port %d ", fin->fin_data[0]);
40 printf("port %d ", fin->fin_data[1]);
/freebsd-9.3-release/contrib/ipfilter/
H A Dip_fil.c511 int fr_fastroute(m, mpp, fin, fdp)
513 fr_info_t *fin;
517 ip_t *ip = fin->fin_ip;
525 fr = fin->fin_fr;
528 if (fin->fin_out == 0) {
529 sifp = fin->fin_ifp;
530 fin->fin_ifp = ifp;
531 fin->fin_out = 1;
532 (void) fr_acctpkt(fin, NULL);
533 fin
[all...]
H A Dip_msnrpc_pxy.c71 int ippr_msnrpc_new(fin, aps, nat)
72 fr_info_t *fin;
118 int ippr_msnrpc_out(fin, ip, aps, nat)
119 fr_info_t *fin;
133 tcp = (tcphdr_t *)fin->fin_dp;
134 dlen = fin->fin_dlen - (TCP_OFF(tcp) << 2);
159 int ippr_msnrpc_in(fin, ip, aps, nat)
160 fr_info_t *fin;
176 tcp = (tcphdr_t *)fin->fin_dp;
177 dlen = fin
[all...]
/freebsd-9.3-release/contrib/libucl/tests/
H A Dtest_speed.c63 int fin; local
76 fin = open (fname_in, O_RDONLY);
77 if (fin == -1) {
83 (void)fstat (fin, &st);
84 map = mmap (NULL, st.st_size, PROT_READ, MAP_SHARED, fin, 0);
90 close (fin);
/freebsd-9.3-release/usr.bin/which/
H A Dwhich.c107 struct stat fin; local
111 stat(candidate, &fin) == 0 &&
112 S_ISREG(fin.st_mode) &&
114 (fin.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0)) {
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcslex.c314 register RILE *fin; local
316 fin=finptr; frew=foutptr;
317 setupcache(fin); cache(fin);
391 uncache(fin);
404 register RILE *fin; local
407 fin = finptr;
409 setupcache(fin); cache(fin);
415 uncache(fin);
534 register RILE *fin; local
676 register RILE *fin; local
709 register RILE *fin; local
748 register RILE *fin; local
[all...]
H A Drcsgen.c590 RILE *fin; local
591 if (!(fin = Iopen(srcname, "r", (struct stat*)0))) {
595 putdftext(delta, fin, fout, diffmt);
596 Ifclose(fin);
637 register RILE *fin; local
654 fin = finfile;
655 setupcache(fin);
658 cache(fin);
666 while (0 <= (ed = getdiffcmd(fin, false, fout, &dc)))
668 cache(fin);
[all...]
/freebsd-9.3-release/contrib/tnftp/src/
H A Dfetch.c507 FILE *volatile fin; local
517 fin = fout = NULL;
579 fin = fopen(decodedpath, "r");
580 if (fin == NULL) {
584 if (fstat(fileno(fin), &sb) == 0) {
589 if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
757 fin = fdopen(s, "r+");
772 fprintf(fin, "GET %s HTTP/1.0\r\n", path);
774 fprintf(fin, "Pragma: no-cache\r\n");
776 fprintf(fin, "GE
[all...]

Completed in 139 milliseconds

1234