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

123

/illumos-gate/usr/src/lib/libcurses/screen/
H A D_newterm.c49 newterm(char *type, FILE *fout, FILE *fin) argument
51 return (newscreen(type, 0, 0, 0, fout, fin));
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c61 * fin, fout - input and output files
62 * page_no physical page number from *fin
72 ps_include(FILE *fin, FILE *fout, int page_no, int whiteout, argument
99 * Reads a PostScript file (*fin), and uses structuring comments to
122 fseek(fin, 0L, 0);
124 while (fgets(buf, sizeof (buf), fin) != NULL)
129 page.start = ftell(fin);
134 page.end = ftell(fin);
139 page.end = ftell(fin);
142 page.start = ftell(fin);
196 copy(FILE *fin, FILE *fout, Section *s) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c270 /* Parameters: fin(I) - pointer to packet information */
280 static INLINE int nat6_newmap(fin, nat, ni)
281 fr_info_t *fin;
292 ipf_stack_t *ifs = fin->fin_ifs;
320 hm = nat6_hostmap(np, &fin->fin_src6, &fin->fin_dst6,
341 temp.i6[0] = fin->fin_src6.i6[0] &
343 temp.i6[1] = fin->fin_src6.i6[1] &
345 temp.i6[2] = fin->fin_src6.i6[2] &
347 temp.i6[3] = fin
1939 fr_info_t fin; local
[all...]
H A Dfil.c351 /* Parameters: fin(I) - pointer to packet information */
358 static INLINE void frpr_short6(fin, xmin)
359 fr_info_t *fin;
363 if (fin->fin_dlen < xmin)
364 fin->fin_flx |= FI_SHORT;
371 /* Parameters: fin(I) - pointer to packet information */
377 static INLINE void frpr_ipv6hdr(fin)
378 fr_info_t *fin;
380 ip6_t *ip6 = (ip6_t *)fin->fin_ip;
382 fr_ip_t *fi = &fin
2331 fr_info_t *fin = &frinfo; local
[all...]
H A Dip_fil_solaris.c71 static int fr_send_ip __P((fr_info_t *fin, mblk_t *m, mblk_t **mp));
1314 int fr_send_reset(fin)
1315 fr_info_t *fin;
1325 tcp = fin->fin_dp;
1330 if (fr_checkl4sum(fin) == -1)
1336 if (fin->fin_v == 6)
1364 ip->ip_v = fin->fin_v;
1366 if (fin->fin_v == 6) {
1368 ip6->ip6_flow = ((ip6_t *)fin->fin_ip)->ip6_flow;
1369 ip6->ip6_src = fin
[all...]
H A Dip_nat.c1572 fr_info_t fin; local
1672 bzero((char *)&fin, sizeof(fin));
1673 fin.fin_p = nat->nat_p;
1674 fin.fin_ifs = ifs;
1676 fin.fin_data[0] = ntohs(nat->nat_oport);
1677 fin.fin_data[1] = ntohs(nat->nat_outport);
1678 fin.fin_ifp = nat->nat_ifps[0];
1686 fin.fin_v = nat->nat_v;
1687 n = nat_inlookup(&fin, na
3728 fr_info_t fin; local
[all...]
H A Dip_state.c1103 /* Parameters: fin(I) - pointer to packet information */
1113 ipstate_t *fr_addstate(fin, stsave, flags)
1114 fr_info_t *fin;
1126 ipf_stack_t *ifs = fin->fin_ifs;
1129 (fin->fin_flx & (FI_SHORT|FI_STATE|FI_FRAGBODY|FI_BAD)))
1132 if ((fin->fin_flx & FI_OOW) && !(fin->fin_tcpf & TH_SYN))
1158 fr = fin->fin_fr;
1175 out = fin->fin_out;
1193 is->is_v = fin
[all...]
H A Dip_proxy.c284 int appr_ok(fin, tcp, nat)
285 fr_info_t *fin;
293 (fin->fin_p != apr->apr_p))
357 int appr_match(fin, nat)
358 fr_info_t *fin;
368 (u_long)fin, (u_long)nat, (u_long)nat->nat_aps,
371 if ((fin->fin_flx & (FI_SHORT|FI_BAD)) != 0) {
374 fin->fin_flx);
387 result = (*apr->apr_match)(fin, nat->nat_aps, nat, apr->apr_private);
403 int appr_new(fin, na
[all...]
H A Dip_log.c229 /* Parameters: fin(I) - pointer to packet information */
238 int ipflog(fin, flags)
239 fr_info_t *fin;
259 ipf_stack_t *ifs = fin->fin_ifs;
262 m = fin->fin_m;
263 ifp = fin->fin_ifp;
264 hlen = fin->fin_hlen;
268 if (fin->fin_off == 0) {
269 p = fin->fin_fi.fi_p;
271 hlen += MIN(sizeof(tcphdr_t), fin
[all...]
H A Dip_frag.c223 /* Parameters: fin(I) - pointer to packet information */
229 static INLINE int ipfr_index(fin, frag)
230 fr_info_t *fin;
243 if (fin->fin_v == 6) {
244 ip6_t *ip6 = (ip6_t *)fin->fin_ip;
246 frag->ipfr_p = fin->fin_fi.fi_p;
247 frag->ipfr_id = fin->fin_id;
254 ip_t *ip = fin->fin_ip;
268 frag->ipfr_ifp = fin->fin_ifp;
269 frag->ipfr_optmsk = fin
[all...]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dmakedev.c123 FILE *fin; local
132 if ((fin = fopen("DESC", "r")) == NULL) {
136 while (fscanf(fin, "%s", cmd) != EOF) {
138 skipline(fin);
140 fscanf(fin, "%hd", &dev.res);
142 fscanf(fin, "%hd", &dev.hor);
144 fscanf(fin, "%hd", &dev.vert);
146 fscanf(fin, "%hd", &dev.unitwidth);
148 fscanf(fin, "%hd", &dev.sizescale);
150 fscanf(fin, "
220 FILE *fin; local
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/
H A Dmakedev.c129 FILE *fin; local
137 if ((fin = fopen("DESC", "r")) == NULL) {
141 while (fscanf(fin, "%s", cmd) != EOF) {
143 skipline(fin);
145 fscanf(fin, "%hd", &dev.res);
147 fscanf(fin, "%hd", &dev.hor);
149 fscanf(fin, "%hd", &dev.vert);
151 fscanf(fin, "%hd", &dev.unitwidth);
153 fscanf(fin, "%hd", &dev.sizescale);
155 fscanf(fin, "
226 FILE *fin; local
331 getlig(FILE *fin) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_netbios_pxy.c95 int ippr_netbios_out(fin, aps, nat, private)
96 fr_info_t *fin;
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;
H A Dip_rcmd_pxy.c77 int ippr_rcmd_new(fin, aps, nat, private)
78 fr_info_t *fin;
83 tcphdr_t *tcp = (tcphdr_t *)fin->fin_dp;
85 fin = fin; /* LINT */
120 int ippr_rcmd_portmsg(fin, aps, nat, ifsrcmd)
121 fr_info_t *fin;
136 tcp = (tcphdr_t *)fin->fin_dp;
147 m = fin->fin_m;
148 ip = fin
[all...]
H A Dip_h323_pxy.c129 int ippr_h323_new(fin, aps, nat, private)
130 fr_info_t *fin;
135 fin = fin; /* LINT */
180 int ippr_h323_in(fin, aps, nat, private)
181 fr_info_t *fin;
191 ipf_stack_t *ifs = fin->fin_ifs;
193 ip = fin->fin_ip;
194 tcp = (tcphdr_t *)fin->fin_dp;
198 datlen = fin
[all...]
H A Dip_pptp_pxy.c106 int ippr_pptp_new(fin, aps, nat, private)
107 fr_info_t *fin;
116 ip = fin->fin_ip;
118 if (nat_outlookup(fin, 0, IPPROTO_GRE, nat->nat_inip,
141 ipn->in_ifps[0] = fin->fin_ifp;
148 ipn->in_outip = fin->fin_saddr;
158 ipn->in_srcip = fin->fin_saddr;
170 void ippr_pptp_donatstate(fin, nat, pptp, ifspptp)
171 fr_info_t *fin;
181 ipf_stack_t *ifs = fin
[all...]
H A Dip_raudio_pxy.c72 int ippr_raudio_new(fin, aps, nat, private)
73 fr_info_t *fin;
84 fin = fin; /* LINT */
96 int ippr_raudio_out(fin, aps, nat, private)
97 fr_info_t *fin;
119 m = fin->fin_m;
120 tcp = (tcphdr_t *)fin->fin_dp;
121 off = (char *)tcp - (char *)fin->fin_ip;
122 off += (TCP_OFF(tcp) << 2) + fin
[all...]
H A Dip_ipsec_pxy.c111 int ippr_ipsec_new(fin, aps, nat, private)
112 fr_info_t *fin;
124 ipf_stack_t *ifs = fin->fin_ifs;
127 off = fin->fin_plen - fin->fin_dlen + fin->fin_ipoff;
129 ip = fin->fin_ip;
130 m = fin->fin_m;
138 if (nat_outlookup(fin, 0, IPPROTO_ESP, nat->nat_inip,
159 ipn->in_ifps[0] = fin
[all...]
H A Dip_rpcb_pxy.c162 /* Parameters: fin(I) - pointer to packet information */
170 ippr_rpcb_new(fin, aps, nat, private)
171 fr_info_t *fin;
178 fin = fin; /* LINT */
223 /* Parameters: fin(I) - pointer to packet information */
232 ippr_rpcb_in(fin, aps, nat, private)
233 fr_info_t *fin;
245 if ((fin->fin_flx & (FI_FRAG|FI_SHORT)) != 0)
251 m = fin
[all...]
H A Dip_irc_pxy.c248 int ippr_irc_new(fin, aps, nat, private)
249 fr_info_t *fin;
260 fin = fin; /* LINT */
271 int ippr_irc_send(fin, nat, ifsirc)
272 fr_info_t *fin;
292 m = fin->fin_m;
293 ip = fin->fin_ip;
294 tcp = (tcphdr_t *)fin->fin_dp;
296 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin
[all...]
H A Dip_ftp_pxy.c153 int ippr_ftp_new(fin, aps, nat, private)
154 fr_info_t *fin;
166 fin = fin; /* LINT */
185 int ippr_ftp_port(fin, ip, nat, f, dlen, ifsftp)
186 fr_info_t *fin;
203 ipf_stack_t *ifs = fin->fin_ifs;
205 m = fin->fin_m;
206 tcp = (tcphdr_t *)fin->fin_dp;
207 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dbuiltin_inf.c11 static int fin = __builtin_isfinite(0.0); variable
/illumos-gate/usr/src/tools/scripts/
H A Dcopyrightchk.py46 errors='replace') as fin:
47 ret |= copyright(fin, output=sys.stdout)
/illumos-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c24 static FILE *fin; variable
39 if ((fin = fopen(*++argv, "r")) == NULL) {
44 check(fin);
45 (void) fclose(fin);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y187 extern FILE *fin;
198 switch (c = getc(fin)) {
203 while ((c = getc(fin)) != EOF && c != '\n')
227 if ((c = getc(fin)) == '>')
229 ungetc(c, fin);
241 c = getc(fin);
245 if ((c = getc(fin)) == EOF) {
263 if ((c = getc(fin)) == ':')
265 ungetc(c, fin);
276 if ((c = getc(fin)) !
[all...]

Completed in 149 milliseconds

123