Home
last modified time | relevance | path

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

1234

/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.c87 caddr_t sa1, sa2;
106 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr;
107 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr;
113 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr;
114 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr;
140 caddr_t sa1, sa2;
160 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr;
161 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr;
173 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr;
174 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) {
Dvmbuf.h49 caddr_t bp; /* pointer to the buffer */
52 caddr_t v; /* place holder to the pointer to the value */
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 …]
Dadmin.c191 caddr_t p = NULL;
282 ((caddr_t)com + sizeof(*com)))->src;
285 ((caddr_t)com + sizeof(*com)))->dst;
337 ((caddr_t)com + sizeof(*com)))->dst;
400 ((caddr_t)com + sizeof(*com)))->src;
403 ((caddr_t)com + sizeof(*com)))->dst;
Dipsec_doi.c155 static int setph1prop __P((struct isakmpsa *, caddr_t));
156 static int setph1trns __P((struct isakmpsa *, caddr_t));
157 static int setph1attr __P((struct isakmpsa *, caddr_t));
1293 caddr_t bp;
1327 bp = (caddr_t)(sab + 1);
1466 caddr_t bp;
1474 bp = (caddr_t)prop + sizeof(struct isakmp_pl_p) + prop->spi_size;
1576 caddr_t bp;
1678 memcpy((caddr_t)p->prop + sizeof(*p->prop), spi, pr->spisize);
1704 caddr_t bp;
[all …]
Dstr2val.c50 caddr_t
55 caddr_t new;
Dmisc.c80 caddr_t buf = (caddr_t)buf0;
Dschedule.c229 caddr_t *buf; in sched_dump()
232 caddr_t new;
312 sched_dump((caddr_t *)&scbuf, &len); in getstdin()
/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/libpcap/
Dpcap-pf.c340 if (ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode) < 0) { in pcap_activate_pf()
348 (void)ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode);/* OK if this fails */ in pcap_activate_pf()
351 if (ioctl(p->fd, EIOCSETW, (caddr_t)&backlog) < 0) { in pcap_activate_pf()
357 if (ioctl(p->fd, EIOCDEVP, (caddr_t)&devparams) < 0) { in pcap_activate_pf()
452 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&p->snapshot) < 0) { in pcap_activate_pf()
461 if (ioctl(p->fd, EIOCSETF, (caddr_t)&Filter) < 0) { in pcap_activate_pf()
471 if (ioctl(p->fd, EIOCSRTIMEOUT, (caddr_t)&timeout) < 0) { in pcap_activate_pf()
538 if (ioctl(p->fd, BIOCVERSION, (caddr_t)&bv) >= 0) { in pcap_setfilter_pf()
549 if (ioctl(p->fd, BIOCSETF, (caddr_t)fp) < 0) { in pcap_setfilter_pf()
Dpcap-bpf.c556 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)bdlp) == 0) { in get_dlt_list()
567 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)bdlp) < 0) { in get_dlt_list()
723 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0) { in pcap_can_set_rfmon_bpf()
807 if (ioctl(p->fd, BIOCGSTATS, (caddr_t)&s) < 0) { in pcap_stats_bpf()
1525 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0) {
1688 if (ioctl(fd, BIOCSETBUFMODE, (caddr_t)&bufmode) == 0) {
1703 if (ioctl(fd, BIOCGETZMAX, (caddr_t)&zbufmax) < 0) {
1716 if ((ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) ||
1740 if (ioctl(fd, BIOCSETZBUF, (caddr_t)&bz) < 0) {
1747 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) < 0) {
[all …]
/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/tcpdump/
Dprint-isakmp.c862 hexprint(netdissect_options *ndo, caddr_t loc, size_t len) in hexprint()
873 rawprint(netdissect_options *ndo, caddr_t loc, size_t len) in rawprint()
905 if(!rawprint(ndo, (caddr_t)(cp), len)) goto trunc; in ike_show_somedata()
908 if(!rawprint(ndo, (caddr_t)(end), elen)) goto trunc; in ike_show_somedata()
952 rawprint(ndo, (caddr_t)&p[2], 2); in ikev1_attrmap_print()
955 rawprint(ndo, (caddr_t)&p[4], EXTRACT_16BITS(&p[2])); in ikev1_attrmap_print()
982 rawprint(ndo, (caddr_t)&p[2], 2); in ikev1_attr_print()
985 rawprint(ndo, (caddr_t)&p[4], EXTRACT_16BITS(&p[2])); in ikev1_attr_print()
1070 if (!rawprint(ndo, (caddr_t)(p + 1), prop.spi_size)) in ikev1_p_print()
1298 if (!rawprint(ndo, (caddr_t)(ext + 1), ntohs(e.len) - 4)) in ikev1_ke_print()
[all …]
/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()
/external/valgrind/memcheck/tests/
Dwritev1.c21 {(caddr_t)-1, CHUNK},
22 {(caddr_t)NULL, 0}
/external/autotest/client/profilers/powertop/src/
Dethernet.c82 ifr.ifr_data = (caddr_t)&wol; in activate_WOL_suggestion()
123 ifr.ifr_data = (caddr_t)&wol; in suggest_WOL_off()

1234