| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_lookup.h | 90 void *(*ipfl_create) __P((ipf_main_softc_t *)); 92 int (*ipfl_init) __P((ipf_main_softc_t *, void *)); 93 void (*ipfl_fini) __P((ipf_main_softc_t *, void *)); 94 int (*ipfl_addr_find) __P((ipf_main_softc_t *, void *, 96 size_t (*ipfl_flush) __P((ipf_main_softc_t *, void *, 102 int (*ipfl_node_add) __P((ipf_main_softc_t *, void *, 104 int (*ipfl_node_del) __P((ipf_main_softc_t *, void *, 113 void *(*ipfl_table_find) __P((void *, int, char *)); 118 void (*ipfl_sync) __P((ipf_main_softc_t *, void *)); 121 extern int ipf_lookup_init __P((void)); [all …]
|
| H A D | ip_frag.h | 101 extern int ipf_frag_main_load __P((void)); 102 extern int ipf_frag_main_unload __P((void)); 103 extern int ipf_frag_load __P((void)); 104 extern void ipf_frag_clear __P((ipf_main_softc_t *)); 106 extern void ipf_frag_forget __P((void *)); 107 extern int ipf_frag_init __P((void)); 108 extern u_32_t ipf_frag_ipidknown __P((fr_info_t *)); 113 extern nat_t *ipf_frag_natknown __P((fr_info_t *)); 115 extern ipfrstat_t *ipf_frag_stats __P((void *)); 116 extern void ipf_frag_setlock __P((void *, int)); [all …]
|
| H A D | ip_auth.h | 71 extern frentry_t *ipf_auth_check __P((fr_info_t *, u_32_t *)); 72 extern void ipf_auth_expire __P((ipf_main_softc_t *)); 75 extern int ipf_auth_init __P((void)); 76 extern int ipf_auth_main_load __P((void)); 77 extern int ipf_auth_main_unload __P((void)); 79 extern void *ipf_auth_soft_create __P((ipf_main_softc_t *)); 80 extern int ipf_auth_new __P((mb_t *, fr_info_t *)); 81 extern int ipf_auth_precmd __P((ipf_main_softc_t *, ioctlcmd_t, 83 extern void ipf_auth_unload __P((ipf_main_softc_t *)); 84 extern int ipf_auth_waiting __P((ipf_main_softc_t *)); [all …]
|
| H A D | ip_sync.h | 103 extern void *ipf_sync_create __P((ipf_main_softc_t *)); 104 extern int ipf_sync_soft_init __P((ipf_main_softc_t *, void *)); 105 extern int ipf_sync_soft_fini __P((ipf_main_softc_t *, void *)); 106 extern int ipf_sync_canread __P((void *)); 107 extern int ipf_sync_canwrite __P((void *)); 108 extern void ipf_sync_del_nat __P((void *, synclist_t *)); 109 extern void ipf_sync_del_state __P((void *, synclist_t *)); 110 extern int ipf_sync_init __P((void)); 115 extern int ipf_sync_main_unload __P((void)); 117 extern void ipf_sync_expire __P((ipf_main_softc_t *)); [all …]
|
| H A D | ip_fil.h | 33 #ifndef __P 34 # define __P(x) x macro 1619 extern void m_freem __P((mb_t *)); 1620 extern size_t msgdsize __P((mb_t *)); 1625 extern void ipfilterattach __P((int)); 1627 extern int ipl_enable __P((void)); 1628 extern int ipl_disable __P((void)); 1654 extern int ipf_pfil_hook __P((void)); 1669 extern int count4bits __P((u_32_t)); 1755 extern int ipf_log_init __P((void)); [all …]
|
| H A D | ip_proxy.h | 106 void (* apr_load) __P((void)); 107 void (* apr_unload) __P((void)); 108 void *(* apr_create) __P((ipf_main_softc_t *)); 121 int (* apr_clear) __P((struct aproxy *)); 122 int (* apr_flush) __P((struct aproxy *, int)); 444 extern int ipf_proxy_del __P((aproxy_t *)); 445 extern void ipf_proxy_deref __P((aproxy_t *)); 446 extern void ipf_proxy_flush __P((void *, int)); 447 extern int ipf_proxy_init __P((void)); 454 extern int ipf_proxy_main_load __P((void)); [all …]
|
| H A D | ip_nat.h | 673 extern void ipf_fix_datacksum __P((u_short *, u_32_t)); 681 extern void ipf_nat_expire __P((ipf_main_softc_t *)); 682 extern int ipf_nat_hashtab_add __P((ipf_main_softc_t *, 689 extern int ipf_nat_init __P((void)); 699 extern nat_t *ipf_nat_lookupredir __P((natlookup_t *)); 712 extern nat_t *ipf_nat_tnlookup __P((fr_info_t *, int)); 726 extern void ipf_nat_setlock __P((void *, int)); 727 extern void ipf_nat_load __P((void)); 732 extern int ipf_nat_main_load __P((void)); 733 extern int ipf_nat_main_unload __P((void)); [all …]
|
| H A D | ip_state.h | 296 extern void ipf_state_dump __P((ipf_main_softc_t *, void *)); 303 extern int ipf_state_add __P((ipf_main_softc_t *, fr_info_t *, 307 extern void ipf_state_expire __P((ipf_main_softc_t *)); 310 extern int ipf_state_init __P((void)); 319 extern void ipf_state_sync __P((ipf_main_softc_t *, void *)); 320 extern void ipf_state_update __P((fr_info_t *, ipstate_t *)); 323 extern void ipf_sttab_destroy __P((struct ipftq *)); 324 extern void ipf_state_setlock __P((void *, int)); 325 extern int ipf_state_main_load __P((void)); 326 extern int ipf_state_main_unload __P((void)); [all …]
|
| H A D | ip_rules.h | 3 extern int ipfrule_add __P((void)); 4 extern int ipfrule_remove __P((void)); 6 extern frentry_t *ipfrule_match_out_ __P((fr_info_t *, u_32_t *)); 9 extern int ipfrule_add_out_ __P((void)); 10 extern int ipfrule_remove_out_ __P((void)); 12 extern frentry_t *ipfrule_match_in_ __P((fr_info_t *, u_32_t *)); 15 extern int ipfrule_add_in_ __P((void)); 16 extern int ipfrule_remove_in_ __P((void));
|
| H A D | ip_scan.h | 91 extern int ipf_scan_ioctl __P((ipf_main_softc_t *, caddr_t, ioctlcmd_t, int, int, void *)); 92 extern int ipf_scan_init __P((void)); 93 extern int ipf_scan_attachis __P((struct ipstate *)); 94 extern int ipf_scan_attachfr __P((struct frentry *)); 95 extern int ipf_scan_detachis __P((struct ipstate *)); 96 extern int ipf_scan_detachfr __P((struct frentry *)); 97 extern int ipf_scan_packet __P((struct fr_info *, struct ipstate *)); 98 extern void ipf_scan_unload __P((ipf_main_softc_t *));
|
| H A D | radix_ipf.h | 82 extern void *ipf_rx_create __P((void)); 83 extern int ipf_rx_init __P((void *)); 84 extern void ipf_rx_destroy __P((void *)); 85 extern int ipf_rx_inithead __P((radix_softc_t *, ipf_rdx_head_t **)); 86 extern void ipf_rx_freehead __P((ipf_rdx_head_t *)); 87 extern ipf_rdx_node_t *ipf_rx_addroute __P((ipf_rdx_head_t *, 90 extern ipf_rdx_node_t *ipf_rx_delete __P((ipf_rdx_head_t *, addrfamily_t *, 92 extern void ipf_rx_walktree __P((ipf_rdx_head_t *, radix_walk_func_t,
|
| H A D | ip_rcmd_pxy.c | 23 void ipf_p_rcmd_main_load __P((void)); 24 void ipf_p_rcmd_main_unload __P((void)); 26 int ipf_p_rcmd_init __P((void)); 27 void ipf_p_rcmd_fini __P((void)); 28 void ipf_p_rcmd_del __P((ipf_main_softc_t *, ap_session_t *)); 29 int ipf_p_rcmd_new __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 30 int ipf_p_rcmd_out __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 31 int ipf_p_rcmd_in __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 32 u_short ipf_rcmd_atoi __P((char *)); 33 int ipf_p_rcmd_portmsg __P((fr_info_t *, ap_session_t *, nat_t *));
|
| H A D | ip_dstlist.c | 76 static void *ipf_dstlist_soft_create __P((ipf_main_softc_t *)); 82 static size_t ipf_dstlist_flush __P((ipf_main_softc_t *, void *, 88 static int ipf_dstlist_node_add __P((ipf_main_softc_t *, void *, 90 static int ipf_dstlist_node_del __P((ipf_main_softc_t *, void *, 92 static int ipf_dstlist_stats_get __P((ipf_main_softc_t *, void *, 94 static int ipf_dstlist_table_add __P((ipf_main_softc_t *, void *, 96 static int ipf_dstlist_table_del __P((ipf_main_softc_t *, void *, 99 static void *ipf_dstlist_table_find __P((void *, int, char *)); 101 static void ipf_dstlist_table_remove __P((ipf_main_softc_t *, 106 static void *ipf_dstlist_select_ref __P((void *, int, char *)); [all …]
|
| H A D | ip_pool.c | 75 static int ipf_pool_deref __P((ipf_main_softc_t *, void *, void *)); 77 static void *ipf_pool_exists __P((ipf_pool_softc_t *, int, char *)); 78 static void *ipf_pool_find __P((void *, int, char *)); 96 static int ipf_pool_search __P((ipf_main_softc_t *, void *, int, 98 static void *ipf_pool_soft_create __P((ipf_main_softc_t *)); 100 static void ipf_pool_soft_fini __P((ipf_main_softc_t *, void *)); 101 static int ipf_pool_soft_init __P((ipf_main_softc_t *, void *)); 105 static void *ipf_pool_select_add_ref __P((void *, int, char *)); 106 static void ipf_pool_expire __P((ipf_main_softc_t *, void *)); 133 void treeprint __P((ip_pool_t *)); [all …]
|
| H A D | ip_htable.c | 56 static iphtent_t *ipf_iphmfind6 __P((iphtable_t *, i6addr_t *)); 64 static void *ipf_htable_exists __P((void *, int, char *)); 65 static size_t ipf_htable_flush __P((ipf_main_softc_t *, void *, 67 static void ipf_htable_free __P((void *, iphtable_t *)); 72 static int ipf_htable_node_add __P((ipf_main_softc_t *, void *, 74 static int ipf_htable_node_del __P((ipf_main_softc_t *, void *, 77 static void *ipf_htable_soft_create __P((ipf_main_softc_t *)); 81 static int ipf_htable_stats_get __P((ipf_main_softc_t *, void *, 83 static int ipf_htable_table_add __P((ipf_main_softc_t *, void *, 85 static int ipf_htable_table_del __P((ipf_main_softc_t *, void *, [all …]
|
| H A D | ip_dns_pxy.c | 30 int ipf_p_dns_allow_query __P((ipf_dns_softc_t *, dnsinfo_t *)); 31 int ipf_p_dns_ctl __P((ipf_main_softc_t *, void *, ap_ctl_t *)); 32 void ipf_p_dns_del __P((ipf_main_softc_t *, ap_session_t *)); 33 int ipf_p_dns_get_name __P((ipf_dns_softc_t *, char *, int, char *, int)); 34 int ipf_p_dns_inout __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 35 int ipf_p_dns_match __P((fr_info_t *, ap_session_t *, nat_t *)); 36 int ipf_p_dns_match_names __P((ipf_dns_filter_t *, char *, int)); 37 int ipf_p_dns_new __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 38 void *ipf_p_dns_soft_create __P((ipf_main_softc_t *)); 39 void ipf_p_dns_soft_destroy __P((ipf_main_softc_t *, void *));
|
| H A D | ip_rpcb_pxy.c | 47 void ipf_p_rpcb_main_load __P((void)); 48 void ipf_p_rpcb_main_unload __P((void)); 50 void ipf_p_rpcb_del __P((ipf_main_softc_t *, ap_session_t *)); 54 static void ipf_p_rpcb_flush __P((rpcb_session_t *)); 55 static int ipf_p_rpcb_decodereq __P((fr_info_t *, nat_t *, 60 static int ipf_p_rpcb_getuaddr __P((rpc_msg_t *, xdr_uaddr_t *, 62 static u_int ipf_p_rpcb_atoi __P((char *)); 65 static int ipf_p_rpcb_decoderep __P((fr_info_t *, nat_t *, 69 static int ipf_p_rpcb_getproto __P((rpc_msg_t *, xdr_proto_t *, 72 static int ipf_p_rpcb_modv3 __P((fr_info_t *, nat_t *, rpc_msg_t *, [all …]
|
| H A D | ip_ipsec_pxy.c | 28 void *ipf_p_ipsec_soft_create __P((ipf_main_softc_t *)); 29 void ipf_p_ipsec_soft_destroy __P((ipf_main_softc_t *, void *)); 30 int ipf_p_ipsec_soft_init __P((ipf_main_softc_t *, void *)); 31 void ipf_p_ipsec_soft_fini __P((ipf_main_softc_t *, void *)); 32 int ipf_p_ipsec_init __P((void)); 33 void ipf_p_ipsec_fini __P((void)); 34 int ipf_p_ipsec_new __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 35 void ipf_p_ipsec_del __P((ipf_main_softc_t *, ap_session_t *)); 36 int ipf_p_ipsec_inout __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 37 int ipf_p_ipsec_match __P((fr_info_t *, ap_session_t *, nat_t *));
|
| H A D | ip_netbios_pxy.c | 37 void ipf_p_netbios_main_load __P((void)); 38 void ipf_p_netbios_main_unload __P((void)); 39 int ipf_p_netbios_out __P((void *, fr_info_t *, ap_session_t *, nat_t *));
|
| H A D | ip_tftp_pxy.c | 16 int ipf_p_tftp_backchannel __P((fr_info_t *, ap_session_t *, nat_t *)); 17 int ipf_p_tftp_client __P((ipf_tftp_softc_t *, fr_info_t *, ap_session_t *, 19 int ipf_p_tftp_in __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 20 void ipf_p_tftp_main_load __P((void)); 21 void ipf_p_tftp_main_unload __P((void)); 22 int ipf_p_tftp_new __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 23 void ipf_p_tftp_del __P((ipf_main_softc_t *, ap_session_t *)); 24 int ipf_p_tftp_out __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 25 int ipf_p_tftp_server __P((ipf_tftp_softc_t *, fr_info_t *, ap_session_t *, 27 void *ipf_p_tftp_soft_create __P((ipf_main_softc_t *)); [all …]
|
| H A D | ip_htable.h | 74 extern void *ipf_iphmfindgroup __P((ipf_main_softc_t *, void *, void *)); 75 extern iphtable_t *ipf_htable_find __P((void *, int, char *)); 78 extern void ipf_htable_dump __P((ipf_main_softc_t *, void *));
|
| H A D | ip_compat.h | 14 #ifndef __P 15 # define __P(x) x macro 369 extern void m_copydata __P((mb_t *, int, int, caddr_t)); 371 extern int bcopywrap __P((void *, void *, size_t)); 372 extern mb_t *allocmbt __P((size_t)); 373 extern mb_t *dupmbt __P((mb_t *)); 374 extern void freembt __P((mb_t *)); 403 extern void eMmutex_exit __P((eMmutex_t *, char *, int)); 405 extern void eMrwlock_destroy __P((eMrwlock_t *)); 406 extern void eMrwlock_exit __P((eMrwlock_t *)); [all …]
|
| H A D | ip_irc_pxy.c | 14 void ipf_p_irc_main_load __P((void)); 15 void ipf_p_irc_main_unload __P((void)); 16 int ipf_p_irc_new __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 17 int ipf_p_irc_out __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 18 int ipf_p_irc_send __P((fr_info_t *, nat_t *)); 19 int ipf_p_irc_complete __P((ircinfo_t *, char *, size_t)); 20 u_short ipf_irc_atoi __P((char **));
|
| H A D | ip_pptp_pxy.c | 60 void ipf_p_pptp_main_load __P((void)); 61 void ipf_p_pptp_main_unload __P((void)); 62 int ipf_p_pptp_new __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 63 void ipf_p_pptp_del __P((ipf_main_softc_t *, ap_session_t *)); 64 int ipf_p_pptp_inout __P((void *, fr_info_t *, ap_session_t *, nat_t *)); 65 void ipf_p_pptp_donatstate __P((fr_info_t *, nat_t *, pptp_pxy_t *)); 66 int ipf_p_pptp_message __P((fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *)); 67 int ipf_p_pptp_nextmessage __P((fr_info_t *, nat_t *, pptp_pxy_t *, int)); 68 int ipf_p_pptp_mctl __P((fr_info_t *, nat_t *, pptp_pxy_t *, pptp_side_t *));
|
| /f-stack/freebsd/net/ |
| H A D | ppp_defs.h | 152 #ifndef __P 154 #define __P(x) x macro 156 #define __P(x) () macro
|