Home
last modified time | relevance | path

Searched refs:pktbuf (Results 1 – 2 of 2) sorted by relevance

/external/iputils/
Dtracepath.c53 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()
Dtracepath6.c65 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()