Home
last modified time | relevance | path

Searched refs:caddr_t (Results 1 – 25 of 129) sorted by relevance

123456

/external/ipsec-tools/src/racoon/
Dcrypto_openssl.h146 extern caddr_t eay_hmacsha2_512_init __P((vchar_t *));
147 extern void eay_hmacsha2_512_update __P((caddr_t, vchar_t *));
148 extern vchar_t *eay_hmacsha2_512_final __P((caddr_t));
150 extern caddr_t eay_hmacsha2_384_init __P((vchar_t *));
151 extern void eay_hmacsha2_384_update __P((caddr_t, vchar_t *));
152 extern vchar_t *eay_hmacsha2_384_final __P((caddr_t));
154 extern caddr_t eay_hmacsha2_256_init __P((vchar_t *));
155 extern void eay_hmacsha2_256_update __P((caddr_t, vchar_t *));
156 extern vchar_t *eay_hmacsha2_256_final __P((caddr_t));
160 extern caddr_t eay_hmacsha1_init __P((vchar_t *));
[all …]
Disakmp_var.h95 extern caddr_t isakmp_set_attr_v __P((caddr_t, int, caddr_t, int));
96 extern caddr_t isakmp_set_attr_l __P((caddr_t, int, u_int32_t));
97 extern vchar_t *isakmp_add_attr_v __P((vchar_t *, int, caddr_t, int));
100 extern int isakmp_newcookie __P((caddr_t, struct sockaddr *, struct sockaddr *));
105 extern caddr_t set_isakmp_header1 __P((vchar_t *, struct ph1handle *, int));
106 extern caddr_t set_isakmp_header2 __P((vchar_t *, struct ph2handle *, int));
107 extern caddr_t set_isakmp_payload __P((caddr_t, vchar_t *, int));
Dcrypto_openssl.c131 static caddr_t eay_hmac_init __P((vchar_t *, const EVP_MD *));
148 caddr_t p;
424 caddr_t p;
1837 static caddr_t
1846 return (caddr_t)c;
1858 caddr_t ctx;
1867 caddr_t
1876 caddr_t c; in eay_hmacsha2_512_update()
1884 caddr_t c; in eay_hmacsha2_512_final()
1915 caddr_t ctx;
[all …]
Dalgorithm.h133 caddr_t (*init) __P((vchar_t *));
134 void (*update) __P((caddr_t, vchar_t *));
135 vchar_t *(*final) __P((caddr_t));
144 caddr_t (*init) __P((void));
145 void (*update) __P((caddr_t, vchar_t *));
146 vchar_t *(*final) __P((caddr_t));
Dsockmisc.c91 caddr_t sa1, sa2;
110 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr;
111 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr;
117 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr;
118 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr;
144 caddr_t sa1, sa2;
164 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr;
165 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr;
177 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr;
178 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr;
[all …]
Dpfkey.c117 static int pk_recvgetspi __P((caddr_t *));
118 static int pk_recvupdate __P((caddr_t *));
119 static int pk_recvadd __P((caddr_t *));
120 static int pk_recvdelete __P((caddr_t *));
121 static int pk_recvacquire __P((caddr_t *));
122 static int pk_recvexpire __P((caddr_t *));
123 static int pk_recvflush __P((caddr_t *));
124 static int getsadbpolicy __P((caddr_t *, int *, int, struct ph2handle *));
125 static int pk_recvspdupdate __P((caddr_t *));
126 static int pk_recvspdadd __P((caddr_t *));
[all …]
Dsecurity.c70 caddr_t bp;
87 bp = (caddr_t)(sab + 1); /* here bp points to first proposal payload */
114 bp = (caddr_t)prop + sizeof(struct isakmp_pl_p) + prop->spi_size;
131 d = (struct isakmp_data *)((caddr_t)trns + sizeof(struct isakmp_pl_t));
145 d = (struct isakmp_data *)((caddr_t)d
Dvmbuf.c65 var->v = (caddr_t)racoon_calloc(1, size);
80 caddr_t v;
88 if ((v = (caddr_t)racoon_realloc(ptr->v, size)) == NULL) {
Dracoonctl.c214 void print_schedule __P((caddr_t, int));
215 void print_evt __P((caddr_t, int));
216 void print_cfg __P((caddr_t, int));
217 void print_err __P((caddr_t, int));
218 void print_ph1down __P((caddr_t, int));
219 void print_ph1up __P((caddr_t, int));
1100 caddr_t p = NULL;
1309 caddr_t buf; in print_schedule()
1341 caddr_t buf; in print_evt()
1374 caddr_t buf; in print_err()
[all …]
Dvmbuf.h49 caddr_t bp; /* pointer to the buffer */
52 caddr_t v; /* place holder to the pointer to the value */
/external/ipsec-tools/src/libipsec/
Dpfkey.c68 static caddr_t pfkey_setsadbmsg __P((caddr_t, caddr_t, u_int, u_int,
70 static caddr_t pfkey_setsadbsa __P((caddr_t, caddr_t, u_int32_t, u_int,
72 static caddr_t pfkey_setsadbaddr __P((caddr_t, caddr_t, u_int,
74 static caddr_t pfkey_setsadbkey __P((caddr_t, caddr_t, u_int, caddr_t, u_int));
75 static caddr_t pfkey_setsadblifetime __P((caddr_t, caddr_t, u_int, u_int32_t,
77 static caddr_t pfkey_setsadbxsa2 __P((caddr_t, caddr_t, u_int32_t, u_int32_t));
80 static caddr_t pfkey_set_natt_type __P((caddr_t, caddr_t, u_int, u_int8_t));
81 static caddr_t pfkey_set_natt_port __P((caddr_t, caddr_t, u_int, u_int16_t));
84 static caddr_t pfkey_set_natt_frag __P((caddr_t, caddr_t, u_int, u_int16_t));
88 static caddr_t pfkey_setsecctx __P((caddr_t, caddr_t, u_int, u_int8_t, u_int8_t,
[all …]
Dlibpfkey.h61 typedef caddr_t ipsec_policy_t;
77 caddr_t keymat;
91 caddr_t ctxstr; /* Security context string */
135 struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t));
138 caddr_t, int, u_int32_t));
140 struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t));
143 caddr_t, int, u_int32_t));
145 struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t));
149 struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t));
154 struct sockaddr *, u_int, u_int, caddr_t, int, u_int32_t));
[all …]
Dkey_debug.c125 ext = (void *)((caddr_t)(void *)base + sizeof(struct sadb_msg));
205 ext = (void *)((caddr_t)(void *)ext + extlen);
281 ipsec_hexdump((caddr_t)(id + 1), len); /*XXX cast ?*/
385 kdebug_sockaddr((void *)((caddr_t)(void *)ext + sizeof(*addr)));
478 addr = (void *)((caddr_t)(void *)addr
498 xisr = (void *)((caddr_t)(void *)xisr
552 ipsec_hexdump((caddr_t)pkt + sizeof(struct sadb_x_packet),
622 ipsec_hexdump((caddr_t)&spidx->src,
625 ipsec_hexdump((caddr_t)&spidx->dst,
643 ipsec_hexdump((caddr_t)&saidx->src,
[all …]
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress05.c107 caddr_t mmapaddr; in main()
129 if ((mmapaddr = (caddr_t) sbrk(0)) == (caddr_t) - 1) { in main()
182 == (caddr_t) - 1) { in main()
189 == (caddr_t) - 1) { in main()
194 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, 0) == (caddr_t) - 1) { in main()
Dmmapstress08.c64 caddr_t mmapaddr, munmap_begin; in main()
79 if ((munmap_begin = mmapaddr = (caddr_t) sbrk(0)) == (caddr_t) - 1) { in main()
88 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0) == (caddr_t) - 1) { in main()
Dmmapstress07.c88 caddr_t mapaddr;
205 if ((mapaddr = mmap64((caddr_t) 0, pagesize * 2 + holesize, PROT_READ,
207 sparseoff)) == (caddr_t) - 1) {
209 if ((mapaddr = mmap((caddr_t) 0, pagesize * 2 + holesize, PROT_READ,
211 sparseoff)) == (caddr_t) - 1) {
/external/libpcap/
Dpcap-pf.c364 if (ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode) < 0) { in pcap_activate_pf()
373 (void)ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode);/* OK if this fails */ in pcap_activate_pf()
376 if (ioctl(p->fd, EIOCSETW, (caddr_t)&backlog) < 0) { in pcap_activate_pf()
383 if (ioctl(p->fd, EIOCDEVP, (caddr_t)&devparams) < 0) { in pcap_activate_pf()
480 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&p->snapshot) < 0) { in pcap_activate_pf()
490 if (ioctl(p->fd, EIOCSETF, (caddr_t)&Filter) < 0) { in pcap_activate_pf()
501 if (ioctl(p->fd, EIOCSRTIMEOUT, (caddr_t)&timeout) < 0) { in pcap_activate_pf()
603 if (ioctl(p->fd, BIOCVERSION, (caddr_t)&bv) >= 0) { in pcap_setfilter_pf()
614 if (ioctl(p->fd, BIOCSETF, (caddr_t)fp) < 0) { in pcap_setfilter_pf()
Dpcap-bpf.c624 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0) { in bpf_open_and_bind()
664 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)bdlp) == 0) { in get_dlt_list()
675 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)bdlp) < 0) { in get_dlt_list()
831 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0) { in pcap_can_set_rfmon_bpf()
915 if (ioctl(p->fd, BIOCGSTATS, (caddr_t)&s) < 0) { in pcap_stats_bpf()
1670 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0) {
1928 if (ioctl(fd, BIOCSETBUFMODE, (caddr_t)&bufmode) == 0) {
1943 if (ioctl(fd, BIOCGETZMAX, (caddr_t)&zbufmax) < 0) {
1956 if ((ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) ||
1980 if (ioctl(fd, BIOCSETZBUF, (caddr_t)&bz) < 0) {
[all …]
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
Dtmod.c99 caddr_t *inparms; in tmod_ioctl()
100 caddr_t *outparms; in tmod_ioctl()
125 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tmod_ioctl()
137 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tmod_ioctl()
Dtmod.h59 caddr_t in_data; // input data
62 caddr_t out_data; // output data
/external/ppp/pppd/
Dsys-linux.c747 if (ioctl(ppp_fd, PPPIOCGFLAGS, (caddr_t) &x) == 0) { in clean_check()
1200 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0) in netif_set_mtu()
1215 if (ifunit >= 0 && ioctl(sock_fd, SIOCGIFMTU, (caddr_t) &ifr) < 0) { in netif_get_mtu()
1235 if (ioctl(ppp_fd, PPPIOCSASYNCMAP, (caddr_t) &asyncmap) < 0) { in tty_send_config()
1279 if (ioctl(ppp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0) { in tty_recv_config()
1284 && ioctl(ppp_dev_fd, PPPIOCSMRU, (caddr_t) &mru) < 0) in tty_recv_config()
1287 if (ioctl(ppp_fd, PPPIOCSRASYNCMAP, (caddr_t) &asyncmap) < 0) { in tty_recv_config()
1309 if (ioctl(ppp_dev_fd, PPPIOCSCOMPRESS, (caddr_t) &data) >= 0) in ccp_test()
1381 req.stats_ptr = (caddr_t) &req.stats;
1720 if (ioctl(sock_fd, SIOCSARP, (caddr_t)&arpreq) < 0) { in sifproxyarp()
[all …]
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Dtagp_ki.c85 tif.in_data = (caddr_t) & wif;
98 rif.data = (caddr_t) p_test->data[1];
104 tif.in_data = (caddr_t) & rif;
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Dtmod_ki.c85 tif.in_data = (caddr_t) & wif;
98 rif.data = (caddr_t) p_test->data[1];
104 tif.in_data = (caddr_t) & rif;
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.h42 caddr_t in_data; // input data
45 caddr_t out_data; // output data
/external/libunwind/tests/
Dtest-ptrace.c298 ptrace (PT_CONTINUE, target_pid, (caddr_t)1, 0); in main()
308 ptrace (PT_STEP, target_pid, (caddr_t)1, pending_sig); in main()
322 ptrace (PT_SYSCALL, target_pid, (caddr_t)1, pending_sig); in main()
333 ptrace (PT_STEP, target_pid, (caddr_t)1, pending_sig); in main()

123456