Searched refs:cookie (Results 1 – 5 of 5) sorted by relevance
/samples/bpf/ |
D | trace_output_kern.c | 19 u64 cookie; in SYSCALL() member 23 data.cookie = 0x12345678; in SYSCALL()
|
D | trace_output_user.c | 26 __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()
|
D | cookie_uid_helper_example.c | 216 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()
|
D | xdp_sample_pkts_kern.c | 23 u16 cookie; in xdp_sample_prog() member 42 metadata.cookie = 0xdead; in xdp_sample_prog()
|
D | xdp_sample_pkts_user.c | 77 __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()
|