Home
last modified time | relevance | path

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

/Linux-v6.6/tools/perf/util/bpf_skel/
Daugmented_raw_syscalls.bpf.c197 unsigned int socklen = args->args[2]; in sys_enter_connect() local
204 socklen &= sizeof(augmented_args->saddr) - 1; in sys_enter_connect()
206 bpf_probe_read(&augmented_args->saddr, socklen, sockaddr_arg); in sys_enter_connect()
208 return augmented__output(args, augmented_args, len + socklen); in sys_enter_connect()
216 unsigned int socklen = args->args[5]; in sys_enter_sendto() local
222 socklen &= sizeof(augmented_args->saddr) - 1; in sys_enter_sendto()
224 bpf_probe_read(&augmented_args->saddr, socklen, sockaddr_arg); in sys_enter_sendto()
226 return augmented__output(args, augmented_args, len + socklen); in sys_enter_sendto()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dlsm_cgroup.c81 socklen_t socklen; in test_lsm_cgroup_functional() local
192 socklen = sizeof(prio); in test_lsm_cgroup_functional()
193 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
228 socklen = sizeof(prio); in test_lsm_cgroup_functional()
229 ASSERT_GE(getsockopt(accepted_fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
283 socklen = sizeof(prio); in test_lsm_cgroup_functional()
284 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional()
/Linux-v6.6/net/key/
Daf_key.c2032 int socklen = 0; in pfkey_xfrm_policy2msg_size() local
2037 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size()
2046 (socklen * 2) + in pfkey_xfrm_policy2msg_size()
2075 int socklen = pfkey_sockaddr_len(xp->family); in pfkey_xfrm_policy2msg() local
2163 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg()
2164 req_size += socklen * 2; in pfkey_xfrm_policy2msg()
2166 size -= 2*socklen; in pfkey_xfrm_policy2msg()
2189 (struct sockaddr *) (sa + socklen), in pfkey_xfrm_policy2msg()
2476 int af, socklen; in parse_sockaddr_pair() local
2485 socklen = pfkey_sockaddr_len(af); in parse_sockaddr_pair()
[all …]