Home
last modified time | relevance | path

Searched refs:__P (Results 1 – 25 of 322) sorted by last modified time

12345678910>>...13

/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c43 static char * inet_net_ntop_ipv4 __P((const u_char *src, int bits,
45 static char * inet_net_ntop_ipv6 __P((const u_char *src, int bits,
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dvar.c18 static variable_t *find_var __P((char *));
19 static char *expand_string __P((char *, int));
H A Dipft_pc.c72 static int pcap_open __P((char *));
73 static int pcap_close __P((void));
74 static int pcap_readip __P((char *, int, char **, int *));
75 static void swap_hdr __P((pcaphdr_t *));
76 static int pcap_read_rec __P((struct pcap_pkthdr *));
H A Dipft_sn.c43 static int snoop_open __P((char *));
44 static int snoop_close __P((void));
45 static int snoop_readip __P((char *, int, char **, int *));
48 static int snoop_read_rec __P((struct snooppkt *));
H A Dipft_td.c46 static int tcpd_open __P((char *));
47 static int tcpd_close __P((void));
48 static int tcpd_readip __P((char *, int, char **, int *));
49 static int count_dots __P((char *));
H A Dipft_tx.c30 static int text_open __P((char *)), text_close __P((void));
31 static int text_readip __P((char *, int, char **, int *));
32 static int parseline __P((char *, ip_t *, char **, int *));
42 static u_32_t tx_hostnum __P((char *, int *));
43 static u_short tx_portnum __P((char *));
H A Dkmem.c72 kvm_t kvm_open __P((char *, char *, char *, int, char *));
73 int kvm_read __P((kvm_t, u_long, char *, size_t));
H A Dinet_addr.c66 #ifndef __P
68 # define __P(x) x macro
70 # define __P(x) () macro
74 int inet_aton __P((const char *, struct in_addr *));
H A Dinitparse.c14 void initparse __P((void)) in initparse()
H A Dipft_ef.c37 static int etherf_open __P((char *));
38 static int etherf_close __P((void));
39 static int etherf_readip __P((char *, int, char **, int *));
H A Dipft_hx.c19 static int hex_open __P((char *));
20 static int hex_close __P((void));
21 static int hex_readip __P((char *, int, char **, int *));
22 static char *readhex __P((char *, char *));
H A Dfacpri.h12 #ifndef __P
15 # define __P(x) x macro
17 # define __P(x) () macro
21 extern char *fac_toname __P((int));
22 extern int fac_findname __P((char *));
24 extern char *pri_toname __P((int));
25 extern int pri_findname __P((char *));
28 # undef __P
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rpcb_pxy.c59 int ippr_rpcb_init __P((void **, ipf_stack_t *));
60 void ippr_rpcb_fini __P((void **, ipf_stack_t *));
62 void ippr_rpcb_del __P((ap_session_t *, void *, ipf_stack_t *));
66 static void ippr_rpcb_flush __P((rpcb_session_t *));
67 static int ippr_rpcb_decodereq __P((fr_info_t *, nat_t *,
70 static int ippr_rpcb_insert __P((rpcb_session_t *, rpcb_xact_t *,
73 static int ippr_rpcb_getuaddr __P((rpc_msg_t *, xdr_uaddr_t *,
75 static u_int ippr_rpcb_atoi __P((char *));
78 static int ippr_rpcb_decoderep __P((fr_info_t *, nat_t *,
83 static int ippr_rpcb_getproto __P((rpc_msg_t *, xdr_proto_t *,
[all …]
H A Dip_fil.h29 #ifndef __P
31 # define __P(x) x macro
33 # define __P(x) () macro
1362 extern int ipf_log __P((void));
1371 extern int iplopen __P((dev_t, int));
1373 extern void m_freem __P((mb_t *));
1379 extern int ipl_enable __P((void));
1380 extern int ipl_disable __P((void));
1428 extern int iplidentify __P((char *));
1462 extern int iplopen __P((dev_t, int));
[all …]
H A Dip_ftp_pxy.c69 int ippr_ftp_complete __P((char *, size_t));
70 int ippr_ftp_in __P((fr_info_t *, ap_session_t *, nat_t *, void *));
71 int ippr_ftp_init __P((void **, ipf_stack_t *));
72 void ippr_ftp_fini __P((void **, ipf_stack_t *));
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,
[all …]
H A Dip_proxy.h109 int (* apr_init) __P((void **, ipf_stack_t *));
110 void (* apr_fini) __P((void **, ipf_stack_t *));
448 extern int appr_add __P((aproxy_t *, ipf_stack_t *));
449 extern int appr_ctl __P((ap_ctl_t *, ipf_stack_t *));
450 extern int appr_del __P((aproxy_t *, ipf_stack_t *));
451 extern int appr_init __P((ipf_stack_t *));
452 extern void appr_unload __P((ipf_stack_t *));
454 extern int appr_match __P((fr_info_t *, struct nat *));
455 extern void appr_free __P((aproxy_t *));
457 extern int appr_check __P((fr_info_t *, struct nat *));
[all …]
H A Dip_compat.h16 #ifndef __P
18 # define __P(x) x macro
20 # define __P(x) () macro
944 extern int in_cksum __P((struct mbuf *, int));
1164 extern void m_adj __P((mb_t *, int));
1165 extern mb_t *m_pullup __P((mb_t *, int));
1308 extern void* getifp __P((char *, int));
1521 extern void eMmutex_destroy __P((eMmutex_t *));
1523 extern void eMmutex_exit __P((eMmutex_t *));
1525 extern void eMrwlock_destroy __P((eMrwlock_t *));
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dipmon.h91 extern int load_config __P((char *));
92 extern void dumphex __P((FILE *, int, char *, int));
93 extern int check_action __P((char *, char *, int, int));
94 extern char *getword __P((int));
H A Dip_state.c120 static ipstate_t *fr_checkicmp6matchingstate __P((fr_info_t *));
124 static ipstate_t *fr_checkicmpmatchingstate __P((fr_info_t *));
125 static int fr_state_flush __P((int, int, ipf_stack_t *));
126 static ips_stat_t *fr_statetstats __P((ipf_stack_t *));
127 static int fr_state_remove __P((caddr_t, ipf_stack_t *));
128 static void fr_ipsmove __P((ipstate_t *, u_int, ipf_stack_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 *));
137 int fr_stputent __P((caddr_t, ipf_stack_t *));
[all …]
H A Dipf.h91 #ifndef __P
93 # define __P(x) x macro
95 # define __P(x) () macro
196 extern void initparse __P((void));
198 extern int checkrev __P((char *));
208 extern int getproto __P((char *));
218 extern int icmpcode __P((char *));
219 extern void initparse __P((void));
290 extern void printC __P((int));
292 extern u_char secbit __P((int));
[all …]
H A Dip_pool.c78 static int rn_freenode __P((struct radix_node *, void *));
109 void treeprint __P((ip_pool_t *));
H A Dip_nat.c141 static int nat_clearlist __P((ipf_stack_t *));
142 static void nat_addnat __P((struct ipnat *, ipf_stack_t *));
144 static int fr_natgetent __P((caddr_t, ipf_stack_t *));
145 static int fr_natgetsz __P((caddr_t, ipf_stack_t *));
146 static int fr_natputent __P((caddr_t, int, ipf_stack_t *));
147 static void nat_tabmove __P((nat_t *, ipf_stack_t *));
148 static int nat_match __P((fr_info_t *, ipnat_t *));
154 static INLINE int nat_icmpquerytype4 __P((int));
155 static int nat_ruleaddrinit __P((ipnat_t *));
158 static INLINE int nat_icmperrortype4 __P((int));
[all …]
H A Dip_nat6.c117 static hostmap_t *nat6_hostmap __P((ipnat_t *, i6addr_t *, i6addr_t *,
119 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 *,
123 static void nat6_tabmove __P((nat_t *, ipf_stack_t *));
124 static int nat6_match __P((fr_info_t *, ipnat_t *));
125 static INLINE int nat_icmpquerytype6 __P((int));
H A Dip_lookup.c73 static int iplookup_addnode __P((caddr_t, ipf_stack_t *));
74 static int iplookup_delnode __P((caddr_t data, ipf_stack_t *));
75 static int iplookup_addtable __P((caddr_t, ipf_stack_t *));
76 static int iplookup_deltable __P((caddr_t, ipf_stack_t *));
77 static int iplookup_stats __P((caddr_t, ipf_stack_t *));
78 static int iplookup_flush __P((caddr_t, ipf_stack_t *));
H A Dip_fil_solaris.c68 static int frzerostats __P((caddr_t, ipf_stack_t *));
69 static int fr_setipfloopback __P((int, ipf_stack_t *));
70 static int fr_enableipf __P((ipf_stack_t *, int));
74 static int ipf_hook __P((hook_data_t, int, int, void *));
77 static int ipf_hook4_loop_out __P((hook_event_token_t, hook_data_t,
80 static int ipf_hook4 __P((hook_data_t, int, int, void *));
83 static int ipf_hook6_loop_out __P((hook_event_token_t, hook_data_t,
85 static int ipf_hook6_loop_in __P((hook_event_token_t, hook_data_t,
87 static int ipf_hook6 __P((hook_data_t, int, int, void *));
90 static int ipf_hookviona_out __P((hook_event_token_t, hook_data_t,
[all …]

12345678910>>...13