Searched refs:pktbuf (Results 1 – 3 of 3) sorted by relevance
/external/oss-fuzz/projects/unbound/ |
D | parse_packet_fuzzer.c | 16 sldns_buffer pktbuf; in LLVMFuzzerTestOneInput() local 17 sldns_buffer_init_frm_data(&pktbuf, (void*)buf, len); in LLVMFuzzerTestOneInput() 21 parse_packet(&pktbuf, &prs, region); in LLVMFuzzerTestOneInput()
|
/external/iputils/ |
D | tracepath.c | 53 void *pktbuf; variable 261 struct probehdr *hdr = pktbuf; in probe_ttl() 263 memset(pktbuf, 0, mtu); in probe_ttl() 273 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr*)&target, sizeof(target)) > 0) in probe_ttl() 286 if (recv(fd, pktbuf, mtu, MSG_DONTWAIT) > 0) { in probe_ttl() 411 pktbuf = malloc(mtu); in main() 412 if (!pktbuf) { in main()
|
D | tracepath6.c | 65 void *pktbuf; variable 323 struct probehdr *hdr = pktbuf; in probe_ttl() 325 memset(pktbuf, 0, mtu); in probe_ttl() 343 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr *)&target, targetlen) > 0) in probe_ttl() 356 if (recv(fd, pktbuf, mtu, MSG_DONTWAIT) > 0) { in probe_ttl() 529 pktbuf = malloc(mtu); in main() 530 if (!pktbuf) { in main()
|