| /freebsd/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_proxy.c | 798 register ap_session_t *aps; in ipf_proxy_new() local 821 KMALLOC(aps, ap_session_t *); in ipf_proxy_new() 822 if (!aps) { in ipf_proxy_new() 829 bzero((char *)aps, sizeof(*aps)); in ipf_proxy_new() 830 aps->aps_data = NULL; in ipf_proxy_new() 831 aps->aps_apr = apr; in ipf_proxy_new() 832 aps->aps_psiz = 0; in ipf_proxy_new() 834 if ((*apr->apr_new)(apr->apr_soft, fin, aps, nat) == -1) { in ipf_proxy_new() 835 if ((aps->aps_data != NULL) && (aps->aps_psiz != 0)) { in ipf_proxy_new() 836 KFREES(aps->aps_data, aps->aps_psiz); in ipf_proxy_new() [all …]
|
| H A D | ip_tftp_pxy.c | 130 ipf_p_tftp_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_out() argument 136 return (ipf_p_tftp_client(softt, fin, aps, nat)); in ipf_p_tftp_out() 137 return (ipf_p_tftp_server(softt, fin, aps, nat)); in ipf_p_tftp_out() 142 ipf_p_tftp_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_in() argument 148 return (ipf_p_tftp_client(softt, fin, aps, nat)); in ipf_p_tftp_in() 149 return (ipf_p_tftp_server(softt, fin, aps, nat)); in ipf_p_tftp_in() 154 ipf_p_tftp_new(void *arg, fr_info_t *fin __unused, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_new() argument 174 aps->aps_data = ti; in ipf_p_tftp_new() 175 aps->aps_psiz = sizeof(*ti); in ipf_p_tftp_new() 181 aps->aps_sport = udp->uh_sport; in ipf_p_tftp_new() [all …]
|
| H A D | ip_rcmd_pxy.c | 66 ipf_p_rcmd_new(void *arg, fr_info_t *fin __unused, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_new() argument 79 aps->aps_sport = tcp->th_sport; in ipf_p_rcmd_new() 80 aps->aps_dport = tcp->th_dport; in ipf_p_rcmd_new() 88 aps->aps_data = rc; in ipf_p_rcmd_new() 89 aps->aps_psiz = sizeof(*rc); in ipf_p_rcmd_new() 99 ipf_p_rcmd_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_rcmd_del() argument 103 rci = aps->aps_data; in ipf_p_rcmd_del() 129 ipf_p_rcmd_portmsg(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_portmsg() argument 164 rc = (rcmdinfo_t *)aps->aps_data; in ipf_p_rcmd_portmsg() 312 ipf_p_rcmd_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_out() argument [all …]
|
| H A D | ip_dns_pxy.c | 171 ipf_p_dns_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_dns_new() argument 187 aps->aps_psiz = sizeof(dnsinfo_t); in ipf_p_dns_new() 196 aps->aps_data = di; in ipf_p_dns_new() 208 ipf_p_dns_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_dns_del() argument 211 dnsinfo_t *di = aps->aps_data; in ipf_p_dns_del() 215 KFREES(aps->aps_data, aps->aps_psiz); in ipf_p_dns_del() 216 aps->aps_data = NULL; in ipf_p_dns_del() 217 aps->aps_psiz = 0; in ipf_p_dns_del() 314 ipf_p_dns_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_dns_inout() argument 332 di = aps->aps_data; in ipf_p_dns_inout() [all …]
|
| H A D | ip_raudio_pxy.c | 52 ipf_p_raudio_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat __unused) in ipf_p_raudio_new() argument 59 KMALLOCS(aps->aps_data, void *, sizeof(raudio_t)); in ipf_p_raudio_new() 60 if (aps->aps_data == NULL) in ipf_p_raudio_new() 63 bzero(aps->aps_data, sizeof(raudio_t)); in ipf_p_raudio_new() 64 rap = aps->aps_data; in ipf_p_raudio_new() 65 aps->aps_psiz = sizeof(raudio_t); in ipf_p_raudio_new() 73 ipf_p_raudio_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat __unused) in ipf_p_raudio_out() argument 75 raudio_t *rap = aps->aps_data; in ipf_p_raudio_out() 171 ipf_p_raudio_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_raudio_in() argument 175 raudio_t *rap = aps->aps_data; in ipf_p_raudio_in()
|
| H A D | ip_ftp_pxy.c | 222 ipf_p_ftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat __unused) in ipf_p_ftp_new() argument 231 aps->aps_data = ftp; in ipf_p_ftp_new() 232 aps->aps_psiz = sizeof(ftpinfo_t); in ipf_p_ftp_new() 233 aps->aps_sport = htons(fin->fin_sport); in ipf_p_ftp_new() 234 aps->aps_dport = htons(fin->fin_dport); in ipf_p_ftp_new() 264 ipf_p_ftp_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_ftp_del() argument 268 ftp = aps->aps_data; in ipf_p_ftp_del() 1220 ap_session_t *aps; in ipf_p_ftp_process() local 1251 aps = nat->nat_aps; in ipf_p_ftp_process() 1253 sel = aps->aps_sel[1 - rv]; in ipf_p_ftp_process() [all …]
|
| H A D | ip_ipsec_pxy.c | 126 ipf_p_ipsec_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_new() argument 172 aps->aps_data = ipsec; in ipf_p_ipsec_new() 173 aps->aps_psiz = sizeof(*ipsec); in ipf_p_ipsec_new() 258 ipf_p_ipsec_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_inout() argument 273 ipsec = aps->aps_data; in ipf_p_ipsec_inout() 344 ipf_p_ipsec_match(fr_info_t *fin, ap_session_t *aps, nat_t *nat __unused) in ipf_p_ipsec_match() argument 355 ipsec = aps->aps_data; in ipf_p_ipsec_match() 384 ipf_p_ipsec_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_ipsec_del() argument 388 ipsec = aps->aps_data; in ipf_p_ipsec_del()
|
| H A D | ip_pptp_pxy.c | 110 ipf_p_pptp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_pptp_new() argument 144 aps->aps_data = pptp; in ipf_p_pptp_new() 145 aps->aps_psiz = sizeof(*pptp); in ipf_p_pptp_new() 499 ipf_p_pptp_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_pptp_inout() argument 514 pptp = (pptp_pxy_t *)aps->aps_data; in ipf_p_pptp_inout() 520 return (ipf_p_pptp_nextmessage(fin, nat, (pptp_pxy_t *)aps->aps_data, in ipf_p_pptp_inout() 529 ipf_p_pptp_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_pptp_del() argument 533 pptp = aps->aps_data; in ipf_p_pptp_del()
|
| H A D | ip_irc_pxy.c | 224 ipf_p_irc_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat __unused) in ipf_p_irc_new() argument 235 aps->aps_data = irc; in ipf_p_irc_new() 236 aps->aps_psiz = sizeof(ircinfo_t); in ipf_p_irc_new() 423 ipf_p_irc_out(void *arg, fr_info_t *fin, ap_session_t *aps __unused, nat_t *nat) in ipf_p_irc_out()
|
| H A D | ip_rpcb_pxy.c | 147 ipf_p_rpcb_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat __unused) in ipf_p_rpcb_new() argument 161 aps->aps_data = rs; in ipf_p_rpcb_new() 174 ipf_p_rpcb_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_rpcb_del() argument 177 rs = (rpcb_session_t *)aps->aps_data; in ipf_p_rpcb_del() 199 ipf_p_rpcb_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_in() argument 212 rs = (rpcb_session_t *)aps->aps_data; in ipf_p_rpcb_in() 267 ipf_p_rpcb_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_out() argument 281 rs = (rpcb_session_t *)aps->aps_data; in ipf_p_rpcb_out()
|
| H A D | ip_nat.c | 1703 ap_session_t *aps; in ipf_nat_getsz() local 1758 aps = nat->nat_aps; in ipf_nat_getsz() 1759 if (aps != NULL) { in ipf_nat_getsz() 1761 if (aps->aps_data != 0) in ipf_nat_getsz() 1762 ng.ng_sz += aps->aps_psiz; in ipf_nat_getsz() 1795 ap_session_t *aps; in ipf_nat_getent() local 1872 aps = nat->nat_aps; in ipf_nat_getent() 1874 if (aps != NULL) { in ipf_nat_getent() 1877 if (outsize < sizeof(*aps)) { in ipf_nat_getent() 1884 bcopy((char *)aps, s, sizeof(*aps)); in ipf_nat_getent() [all …]
|
| H A D | ip_netbios_pxy.c | 70 ipf_p_netbios_out(void *arg, fr_info_t *fin, ap_session_t *aps __unused, nat_t *nat __unused) in ipf_p_netbios_out()
|
| /freebsd/usr.sbin/apm/ |
| H A D | apm.c | 217 struct apm_pwstatus aps; in print_all_info() local 221 bzero(&aps, sizeof(aps)); in print_all_info() 222 aps.ap_device = PMDV_BATT0 + i; in print_all_info() 223 if (ioctl(fd, APMIO_GETPWSTATUS, &aps) == -1) in print_all_info() 226 if (aps.ap_batt_flag & APM_BATT_NOT_PRESENT) { in print_all_info() 231 print_batt_stat(aps.ap_batt_stat); in print_all_info() 233 print_batt_life(aps.ap_batt_life); in print_all_info() 235 print_batt_time(aps.ap_batt_time); in print_all_info()
|
| /freebsd/sbin/nvmecontrol/ |
| H A D | power.c | 63 uint8_t mps, nops, aps, apw; in power_list_one() local 68 aps = NVMEV(NVME_PWR_ST_APS, nps->apw_aps); in power_list_one() 77 if (aps == 1) in power_list_one()
|
| /freebsd/sbin/ipf/libipf/ |
| H A D | printaps.c | 17 printaps(ap_session_t *aps, int opts, int proto) in printaps() argument 25 if (kmemcpy((char *)&ap, (long)aps, sizeof(ap))) in printaps()
|
| /freebsd/sys/contrib/libsodium/builds/ |
| H A D | .gitignore | 5 *.aps
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | msvc | 10 # .aps
|
| H A D | console | 814 !:ext aps
|