| /netbsd-src/sys/external/bsd/ipf/netinet/ |
| H A D | ip_proxy.c | 780 printf("ipf_proxy_match(%lx,%lx) aps %lx ptr %lx\n", in ipf_proxy_match() 826 register ap_session_t *aps; in ipf_proxy_new() local 849 KMALLOC(aps, ap_session_t *); in ipf_proxy_new() 850 if (!aps) { in ipf_proxy_new() 857 bzero((char *)aps, sizeof(*aps)); in ipf_proxy_new() 858 aps->aps_data = NULL; in ipf_proxy_new() 859 aps->aps_apr = apr; in ipf_proxy_new() 860 aps->aps_psiz = 0; in ipf_proxy_new() 862 if ((*apr->apr_new)(apr->apr_soft, fin, aps, na in ipf_proxy_new() 902 ap_session_t *aps; ipf_proxy_check() local 1107 ipf_proxy_free(ipf_main_softc_t * softc,ap_session_t * aps) ipf_proxy_free() argument 1146 ipf_proxy_fixseqack(fr_info_t * fin,ip_t * ip,ap_session_t * aps,int inc) ipf_proxy_fixseqack() argument [all...] |
| H A D | ip_tftp_pxy.c | 132 ipf_p_tftp_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_out() argument 138 return ipf_p_tftp_client(softt, fin, aps, nat); in ipf_p_tftp_out() 139 return ipf_p_tftp_server(softt, fin, aps, nat); in ipf_p_tftp_out() 144 ipf_p_tftp_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_in() argument 150 return ipf_p_tftp_client(softt, fin, aps, nat); in ipf_p_tftp_in() 151 return ipf_p_tftp_server(softt, fin, aps, nat); in ipf_p_tftp_in() 156 ipf_p_tftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_tftp_new() argument 178 aps->aps_data = ti; in ipf_p_tftp_new() 179 aps->aps_psiz = sizeof(*ti); in ipf_p_tftp_new() 185 aps->aps_sport = udp->uh_sport; in ipf_p_tftp_new() [all …]
|
| H A D | ip_rcmd_pxy.c | 70 ipf_p_rcmd_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_new() argument 83 aps->aps_sport = tcp->th_sport; in ipf_p_rcmd_new() 84 aps->aps_dport = tcp->th_dport; in ipf_p_rcmd_new() 92 aps->aps_data = rc; in ipf_p_rcmd_new() 93 aps->aps_psiz = sizeof(*rc); in ipf_p_rcmd_new() 103 ipf_p_rcmd_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_rcmd_del() argument 107 rci = aps->aps_data; in ipf_p_rcmd_del() 133 ipf_p_rcmd_portmsg(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rcmd_portmsg() argument 168 rc = (rcmdinfo_t *)aps->aps_data; in ipf_p_rcmd_portmsg() 316 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 | 173 ipf_p_dns_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_dns_new() argument 189 aps->aps_psiz = sizeof(dnsinfo_t); in ipf_p_dns_new() 198 aps->aps_data = di; in ipf_p_dns_new() 210 ipf_p_dns_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_dns_del() argument 213 dnsinfo_t *di = aps->aps_data; in ipf_p_dns_del() 217 KFREES(aps->aps_data, aps->aps_psiz); in ipf_p_dns_del() 218 aps->aps_data = NULL; in ipf_p_dns_del() 219 aps->aps_psiz = 0; in ipf_p_dns_del() 317 ipf_p_dns_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_dns_inout() argument 335 di = aps->aps_data; in ipf_p_dns_inout() [all …]
|
| H A D | ip_raudio_pxy.c | 56 ipf_p_raudio_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_raudio_new() argument 65 KMALLOCS(aps->aps_data, void *, sizeof(raudio_t)); in ipf_p_raudio_new() 66 if (aps->aps_data == NULL) in ipf_p_raudio_new() 69 bzero(aps->aps_data, sizeof(raudio_t)); in ipf_p_raudio_new() 70 rap = aps->aps_data; in ipf_p_raudio_new() 71 aps->aps_psiz = sizeof(raudio_t); in ipf_p_raudio_new() 79 ipf_p_raudio_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_raudio_out() argument 81 raudio_t *rap = aps->aps_data; in ipf_p_raudio_out() 183 ipf_p_raudio_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_raudio_in() argument 187 raudio_t *rap = aps->aps_data; in ipf_p_raudio_in()
|
| H A D | ip_ftp_pxy.c | 227 ipf_p_ftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ftp_new() argument 238 aps->aps_data = ftp; in ipf_p_ftp_new() 239 aps->aps_psiz = sizeof(ftpinfo_t); in ipf_p_ftp_new() 240 aps->aps_sport = htons(fin->fin_sport); in ipf_p_ftp_new() 241 aps->aps_dport = htons(fin->fin_dport); in ipf_p_ftp_new() 271 ipf_p_ftp_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_ftp_del() argument 275 ftp = aps->aps_data; in ipf_p_ftp_del() 1232 ap_session_t *aps; in ipf_p_ftp_process() local 1267 aps = nat->nat_aps; in ipf_p_ftp_process() 1269 sel = aps->aps_sel[1 - rv]; in ipf_p_ftp_process() [all …]
|
| H A D | ip_ipsec_pxy.c | 132 ipf_p_ipsec_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_new() argument 178 aps->aps_data = ipsec; in ipf_p_ipsec_new() 179 aps->aps_psiz = sizeof(*ipsec); in ipf_p_ipsec_new() 264 ipf_p_ipsec_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_inout() argument 279 ipsec = aps->aps_data; in ipf_p_ipsec_inout() 350 ipf_p_ipsec_match(fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_ipsec_match() argument 363 ipsec = aps->aps_data; in ipf_p_ipsec_match() 392 ipf_p_ipsec_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_ipsec_del() argument 396 ipsec = aps->aps_data; in ipf_p_ipsec_del()
|
| H A D | ip_netbios_pxy.c | 75 ipf_p_netbios_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_netbios_out() argument 83 aps = aps; /* LINT */ in ipf_p_netbios_out()
|
| H A D | ip_irc_pxy.c | 229 ipf_p_irc_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_irc_new() argument 242 aps->aps_data = irc; in ipf_p_irc_new() 243 aps->aps_psiz = sizeof(ircinfo_t); in ipf_p_irc_new() 433 ipf_p_irc_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_irc_out() argument 435 aps = aps; /* LINT */ in ipf_p_irc_out()
|
| H A D | ip_pptp_pxy.c | 116 ipf_p_pptp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_pptp_new() argument 150 aps->aps_data = pptp; in ipf_p_pptp_new() 151 aps->aps_psiz = sizeof(*pptp); in ipf_p_pptp_new() 510 ipf_p_pptp_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_pptp_inout() argument 525 pptp = (pptp_pxy_t *)aps->aps_data; in ipf_p_pptp_inout() 531 return ipf_p_pptp_nextmessage(fin, nat, (pptp_pxy_t *)aps->aps_data, in ipf_p_pptp_inout() 540 ipf_p_pptp_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_pptp_del() argument 544 pptp = aps->aps_data; in ipf_p_pptp_del()
|
| H A D | ip_rpcb_pxy.c | 151 ipf_p_rpcb_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_new() argument 167 aps->aps_data = rs; in ipf_p_rpcb_new() 180 ipf_p_rpcb_del(ipf_main_softc_t *softc, ap_session_t *aps) in ipf_p_rpcb_del() argument 183 rs = (rpcb_session_t *)aps->aps_data; in ipf_p_rpcb_del() 205 ipf_p_rpcb_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_in() argument 218 rs = (rpcb_session_t *)aps->aps_data; in ipf_p_rpcb_in() 273 ipf_p_rpcb_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) in ipf_p_rpcb_out() argument 289 rs = (rpcb_session_t *)aps->aps_data; in ipf_p_rpcb_out()
|
| H A D | ip_nat.c | 1685 ap_session_t *aps; in ipf_nat_getsz() local 1740 aps = nat->nat_aps; in ipf_nat_getsz() 1741 if (aps != NULL) { in ipf_nat_getsz() 1743 if (aps->aps_data != 0) in ipf_nat_getsz() 1744 ng.ng_sz += aps->aps_psiz; in ipf_nat_getsz() 1777 ap_session_t *aps; in ipf_nat_getent() local 1853 aps = nat->nat_aps; in ipf_nat_getent() 1855 if (aps != NULL) { in ipf_nat_getent() 1858 if (outsize < sizeof(*aps)) { in ipf_nat_getent() 1865 bcopy((char *)aps, in ipf_nat_getent() 1913 ap_session_t *aps; ipf_nat_putent() local [all...] |
| /netbsd-src/external/bsd/ipf/dist/ |
| H A D | ip_tftp_pxy.c | 135 ipf_p_tftp_out(arg, fin, aps, nat) in ipf_p_tftp_out() argument 138 ap_session_t *aps; 145 return ipf_p_tftp_client(softt, fin, aps, nat); 146 return ipf_p_tftp_server(softt, fin, aps, nat); 151 ipf_p_tftp_in(arg, fin, aps, nat) in ipf_p_tftp_in() argument 154 ap_session_t *aps; 161 return ipf_p_tftp_client(softt, fin, aps, nat); 162 return ipf_p_tftp_server(softt, fin, aps, nat); 167 ipf_p_tftp_new(arg, fin, aps, nat) in ipf_p_tftp_new() argument 170 ap_session_t *aps; [all …]
|
| H A D | ip_dns_pxy.c | 179 ipf_p_dns_new(arg, fin, aps, nat) in ipf_p_dns_new() argument 182 ap_session_t *aps; 199 aps->aps_psiz = sizeof(dnsinfo_t); 208 aps->aps_data = di; 220 ipf_p_dns_del(softc, aps) in ipf_p_dns_del() argument 222 ap_session_t *aps; 225 dnsinfo_t *di = aps->aps_data; 229 KFREES(aps->aps_data, aps->aps_psiz); 230 aps->aps_data = NULL; 231 aps->aps_psiz = 0; [all …]
|
| H A D | ip_pptp_pxy.c | 112 ipf_p_pptp_new(arg, fin, aps, nat) in ipf_p_pptp_new() argument 115 ap_session_t *aps; 150 aps->aps_data = pptp; 151 aps->aps_psiz = sizeof(*pptp); 523 ipf_p_pptp_inout(arg, fin, aps, nat) in ipf_p_pptp_inout() argument 526 ap_session_t *aps; 542 pptp = (pptp_pxy_t *)aps->aps_data; 548 return ipf_p_pptp_nextmessage(fin, nat, (pptp_pxy_t *)aps->aps_data, 557 ipf_p_pptp_del(softc, aps) in ipf_p_pptp_del() argument 559 ap_session_t *aps; [all …]
|
| H A D | ip_irc_pxy.c | 229 ipf_p_irc_new(arg, fin, aps, nat) in ipf_p_irc_new() argument 232 ap_session_t *aps; 246 aps->aps_data = irc; 247 aps->aps_psiz = sizeof(ircinfo_t); 444 ipf_p_irc_out(arg, fin, aps, nat) in ipf_p_irc_out() argument 447 ap_session_t *aps; 450 aps = aps; /* LINT */
|
| H A D | ip_rpcb_pxy.c | 147 ipf_p_rpcb_new(arg, fin, aps, nat) in ipf_p_rpcb_new() argument 150 ap_session_t *aps; 167 aps->aps_data = rs; 180 ipf_p_rpcb_del(softc, aps) in ipf_p_rpcb_del() argument 182 ap_session_t *aps; 185 rs = (rpcb_session_t *)aps->aps_data; 207 ipf_p_rpcb_in(arg, fin, aps, nat) in ipf_p_rpcb_in() argument 210 ap_session_t *aps; 224 rs = (rpcb_session_t *)aps->aps_data; 279 ipf_p_rpcb_out(arg, fin, aps, nat) in ipf_p_rpcb_out() argument [all …]
|
| /netbsd-src/sys/modules/aps/ |
| H A D | Makefile | 7 KMOD= aps 8 IOCONF= aps.ioconf 9 SRCS= aps.c
|
| H A D | aps.ioconf | 1 # $NetBSD: aps.ioconf,v 1.1 2011/01/16 01:07:32 jmcneill Exp $ 3 ioconf aps
|
| /netbsd-src/external/bsd/ipf/dist/lib/ |
| H A D | printaps.c | 21 printaps(aps, opts, proto) in printaps() argument 22 ap_session_t *aps; in printaps() 31 if (kmemcpy((char *)&ap, (long)aps, sizeof(ap)))
|
| /netbsd-src/usr.sbin/wiconfig/ |
| H A D | wiconfig.c | 159 struct wi_apinfo aps[howmany(WI_MAX_DATALEN, in wi_apscan() local 224 howmany(sizeof(wreq.wi_val) - sizeof(int), sizeof(*aps))); in wi_apscan() 225 memcpy(aps, (const char *)wreq.wi_val + sizeof(int), in wi_apscan() 226 (unsigned)naps * sizeof(*aps)); in wi_apscan() 229 const struct wi_apinfo *const w = &aps[i]; in wi_apscan()
|
| /netbsd-src/sys/dev/isa/ |
| H A D | files.isa | 469 device aps: sysmon_envsys 470 attach aps at isa with aps 471 file dev/isa/aps.c aps
|
| H A D | aps.c | 161 CFATTACH_DECL_NEW(aps, sizeof(struct aps_softc), 552 MODULE(MODULE_CLASS_DRIVER, aps, "sysmon_envsys");
|
| /netbsd-src/sys/arch/hpc/stand/ |
| H A D | Makefile | 73 rm -f hpcboot/res/hpcmenu.aps
|
| /netbsd-src/external/bsd/pcc/dist/pcc/mip/ |
| H A D | common.c | 967 attr_copy(struct attr *aps, struct attr *apd, int n) in attr_copy() argument 970 return memcpy(apd, aps, sz); in attr_copy()
|