| /src/sys/modules/aps/ |
| Makefile | 7 KMOD= aps 8 IOCONF= aps.ioconf 9 SRCS= aps.c
|
| /src/sys/external/bsd/ipf/netinet/ |
| ip_proxy.c | 780 printf("ipf_proxy_match(%lx,%lx) aps %lx ptr %lx\n", 826 register ap_session_t *aps; local 849 KMALLOC(aps, ap_session_t *); 850 if (!aps) { 857 bzero((char *)aps, sizeof(*aps)); 858 aps->aps_data = NULL; 859 aps->aps_apr = apr; 860 aps->aps_psiz = 0; 862 if ((*apr->apr_new)(apr->apr_soft, fin, aps, nat) == -1) 902 ap_session_t *aps; local [all...] |
| ip_netbios_pxy.c | 75 ipf_p_netbios_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 83 aps = aps; /* LINT */
|
| ip_tftp_pxy.c | 132 ipf_p_tftp_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 138 return ipf_p_tftp_client(softt, fin, aps, nat); 139 return ipf_p_tftp_server(softt, fin, aps, nat); 144 ipf_p_tftp_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 150 return ipf_p_tftp_client(softt, fin, aps, nat); 151 return ipf_p_tftp_server(softt, fin, aps, nat); 156 ipf_p_tftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 178 aps->aps_data = ti; 179 aps->aps_psiz = sizeof(*ti); 185 aps->aps_sport = udp->uh_sport [all...] |
| ip_dns_pxy.c | 173 ipf_p_dns_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 189 aps->aps_psiz = sizeof(dnsinfo_t); 198 aps->aps_data = di; 210 ipf_p_dns_del(ipf_main_softc_t *softc, ap_session_t *aps) 213 dnsinfo_t *di = aps->aps_data; 217 KFREES(aps->aps_data, aps->aps_psiz); 218 aps->aps_data = NULL; 219 aps->aps_psiz = 0; 317 ipf_p_dns_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat [all...] |
| ip_rcmd_pxy.c | 70 ipf_p_rcmd_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 83 aps->aps_sport = tcp->th_sport; 84 aps->aps_dport = tcp->th_dport; 92 aps->aps_data = rc; 93 aps->aps_psiz = sizeof(*rc); 103 ipf_p_rcmd_del(ipf_main_softc_t *softc, ap_session_t *aps) 107 rci = aps->aps_data; 133 ipf_p_rcmd_portmsg(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 168 rc = (rcmdinfo_t *)aps->aps_data; 316 ipf_p_rcmd_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat [all...] |
| ip_raudio_pxy.c | 56 ipf_p_raudio_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 65 KMALLOCS(aps->aps_data, void *, sizeof(raudio_t)); 66 if (aps->aps_data == NULL) 69 bzero(aps->aps_data, sizeof(raudio_t)); 70 rap = aps->aps_data; 71 aps->aps_psiz = sizeof(raudio_t); 79 ipf_p_raudio_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 81 raudio_t *rap = aps->aps_data; 183 ipf_p_raudio_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 187 raudio_t *rap = aps->aps_data [all...] |
| ip_ipsec_pxy.c | 132 ipf_p_ipsec_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 178 aps->aps_data = ipsec; 179 aps->aps_psiz = sizeof(*ipsec); 264 ipf_p_ipsec_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 279 ipsec = aps->aps_data; 350 ipf_p_ipsec_match(fr_info_t *fin, ap_session_t *aps, nat_t *nat) 363 ipsec = aps->aps_data; 392 ipf_p_ipsec_del(ipf_main_softc_t *softc, ap_session_t *aps) 396 ipsec = aps->aps_data;
|
| ip_irc_pxy.c | 229 ipf_p_irc_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 242 aps->aps_data = irc; 243 aps->aps_psiz = sizeof(ircinfo_t); 433 ipf_p_irc_out(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 435 aps = aps; /* LINT */
|
| ip_ftp_pxy.c | 227 ipf_p_ftp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 238 aps->aps_data = ftp; 239 aps->aps_psiz = sizeof(ftpinfo_t); 240 aps->aps_sport = htons(fin->fin_sport); 241 aps->aps_dport = htons(fin->fin_dport); 271 ipf_p_ftp_del(ipf_main_softc_t *softc, ap_session_t *aps) 275 ftp = aps->aps_data; 1232 ap_session_t *aps; local 1267 aps = nat->nat_aps; 1269 sel = aps->aps_sel[1 - rv] [all...] |
| ip_pptp_pxy.c | 116 ipf_p_pptp_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 150 aps->aps_data = pptp; 151 aps->aps_psiz = sizeof(*pptp); 510 ipf_p_pptp_inout(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 525 pptp = (pptp_pxy_t *)aps->aps_data; 531 return ipf_p_pptp_nextmessage(fin, nat, (pptp_pxy_t *)aps->aps_data, 540 ipf_p_pptp_del(ipf_main_softc_t *softc, ap_session_t *aps) 544 pptp = aps->aps_data;
|
| ip_rpcb_pxy.c | 145 /* aps(I) - pointer to proxy session structure */ 151 ipf_p_rpcb_new(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 167 aps->aps_data = rs; 175 /* Parameters: aps(I) - pointer to proxy session structure */ 180 ipf_p_rpcb_del(ipf_main_softc_t *softc, ap_session_t *aps) 183 rs = (rpcb_session_t *)aps->aps_data; 198 /* aps(I) - pointer to proxy session structure */ 205 ipf_p_rpcb_in(void *arg, fr_info_t *fin, ap_session_t *aps, nat_t *nat) 218 rs = (rpcb_session_t *)aps->aps_data; 264 /* aps(I) - pointer to proxy session structure * [all...] |
| ip_nat.c | 1685 ap_session_t *aps; local 1740 aps = nat->nat_aps; 1741 if (aps != NULL) { 1743 if (aps->aps_data != 0) 1744 ng.ng_sz += aps->aps_psiz; 1777 ap_session_t *aps; local 1854 aps = nat->nat_aps; 1856 if (aps != NULL) { 1859 if (outsize < sizeof(*aps)) { 1866 bcopy((char *)aps, s, sizeof(*aps)) 1914 ap_session_t *aps; local [all...] |
| /src/external/bsd/ipf/dist/ |
| ip_dns_pxy.c | 179 ipf_p_dns_new(arg, fin, aps, nat) 182 ap_session_t *aps; 199 aps->aps_psiz = sizeof(dnsinfo_t); 208 aps->aps_data = di; 220 ipf_p_dns_del(softc, aps) 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 [all...] |
| ip_tftp_pxy.c | 135 ipf_p_tftp_out(arg, fin, aps, nat) 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) 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) 170 ap_session_t *aps; [all...] |
| ip_irc_pxy.c | 229 ipf_p_irc_new(arg, fin, aps, nat) 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) 447 ap_session_t *aps; 450 aps = aps; /* LINT */
|
| ip_pptp_pxy.c | 112 ipf_p_pptp_new(arg, fin, aps, nat) 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) 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) 559 ap_session_t *aps; [all...] |
| ip_rpcb_pxy.c | 141 /* aps(I) - pointer to proxy session structure */ 147 ipf_p_rpcb_new(arg, fin, aps, nat) 150 ap_session_t *aps; 167 aps->aps_data = rs; 175 /* Parameters: aps(I) - pointer to proxy session structure */ 180 ipf_p_rpcb_del(softc, aps) 182 ap_session_t *aps; 185 rs = (rpcb_session_t *)aps->aps_data; 200 /* aps(I) - pointer to proxy session structure */ 207 ipf_p_rpcb_in(arg, fin, aps, nat [all...] |
| /src/external/bsd/ipf/dist/lib/ |
| printaps.c | 21 printaps(aps, opts, proto) 22 ap_session_t *aps; 31 if (kmemcpy((char *)&ap, (long)aps, sizeof(ap)))
|
| /src/usr.sbin/wiconfig/ |
| wiconfig.c | 157 struct wi_apinfo aps[howmany(WI_MAX_DATALEN, local 220 printf("\nNo APs available\n"); 223 howmany(sizeof(wreq.wi_val) - sizeof(int), sizeof(*aps))); 224 memcpy(aps, (const char *)wreq.wi_val + sizeof(int), 225 (unsigned)naps * sizeof(*aps)); 228 const struct wi_apinfo *const w = &aps[i];
|
| /src/sys/arch/hpc/stand/ |
| Makefile | 73 rm -f hpcboot/res/hpcmenu.aps
|
| /src/sys/dev/isa/ |
| aps.c | 1 /* $NetBSD: aps.c,v 1.20 2025/02/17 22:56:46 andvar Exp $ */ 2 /* $OpenBSD: aps.c,v 1.15 2007/05/19 19:14:11 tedu Exp $ */ 3 /* $OpenBSD: aps.c,v 1.17 2008/06/27 06:08:43 canacar Exp $ */ 27 __KERNEL_RCSID(0, "$NetBSD: aps.c,v 1.20 2025/02/17 22:56:46 andvar Exp $"); 161 CFATTACH_DECL_NEW(aps, sizeof(struct aps_softc), 255 aprint_error("aps: can't map i/o space\n"); 260 /* See if this machine has APS */ 262 /* get APS mode */ 280 DPRINTF(("aps: state register 0x%x\n", cr)); 537 * Redo the init sequence on resume, because APS is [all...] |
| /src/external/bsd/pcc/dist/pcc/mip/ |
| common.c | 967 attr_copy(struct attr *aps, struct attr *apd, int n) 970 return memcpy(apd, aps, sz);
|
| /src/sys/modules/ |
| Makefile | 389 SUBDIR+= aps
|
| /src/external/bsd/pcc/dist/pcc/cc/ccom/ |
| pftn.c | 935 struct attr *aps, *apb; local 940 aps = attr_find(r->ap, ATTR_STRUCT); 941 aps->amlist = r->rb; 969 aps->amsize = rpole->rstr; 976 aps->amsize, apb->iarg(0)); 980 aps->amsize, apb->iarg(0), aps->amlist); 981 for (sp = aps->amlist; sp != NULL; sp = sp->snext) {
|