Home
last modified time | relevance | path

Searched refs:fin (Results 1 – 25 of 68) sorted by relevance

123

/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c320 hm = nat6_hostmap(np, &fin->fin_src6, &fin->fin_dst6,
487 fin->fin_data[0] = fin->fin_data[1];
490 (u_int)fin->fin_p, &fin->fin_dst6.in6, &in.in6);
684 fin->fin_data[1] = fin->fin_data[0];
687 (u_int)fin->fin_p, &in.in6, &fin->fin_src6.in6);
830 &fin->fin_src6.in6, &fin->fin_dst6.in6);
847 &fin->fin_src6.in6, &fin->fin_dst6.in6);
1940 bzero((char *)&fin, sizeof (fin));
1945 if (nat6_inlookup(&fin, np->nl_flags, fin.fin_p,
2052 fin->fin_ifp = fr->fr_tifs[fin->fin_rev].fd_ifp;
[all …]
H A Dip_fil_solaris.c1620 bcopy((char *)fin->fin_ip + fin->fin_hlen,
1957 fin->fin_dp = (char *)fin->fin_ip + dpoff;
2733 fin->fin_ip->ip_src = fin->fin_ip->ip_dst;
2867 fin->fin_m->b_rptr += fin->fin_ipoff;
2870 fin->fin_m->b_rptr -= fin->fin_ipoff;
2913 fin->fin_ip->ip_src = fin->fin_ip->ip_dst;
2923 fin->fin_m->b_wptr = fin->fin_dp;
2925 (fin->fin_m->b_rptr + fin->fin_ipoff);
3029 fin->fin_m->b_rptr += fin->fin_ipoff;
3032 fin->fin_m->b_rptr -= fin->fin_ipoff;
[all …]
H A Dfil.c550 fin->fin_dp = (char *)fin->fin_dp + shift;
834 fin->fin_dp = (char*)fin->fin_dp + shift;
886 ((char *)fin->fin_ip + fin->fin_hlen);
1523 fin->fin_dlen = fin->fin_plen - hlen;
2218 if (fr_newauth(fin->fin_m, fin) != 0) {
2220 fin->fin_m = *fin->fin_mp = NULL;
2367 bzero((char *)fin, sizeof(*fin));
2411 bzero((char *)fin, sizeof(*fin));
6043 fin->fin_p, fin->fin_dp);
6213 if (fr_pullup(fin->fin_m, fin, fin->fin_plen) == NULL) {
[all …]
H A Dip_nat.c1672 bzero((char *)&fin, sizeof(fin));
2279 fin->fin_data[0] = fin->fin_data[1];
2282 (u_int)fin->fin_p, fin->fin_dst, inb);
2469 fin->fin_data[1] = fin->fin_data[0];
2472 (u_int)fin->fin_p, inb, fin->fin_src);
2616 fin->fin_src, fin->fin_dst);
2633 fin->fin_src, fin->fin_dst);
3729 bzero((char *)&fin, sizeof(fin));
3935 fin->fin_src, fin->fin_dst))) {
5847 fin->fin_dst, fin->fin_src);
[all …]
H A Dip_state.c1114 fr_info_t *fin; in fr_addstate()
1132 if ((fin->fin_flx & FI_OOW) && !(fin->fin_tcpf & TH_SYN))
1528 fin->fin_rev = IP6_NEQ(&is->is_dst, &fin->fin_daddr);
1548 fr_info_t *fin; in fr_tcpoptions()
1561 off = fin->fin_plen - fin->fin_dlen + sizeof(*tcp) + fin->fin_ipoff;
1646 fr_info_t *fin; in fr_tcpstate()
1759 fr_info_t *fin; in fr_checknewisn()
1795 fr_info_t *fin; in fr_tcpinwindow()
2432 bcopy((char *)fin, (char *)&ofin, sizeof(*fin));
2941 i = (fin->fin_rev << 1) + fin->fin_out;
[all …]
H A Dip_proxy.c285 fr_info_t *fin; in appr_ok()
358 fr_info_t *fin; in appr_match()
374 fin->fin_flx);
404 fr_info_t *fin; in appr_new()
471 fr_info_t *fin; in appr_check()
508 if ((fin->fin_out == 0) && (fr_checkl4sum(fin) == -1)) {
511 fin->fin_p);
525 if ((fin->fin_dlen > 0) && !(fin->fin_flx & FI_COALESCE))
532 ip = fin->fin_ip;
645 *csump = fr_cksum(fin->fin_m, ip, fin->fin_p, tcpudp);
[all …]
H A Dip_frag.c230 fr_info_t *fin; in ipfr_index()
300 fr_info_t *fin; in ipfr_newfrag()
345 fr = fin->fin_fr;
391 fr_info_t *fin;
424 fr_info_t *fin; in fr_nat_newfrag()
459 fr_info_t *fin; in fr_ipid_newfrag()
493 fr_info_t *fin; in fr_fraglookup()
596 fr_info_t *fin; in fr_nat_knownfrag()
631 fr_info_t *fin; in fr_ipid_knownfrag()
663 fr_info_t *fin; in fr_knownfrag()
[all …]
H A Dip_log.c238 int ipflog(fin, flags) in ipflog() argument
239 fr_info_t *fin; in ipflog()
262 m = fin->fin_m;
263 ifp = fin->fin_ifp;
264 hlen = fin->fin_hlen;
269 p = fin->fin_fi.fi_p;
292 fin->fin_dlen);
296 fin->fin_dlen);
407 return ipllog(IPL_LOGIPF, fin, ptrs, sizes, types, 2, fin->fin_ifs);
427 fr_info_t *fin;
[all …]
H A Dip_auth.c173 fr_info_t *fin; in fr_checkauth()
182 ipf_stack_t *ifs = fin->fin_ifs;
187 ip = fin->fin_ip;
217 fr->fr_ifa = fin->fin_ifp;
227 fin->fin_fr = fr;
277 int fr_newauth(m, fin) in fr_newauth() argument
279 fr_info_t *fin;
282 qpktinfo_t *qpi = fin->fin_qpi;
318 bcopy((char *)fin, (char *)&fra->fra_info, sizeof(*fin));
324 ip = fin->fin_ip;
[all …]
H A Dip_pool.c120 fr_info_t fin; local
166 fin.fin_plen = 20;
169 ip_pool_search(ipo, 4, &ip, &fin, ifs));
173 ip_pool_search(ipo, 4, &ip, &fin, ifs));
177 ip_pool_search(ipo, 4, &ip, &fin, ifs));
181 ip_pool_search(ipo, 4, &ip, &fin, ifs));
185 ip_pool_search(ipo, 4, &ip, &fin, ifs));
189 ip_pool_search(ipo, 4, &ip, &fin, ifs));
193 ip_pool_search(ipo, 4, &ip, &fin, ifs));
379 fr_info_t *fin;
[all …]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dmakedev.c123 FILE *fin; in main() local
138 skipline(fin); in main()
140 fscanf(fin, "%hd", &dev.res); in main()
142 fscanf(fin, "%hd", &dev.hor); in main()
220 FILE *fin; local
238 skipline(fin);
248 font.ligfont = getlig(fin);
253 skipline(fin);
298 fclose(fin);
314 FILE *fin; in getlig()
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c122 fseek(fin, 0L, 0); in ps_include()
129 page.start = ftell(fin); in ps_include()
134 page.end = ftell(fin); in ps_include()
139 page.end = ftell(fin); in ps_include()
163 fseek(fin, 0L, 2); in ps_include()
166 trailer.end = ftell(fin); in ps_include()
176 copy(fin, fout, &prolog); in ps_include()
179 copy(fin, fout, &page); in ps_include()
180 copy(fin, fout, &trailer); in ps_include()
200 fseek(fin, s->start, 0); in copy()
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/
H A Dmakedev.c129 FILE *fin; in main() local
143 skipline(fin); in main()
145 fscanf(fin, "%hd", &dev.res); in main()
147 fscanf(fin, "%hd", &dev.hor); in main()
170 fscanf(fin, "%s", fname[i]); in main()
226 FILE *fin; in dofont() local
248 skipline(fin); in dofont()
258 font.ligfont = getlig(fin); in dofont()
263 skipline(fin); in dofont()
316 fclose(fin); in dofont()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_pptp_pxy.c107 fr_info_t *fin; in ippr_pptp_new()
116 ip = fin->fin_ip;
171 fr_info_t *fin; in ippr_pptp_donatstate()
183 ip = fin->fin_ip;
200 ip = fin->fin_ip;
255 fr_info_t *fin; in ippr_pptp_nextmessage()
270 tcp = fin->fin_dp;
275 fin->fin_ipoff;
380 fr_info_t *fin; in ippr_pptp_message()
405 fr_info_t *fin; in ippr_pptp_mctl()
[all …]
H A Dip_ipsec_pxy.c112 fr_info_t *fin; in ippr_ipsec_new()
127 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff;
129 ip = fin->fin_ip;
130 m = fin->fin_m;
159 ipn->in_ifps[0] = fin->fin_ifp;
219 fr_info_t *fin; in ippr_ipsec_inout()
240 ip = fin->fin_ip;
301 fr_info_t *fin; in ippr_ipsec_match()
313 if ((fin->fin_dlen < sizeof(cookies)) || (fin->fin_flx & FI_FRAG))
316 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff;
[all …]
H A Dip_h323_pxy.c130 fr_info_t *fin; in ippr_h323_new()
135 fin = fin; /* LINT */
181 fr_info_t *fin; in ippr_h323_in()
191 ipf_stack_t *ifs = fin->fin_ifs;
193 ip = fin->fin_ip;
194 tcp = (tcphdr_t *)fin->fin_dp;
250 fr_info_t *fin; in ippr_h245_new()
255 fin = fin; /* LINT */
266 fr_info_t *fin; in ippr_h245_out()
280 ip = fin->fin_ip;
[all …]
H A Dip_rcmd_pxy.c77 int ippr_rcmd_new(fin, aps, nat, private) in ippr_rcmd_new() argument
78 fr_info_t *fin; in ippr_rcmd_new()
83 tcphdr_t *tcp = (tcphdr_t *)fin->fin_dp;
85 fin = fin; /* LINT */
121 fr_info_t *fin; in ippr_rcmd_portmsg()
136 tcp = (tcphdr_t *)fin->fin_dp;
147 m = fin->fin_m;
148 ip = fin->fin_ip;
152 dlen = fin->fin_plen - off;
238 fr_info_t *fin; in ippr_rcmd_out()
[all …]
H A Dip_rpcb_pxy.c171 fr_info_t *fin; in ippr_rpcb_new()
178 fin = fin; /* LINT */
233 fr_info_t *fin; in ippr_rpcb_in()
251 m = fin->fin_m;
252 off = (char *)fin->fin_dp - (char *)fin->fin_ip;
303 fr_info_t *fin; in ippr_rpcb_out()
323 m = fin->fin_m;
324 off = (char *)fin->fin_dp - (char *)fin->fin_ip;
436 fr_info_t *fin; in ippr_rpcb_decodereq()
794 fr_info_t *fin; in ippr_rpcb_modreq()
[all …]
H A Dip_raudio_pxy.c73 fr_info_t *fin; in ippr_raudio_new()
84 fin = fin; /* LINT */
97 fr_info_t *fin; in ippr_raudio_out()
119 m = fin->fin_m;
120 tcp = (tcphdr_t *)fin->fin_dp;
125 dlen = fin->fin_plen - off;
204 fr_info_t *fin; in ippr_raudio_in()
232 m = fin->fin_m;
233 tcp = (tcphdr_t *)fin->fin_dp;
238 dlen = fin->fin_plen - off;
[all …]
H A Dip_irc_pxy.c248 int ippr_irc_new(fin, aps, nat, private) in ippr_irc_new() argument
249 fr_info_t *fin; in ippr_irc_new()
260 fin = fin; /* LINT */
271 int ippr_irc_send(fin, nat, ifsirc) in ippr_irc_send() argument
272 fr_info_t *fin; in ippr_irc_send()
292 m = fin->fin_m;
293 ip = fin->fin_ip;
294 tcp = (tcphdr_t *)fin->fin_dp;
299 dlen = fin->fin_plen - off;
416 fi.fin_data[1] = fin->fin_data[1];
[all …]
H A Dip_ftp_pxy.c154 fr_info_t *fin; in ippr_ftp_new()
166 fin = fin; /* LINT */
186 fr_info_t *fin; in ippr_ftp_port()
205 m = fin->fin_m;
426 fr_info_t *fin; in ippr_ftp_client()
499 fr_info_t *fin; in ippr_ftp_pasv()
638 fr_info_t *fin; in ippr_ftp_pasvreply()
789 fr_info_t *fin; in ippr_ftp_server()
1033 fr_info_t *fin; in ippr_ftp_process()
1355 fr_info_t *fin; in ippr_ftp_out()
[all …]
H A Dip_netbios_pxy.c95 int ippr_netbios_out(fin, aps, nat, private) in ippr_netbios_out() argument
96 fr_info_t *fin; in ippr_netbios_out()
110 m = fin->fin_m;
111 dlen = fin->fin_dlen - sizeof(*udp);
118 ip = fin->fin_ip;
119 udp = (udphdr_t *)fin->fin_dp;
120 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c769 fr_info_t *fin;
773 ip_t *ip = fin->fin_ip;
793 int fr_send_reset(fin) in fr_send_reset() argument
794 fr_info_t *fin; in fr_send_reset()
803 fr_info_t *fin;
877 u_32_t fr_newisn(fin) in fr_newisn() argument
878 fr_info_t *fin; in fr_newisn()
895 MD5Update(&ctx, (u_char *) &fin->fin_dat, sizeof(fin->fin_dat));
924 fr_info_t *fin; in fr_nextipid()
939 fr_info_t *fin; in fr_checkv4sum()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y187 extern FILE *fin;
198 switch (c = getc(fin)) { in yylex()
227 if ((c = getc(fin)) == '>') in yylex()
229 ungetc(c, fin); in yylex()
241 c = getc(fin); in yylex()
245 if ((c = getc(fin)) == EOF) { in yylex()
263 if ((c = getc(fin)) == ':') in yylex()
265 ungetc(c, fin); in yylex()
276 if ((c = getc(fin)) != EOF) { in yylex()
285 c = getc(fin); in yylex()
[all …]
/illumos-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c24 static FILE *fin; variable
39 if ((fin = fopen(*++argv, "r")) == NULL) { in main()
44 check(fin); in main()
45 (void) fclose(fin); in main()

123