Lines Matching refs:in
86 int in; member
93 const char *in, *out; member
107 int in[2]; member
114 &s->in[0], &s->out[0], in socket_spec_pairs()
115 &s->in[1], &s->out[1]); in socket_spec_pairs()
120 xclose(s->in[0]); in socket_spec_close()
121 xclose(s->in[1]); in socket_spec_close()
214 if (xbpf_map_update_elem(maps->in, &u32(0), &u64(sd_in), BPF_NOEXIST)) in test_send_redir_recv()
275 xbpf_map_delete_elem(maps->in, &u32(0)); in test_send_redir_recv()
278 static int is_redir_supported(enum prog_type type, const char *in, in is_redir_supported() argument
308 (!strcmp(c->in, "any") || strstarts(in, c->in)) && in is_redir_supported()
316 static int get_support_status(enum prog_type type, const char *in, in get_support_status() argument
319 int status = is_redir_supported(type, in, out); in get_support_status()
335 fd_in = s_in->in[0]; in test_socket()
337 fd_send = s_in->in[redir->idx_send]; in test_socket()
338 fd_peer = s_in->in[redir->idx_send ^ 1]; in test_socket()
393 struct socket_spec *in = &sockets[i]; in test_redir() local
397 (in->family == out->family && in test_redir()
398 in->sotype == out->sotype)) in test_redir()
401 test_socket(type, redir, maps, in, out); in test_redir()
432 maps.in = bpf_map__fd(skel->maps.nop_map); in test_map()
436 maps.in = bpf_map__fd(skel->maps.nop_hash); in test_map()
449 if (xbpf_prog_attach(prog_fd, maps.in, attach_type, 0)) in test_map()
454 if (xbpf_prog_detach2(prog_fd, maps.in, attach_type)) in test_map()