Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 5 of 5) sorted by relevance

/samples/bpf/
Dtrace_output_kern.c19 u64 cookie; in SYSCALL() member
23 data.cookie = 0x12345678; in SYSCALL()
Dtrace_output_user.c26 __u64 cookie; in print_bpf_output() member
29 if (e->cookie != 0x12345678) { in print_bpf_output()
31 e->pid, e->cookie, size); in print_bpf_output()
Dcookie_uid_helper_example.c216 uint64_t cookie; in udp_client() local
218 socklen_t cookie_len = sizeof(cookie); in udp_client()
233 res = getsockopt(s_send, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); in udp_client()
236 res = bpf_map_lookup_elem(map_fd, &cookie, &dataEntry); in udp_client()
255 res = bpf_map_lookup_elem(map_fd, &cookie, &dataEntry); in udp_client()
258 cookie); in udp_client()
260 " Bytes Count: %lu\n\n", cookie, dataEntry.uid, in udp_client()
Dxdp_sample_pkts_kern.c23 u16 cookie; in xdp_sample_prog() member
42 metadata.cookie = 0xdead; in xdp_sample_prog()
Dxdp_sample_pkts_user.c77 __u16 cookie; in print_bpf_output() member
83 if (e->cookie != 0xdead) { in print_bpf_output()
84 printf("BUG cookie %x sized %d\n", e->cookie, size); in print_bpf_output()