Home | History | Annotate | Download | only in android-clat

Lines Matching defs:packet

16  * ring.c - packet ring buffer functions
35 logmsg(ANDROID_LOG_FATAL, "packet socket failed: %s", strerror(errno));
87 * advances to the next position in the packet ring
88 * ring - packet ring buffer
113 * reads a packet from the ring buffer and translates it
114 * read_fd - file descriptor to read original packet from
115 * write_fd - file descriptor to write translated packet to
116 * to_ipv6 - whether the packet is to be translated to ipv6 or ipv4
121 uint8_t *packet = ((uint8_t *) tp) + tp->tp_net;
122 translate_packet(write_fd, to_ipv6, packet, tp->tp_len);