Searched refs:aps (Results 1 - 17 of 17) sorted by relevance

/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_proxy.c356 printf("appr_match(%lx,%lx) aps %lx ptr %lx\n",
396 register ap_session_t *aps; local
419 KMALLOC(aps, ap_session_t *);
420 if (!aps) {
427 bzero((char *)aps, sizeof(*aps));
428 aps->aps_p = fin->fin_p;
429 aps->aps_data = NULL;
430 aps->aps_apr = apr;
431 aps
470 ap_session_t *aps; local
[all...]
H A Dip_rcmd_pxy.c58 int ippr_rcmd_new(fin, aps, nat)
60 ap_session_t *aps;
68 aps->aps_psiz = sizeof(u_32_t);
69 KMALLOCS(aps->aps_data, u_32_t *, sizeof(u_32_t));
70 if (aps->aps_data == NULL) {
76 *(u_32_t *)aps->aps_data = 0;
77 aps->aps_sport = tcp->th_sport;
78 aps->aps_dport = tcp->th_dport;
100 int ippr_rcmd_portmsg(fin, aps, nat)
102 ap_session_t *aps;
[all...]
H A Dip_netbios_pxy.c69 int ippr_netbios_out(fin, aps, nat)
71 ap_session_t *aps;
80 aps = aps; /* LINT */
H A Dip_ipsec_pxy.c84 int ippr_ipsec_new(fin, aps, nat)
86 ap_session_t *aps;
111 aps->aps_psiz = sizeof(*ipsec);
112 KMALLOCS(aps->aps_data, ipsec_pxy_t *, sizeof(*ipsec));
113 if (aps->aps_data == NULL)
116 ipsec = aps->aps_data;
191 int ippr_ipsec_inout(fin, aps, nat)
193 ap_session_t *aps;
207 ipsec = aps->aps_data;
273 int ippr_ipsec_match(fin, aps, na
[all...]
H A Dip_raudio_pxy.c53 int ippr_raudio_new(fin, aps, nat)
55 ap_session_t *aps;
60 KMALLOCS(aps->aps_data, void *, sizeof(raudio_t));
61 if (aps->aps_data == NULL)
67 bzero(aps->aps_data, sizeof(raudio_t));
68 rap = aps->aps_data;
69 aps->aps_psiz = sizeof(raudio_t);
76 int ippr_raudio_out(fin, aps, nat)
78 ap_session_t *aps;
81 raudio_t *rap = aps
[all...]
H A Dip_ftp_pxy.c124 int ippr_ftp_new(fin, aps, nat)
126 ap_session_t *aps;
139 aps->aps_data = ftp;
140 aps->aps_psiz = sizeof(ftpinfo_t);
983 ap_session_t *aps; local
1015 aps = nat->nat_aps;
1017 sel = aps->aps_sel[1 - rv];
1018 sel2 = aps->aps_sel[rv];
1020 seqoff = aps->aps_seqoff[sel];
1021 if (aps
[all...]
H A Dip_pptp_pxy.c85 int ippr_pptp_new(fin, aps, nat)
87 ap_session_t *aps;
104 aps->aps_psiz = sizeof(*pptp);
105 KMALLOCS(aps->aps_data, pptp_pxy_t *, sizeof(*pptp));
106 if (aps->aps_data == NULL) {
118 pptp = aps->aps_data;
474 int ippr_pptp_inout(fin, aps, nat)
476 ap_session_t *aps;
492 pptp = (pptp_pxy_t *)aps->aps_data;
498 return ippr_pptp_nextmessage(fin, nat, (pptp_pxy_t *)aps
[all...]
H A Dip_irc_pxy.c225 int ippr_irc_new(fin, aps, nat)
227 ap_session_t *aps;
239 aps->aps_data = irc;
240 aps->aps_psiz = sizeof(ircinfo_t);
426 int ippr_irc_out(fin, aps, nat)
428 ap_session_t *aps;
431 aps = aps; /* LINT */
H A Dip_rpcb_pxy.c142 /* aps(I) - pointer to proxy session structure */
148 ippr_rpcb_new(fin, aps, nat)
150 ap_session_t *aps;
165 aps->aps_data = rs;
173 /* Parameters: aps(I) - pointer to proxy session structure */
178 ippr_rpcb_del(aps)
179 ap_session_t *aps;
182 rs = (rpcb_session_t *)aps->aps_data;
197 /* aps(I) - pointer to proxy session structure */
204 ippr_rpcb_in(fin, aps, na
[all...]
H A Dip_nat.c1204 ap_session_t *aps; local
1251 aps = nat->nat_aps;
1252 if (aps != NULL) {
1254 if (aps->aps_data != 0)
1255 ng.ng_sz += aps->aps_psiz;
1282 ap_session_t *aps; local
1351 aps = nat->nat_aps;
1353 if (aps != NULL) {
1356 if (outsize < sizeof(*aps)) {
1362 bcopy((char *)aps,
1406 ap_session_t *aps; local
[all...]
/freebsd-9.3-release/contrib/ipfilter/
H A Dip_msnrpc_pxy.c71 int ippr_msnrpc_new(fin, aps, nat)
73 ap_session_t *aps;
81 aps->aps_data = mri;
82 aps->aps_psiz = sizeof(msnrpcinfo_t);
118 int ippr_msnrpc_out(fin, ip, aps, nat)
121 ap_session_t *aps;
129 mri = aps->aps_data;
159 int ippr_msnrpc_in(fin, ip, aps, nat)
162 ap_session_t *aps;
173 mri = aps
[all...]
/freebsd-9.3-release/usr.sbin/apm/
H A Dapm.c219 struct apm_pwstatus aps; local
223 bzero(&aps, sizeof(aps));
224 aps.ap_device = PMDV_BATT0 + i;
225 if (ioctl(fd, APMIO_GETPWSTATUS, &aps) == -1)
228 if (aps.ap_batt_flag & APM_BATT_NOT_PRESENT) {
233 print_batt_stat(aps.ap_batt_stat);
235 print_batt_life(aps.ap_batt_life);
237 print_batt_time(aps.ap_batt_time);
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dprintaps.c20 void printaps(aps, opts)
21 ap_session_t *aps;
30 if (kmemcpy((char *)&ap, (long)aps, sizeof(ap)))
/freebsd-9.3-release/sys/i386/bios/
H A Dapm.c663 struct apm_pwstatus aps; local
665 bzero(&aps, sizeof(aps));
666 aps.ap_device = PMDV_ALLDEV;
667 if (apm_get_pwstatus(&aps))
671 aip->ai_acline = aps.ap_acline;
672 aip->ai_batt_stat = aps.ap_batt_stat;
673 aip->ai_batt_life = aps.ap_batt_life;
674 aip->ai_batt_time = aps.ap_batt_time;
/freebsd-9.3-release/sys/cam/ctl/
H A Dctl.h87 struct ctl_modepage_aps aps; member in union:ctl_modepage_info
H A Dctl_io.h443 struct ctl_ha_msg_aps aps; member in union:ctl_ha_msg
H A Dctl.c911 current_sp->lock_active = msg_info.aps.lock_flag;
4844 lock_msg.aps.lock_flag = 1;
4846 lock_msg.aps.lock_flag = 0;
5941 modepage_info->aps.lock_active = user_sp->lock_active;

Completed in 189 milliseconds