Home
last modified time | relevance | path

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

/external/dhcpcd/
Dbpf.c100 iface->buffer_len = iface->buffer_pos = 0; in open_socket()
183 iface->buffer_pos = 0; in get_raw_packet()
186 memcpy(&packet, iface->buffer + iface->buffer_pos, in get_raw_packet()
190 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen > in get_raw_packet()
199 iface->buffer_pos += BPF_WORDALIGN(packet.bh_hdrlen + in get_raw_packet()
201 if (iface->buffer_pos >= iface->buffer_len) in get_raw_packet()
202 iface->buffer_len = iface->buffer_pos = 0; in get_raw_packet()
Dnet.h108 size_t buffer_size, buffer_len, buffer_pos; member