Home
last modified time | relevance | path

Searched refs:cmsg_buf (Results 1 – 3 of 3) sorted by relevance

/external/iproute2/examples/bpf/
Dbpf_agent.c168 int *cmsg_buf, min_fd, i; in bpf_map_set_recv() local
171 cmsg_buf = bpf_map_set_init(&msg, NULL, 0); in bpf_map_set_recv()
197 memcpy(&fds[i], cmsg_buf, sizeof(fds[0]) * min_fd); in bpf_map_set_recv()
/external/iproute2/tc/
Dtc_bpf.c1737 int *cmsg_buf, min_fd; in bpf_map_set_send() local
1749 cmsg_buf = bpf_map_set_init(&msg, addr, addr_len); in bpf_map_set_send()
1758 memcpy(cmsg_buf, &aux->fds[i], sizeof(aux->fds[0]) * min_fd); in bpf_map_set_send()
1774 int *cmsg_buf, min_fd; in bpf_map_set_recv() local
1779 cmsg_buf = bpf_map_set_init(&msg, NULL, 0); in bpf_map_set_recv()
1806 memcpy(&fds[i], cmsg_buf, sizeof(fds[0]) * min_fd); in bpf_map_set_recv()
/external/libpcap/
Dpcap-linux.c1562 } cmsg_buf; local
1609 msg.msg_control = &cmsg_buf;
1610 msg.msg_controllen = sizeof(cmsg_buf);