Home
last modified time | relevance | path

Searched refs:fr_info_t (Results 1 – 25 of 30) sorted by relevance

12

/titanic_50/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h472 extern nat_t *nat_new __P((fr_info_t *, ipnat_t *, nat_t **, u_int, int));
473 extern nat_t *nat_outlookup __P((fr_info_t *, u_int, u_int, struct in_addr,
476 extern nat_t *nat_inlookup __P((fr_info_t *, u_int, u_int, struct in_addr,
478 extern nat_t *nat_tnlookup __P((fr_info_t *, int));
482 extern nat_t *nat_icmperrorlookup __P((fr_info_t *, int));
483 extern nat_t *nat_icmperror __P((fr_info_t *, u_int *, int));
487 extern int fr_checknatout __P((fr_info_t *, u_32_t *));
488 extern int fr_natout __P((fr_info_t *, nat_t *, int, u_32_t));
489 extern int fr_checknatin __P((fr_info_t *, u_32_t *));
490 extern int fr_natin __P((fr_info_t *, nat_t *, int, u_32_t));
[all …]
H A Dip_frag.h59 extern int fr_newfrag __P((fr_info_t *, u_32_t));
60 extern frentry_t *fr_knownfrag __P((fr_info_t *, u_32_t *));
62 extern int fr_nat_newfrag __P((fr_info_t *, u_32_t, struct nat *));
63 extern nat_t *fr_nat_knownfrag __P((fr_info_t *));
65 extern int fr_ipid_newfrag __P((fr_info_t *, u_32_t));
66 extern u_32_t fr_ipid_knownfrag __P((fr_info_t *));
H A Dip_h323_pxy.c45 int ippr_h323_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
47 int ippr_h323_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
48 int ippr_h323_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
50 int ippr_h245_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
51 int ippr_h245_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
52 int ippr_h245_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
130 fr_info_t *fin; in ippr_h323_new()
181 fr_info_t *fin; in ippr_h323_in()
250 fr_info_t *fin; in ippr_h245_new()
266 fr_info_t *fin; in ippr_h245_out()
[all …]
H A Dip_rcmd_pxy.c24 int ippr_rcmd_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
25 int ippr_rcmd_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
26 int ippr_rcmd_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
28 int ippr_rcmd_portmsg __P((fr_info_t *, ap_session_t *, nat_t *, ifs_rcmdpxy_t *));
78 fr_info_t *fin; in ippr_rcmd_new()
121 fr_info_t *fin; in ippr_rcmd_portmsg()
130 fr_info_t fi;
238 fr_info_t *fin; in ippr_rcmd_out()
250 fr_info_t *fin; in ippr_rcmd_in()
H A Dip_pptp_pxy.c46 int ippr_pptp_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
48 int ippr_pptp_inout __P((fr_info_t *, ap_session_t *, nat_t *, void *));
49 void ippr_pptp_donatstate __P((fr_info_t *, nat_t *, pptp_pxy_t *, ifs_pptppxy_t *));
50 int ippr_pptp_message __P((fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *, ifs_pptppxy_t *));
51 int ippr_pptp_nextmessage __P((fr_info_t *, nat_t *, pptp_pxy_t *, int, ifs_pptppxy_t *));
52 int ippr_pptp_mctl __P((fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *, ifs_pptppxy_t *));
107 fr_info_t *fin; in ippr_pptp_new()
171 fr_info_t *fin; in ippr_pptp_donatstate()
176 fr_info_t fi;
255 fr_info_t *fin; in ippr_pptp_nextmessage()
[all …]
H A Dip_fil.h162 typedef struct fr_info fr_info_t; typedef
164 typedef int (* lookupfunc_t) __P((void *, int, void *, fr_info_t *, ipf_stack_t *));
434 typedef struct frentry *(*ipfunc_t) __P((fr_info_t *, u_32_t *));
447 #define FI_CSIZE offsetof(fr_info_t, fin_icode)
448 #define FI_LCSIZE offsetof(fr_info_t, fin_dp)
453 #define FI_COPYSIZE offsetof(fr_info_t, fin_dp)
558 typedef struct frentry * (* frentfunc_t) __P((fr_info_t *));
1390 extern int fr_make_rst __P((fr_info_t *));
1391 extern int fr_make_icmp __P((fr_info_t *));
1392 extern void fr_calc_chksum __P((fr_info_t *, mb_t *));
[all …]
H A Dip_proxy.h111 int (* apr_new) __P((fr_info_t *, ap_session_t *, struct nat *, void *));
113 int (* apr_inpkt) __P((fr_info_t *, ap_session_t *, struct nat *, void *));
114 int (* apr_outpkt) __P((fr_info_t *, ap_session_t *, struct nat *, void *));
115 int (* apr_match) __P((fr_info_t *, ap_session_t *, struct nat *, void *));
453 extern int appr_ok __P((fr_info_t *, tcphdr_t *, struct ipnat *));
454 extern int appr_match __P((fr_info_t *, struct nat *));
457 extern int appr_check __P((fr_info_t *, struct nat *));
459 extern int appr_new __P((fr_info_t *, struct nat *));
H A Dip_rpcb_pxy.c61 int ippr_rpcb_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
63 int ippr_rpcb_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
64 int ippr_rpcb_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
67 static int ippr_rpcb_decodereq __P((fr_info_t *, nat_t *,
76 static int ippr_rpcb_modreq __P((fr_info_t *, nat_t *, rpc_msg_t *,
78 static int ippr_rpcb_decoderep __P((fr_info_t *, nat_t *,
85 static int ippr_rpcb_getnat __P((fr_info_t *, nat_t *, u_int, u_int, ifs_rpcbpxy_t *));
86 static int ippr_rpcb_modv3 __P((fr_info_t *, nat_t *, rpc_msg_t *,
88 static int ippr_rpcb_modv4 __P((fr_info_t *, nat_t *, rpc_msg_t *,
90 static void ippr_rpcb_fixlen __P((fr_info_t *, int));
[all …]
H A Dip_auth.h24 fr_info_t fra_info;
52 extern frentry_t *fr_checkauth __P((fr_info_t *, u_32_t *));
57 extern int fr_newauth __P((mb_t *, fr_info_t *));
H A Dip_ipsec_pxy.c28 int ippr_ipsec_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
30 int ippr_ipsec_inout __P((fr_info_t *, ap_session_t *, nat_t *, void *));
31 int ippr_ipsec_match __P((fr_info_t *, ap_session_t *, nat_t *, void *));
112 fr_info_t *fin; in ippr_ipsec_new()
118 fr_info_t fi;
219 fr_info_t *fin; in ippr_ipsec_inout()
225 fr_info_t fi;
301 fr_info_t *fin; in ippr_ipsec_match()
H A Dip_irc_pxy.c24 int ippr_irc_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
25 int ippr_irc_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
26 int ippr_irc_send __P((fr_info_t *, nat_t *, ifs_ircpxy_t *));
249 fr_info_t *fin; in ippr_irc_new()
272 fr_info_t *fin; in ippr_irc_send()
283 fr_info_t fi;
448 fr_info_t *fin; in ippr_irc_out()
H A Dip_raudio_pxy.c21 int ippr_raudio_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
22 int ippr_raudio_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
23 int ippr_raudio_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
73 fr_info_t *fin; in ippr_raudio_new()
97 fr_info_t *fin; in ippr_raudio_out()
204 fr_info_t *fin; in ippr_raudio_in()
216 fr_info_t fi;
H A Dip_ftp_pxy.c67 int ippr_ftp_client __P((fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int,
70 int ippr_ftp_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
73 int ippr_ftp_new __P((fr_info_t *, ap_session_t *, nat_t *, void *));
74 int ippr_ftp_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
75 int ippr_ftp_pasv __P((fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int,
77 int ippr_ftp_epsv __P((fr_info_t *, ip_t *, nat_t *, ftpside_t *, int,
79 int ippr_ftp_port __P((fr_info_t *, ip_t *, nat_t *, ftpside_t *, int,
81 int ippr_ftp_process __P((fr_info_t *, nat_t *, ftpinfo_t *, int,
83 int ippr_ftp_server __P((fr_info_t *, ip_t *, nat_t *, ftpinfo_t *, int,
89 int ippr_ftp_pasvreply __P((fr_info_t *, ip_t *, nat_t *, ftpside_t *,
[all …]
H A Dip_netbios_pxy.c49 int ippr_netbios_out __P((fr_info_t *, ap_session_t *, nat_t *, void *));
96 fr_info_t *fin; in ippr_netbios_out()
H A Dip_state.h230 extern ipstate_t *fr_addstate __P((fr_info_t *, ipstate_t **, u_int));
232 extern ipstate_t *fr_stlookup __P((fr_info_t *, tcphdr_t *, ipftq_t **));
245 extern void fr_updatestate __P((fr_info_t *, ipstate_t *, ipftq_t *));
H A Dipf_stack.h52 fr_info_t ifs_frcache[2][8];
196 fr_info_t ifs_iplcrc[IPL_LOGSIZE];
H A Dip_pool.h70 extern int ip_pool_search __P((void *, int, void *, fr_info_t *, ipf_stack_t *));
/titanic_50/usr/src/uts/common/inet/ipf/
H A Dip_frag.c110 static INLINE int ipfr_index __P((fr_info_t *, ipfr_t *));
111 static ipfr_t *ipfr_newfrag __P((fr_info_t *, u_32_t, ipfr_t **));
112 static ipfr_t *fr_fraglookup __P((fr_info_t *, ipfr_t **));
230 fr_info_t *fin; in ipfr_index()
300 fr_info_t *fin; in ipfr_newfrag()
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()
[all …]
H A Dfil.c197 static INLINE int fr_ipfcheck __P((fr_info_t *, frentry_t *, int));
198 static INLINE int fr_ipfcheck __P((fr_info_t *, frentry_t *, int));
203 static frentry_t *fr_firewall __P((fr_info_t *, u_32_t *));
205 static INLINE void frpr_ah __P((fr_info_t *));
206 static INLINE void frpr_esp __P((fr_info_t *));
207 static INLINE void frpr_gre __P((fr_info_t *));
208 static INLINE void frpr_udp __P((fr_info_t *));
209 static INLINE void frpr_tcp __P((fr_info_t *));
210 static INLINE void frpr_icmp __P((fr_info_t *));
211 static INLINE void frpr_ipv4hdr __P((fr_info_t *));
[all …]
H A Dip_nat6.c119 static INLINE int nat6_newmap __P((fr_info_t *, nat_t *, natinfo_t *));
120 static INLINE int nat6_newrdr __P((fr_info_t *, nat_t *, natinfo_t *));
121 static INLINE int nat6_finalise __P((fr_info_t *, nat_t *, natinfo_t *,
124 static int nat6_match __P((fr_info_t *, ipnat_t *));
281 fr_info_t *fin; in nat6_newmap()
547 fr_info_t *fin; in nat6_newrdr()
737 fr_info_t *fin; in nat6_new()
908 fr_info_t *fin; in nat6_finalise()
1078 fr_info_t *fin; in nat6_icmperrorlookup()
1210 fr_info_t *fin; in nat6_icmperror()
[all …]
H A Dip_state.c120 static ipstate_t *fr_checkicmp6matchingstate __P((fr_info_t *));
122 static ipstate_t *fr_matchsrcdst __P((fr_info_t *, ipstate_t *, i6addr_t *,
124 static ipstate_t *fr_checkicmpmatchingstate __P((fr_info_t *));
129 static int fr_tcpstate __P((fr_info_t *, tcphdr_t *, ipstate_t *));
130 static int fr_tcpoptions __P((fr_info_t *, tcphdr_t *, tcpdata_t *));
131 static ipstate_t *fr_stclone __P((fr_info_t *, tcphdr_t *, ipstate_t *));
132 static void fr_fixinisn __P((fr_info_t *, ipstate_t *));
133 static void fr_fixoutisn __P((fr_info_t *, ipstate_t *));
134 static void fr_checknewisn __P((fr_info_t *, ipstate_t *));
1114 fr_info_t *fin; in fr_addstate()
[all …]
H A Dip_fil_solaris.c69 static int fr_send_ip __P((fr_info_t *fin, mblk_t *m, mblk_t **mp));
1101 fr_info_t *fin; in fr_send_reset()
1196 fr_info_t *fin; in fr_send_ip()
1200 fr_info_t fnew;
1273 fr_info_t *fin;
1514 fr_info_t *fin; in fr_newisn()
1561 fr_info_t *fin; in fr_nextipid()
1583 fr_info_t *fin; in fr_checkv4sum()
1597 fr_info_t *fin; in fr_checkv6sum()
1656 fr_info_t *fin;
[all …]
H A Dip_proxy.c116 static int appr_fixseqack __P((fr_info_t *, ip_t *, ap_session_t *, int ));
285 fr_info_t *fin; in appr_ok()
358 fr_info_t *fin; in appr_match()
404 fr_info_t *fin; in appr_new()
471 fr_info_t *fin; in appr_check()
725 fr_info_t *fin; in appr_fixseqack()
H A Dip_nat.c148 static int nat_match __P((fr_info_t *, ipnat_t *));
149 static INLINE int nat_newmap __P((fr_info_t *, nat_t *, natinfo_t *));
150 static INLINE int nat_newrdr __P((fr_info_t *, nat_t *, natinfo_t *));
159 static INLINE int nat_finalise __P((fr_info_t *, nat_t *, natinfo_t *,
1572 fr_info_t fin;
2091 fr_info_t *fin; in nat_newmap()
2339 fr_info_t *fin; in nat_newrdr()
2520 fr_info_t *fin; in nat_new()
2695 fr_info_t *fin; in nat_finalise()
2860 fr_info_t *fin; in nat_icmperrorlookup()
[all …]
/titanic_50/usr/src/cmd/ipf/tools/
H A Dip_fil.c769 fr_info_t *fin;
794 fr_info_t *fin; in fr_send_reset()
803 fr_info_t *fin;
878 fr_info_t *fin; in fr_newisn()
924 fr_info_t *fin; in fr_nextipid()
939 fr_info_t *fin; in fr_checkv4sum()
948 fr_info_t *fin; in fr_checkv6sum()

12