Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/examples/bpf/
Daugmented_raw_syscalls.c140 unsigned int socklen = args->args[2]; in sys_enter_connect() local
146 if (socklen > sizeof(augmented_args->saddr)) in sys_enter_connect()
147 socklen = sizeof(augmented_args->saddr); in sys_enter_connect()
149 probe_read(&augmented_args->saddr, socklen, sockaddr_arg); in sys_enter_connect()
151 return augmented__output(args, augmented_args, len + socklen); in sys_enter_connect()
159 unsigned int socklen = args->args[5]; in sys_enter_sendto() local
165 if (socklen > sizeof(augmented_args->saddr)) in sys_enter_sendto()
166 socklen = sizeof(augmented_args->saddr); in sys_enter_sendto()
168 probe_read(&augmented_args->saddr, socklen, sockaddr_arg); in sys_enter_sendto()
170 return augmented__output(args, augmented_args, len + socklen); in sys_enter_sendto()
/kernel/linux/linux-5.10/net/key/
Daf_key.c2033 int socklen = 0; in pfkey_xfrm_policy2msg_size() local
2038 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size()
2047 (socklen * 2) + in pfkey_xfrm_policy2msg_size()
2076 int socklen = pfkey_sockaddr_len(xp->family); in pfkey_xfrm_policy2msg() local
2164 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg()
2165 req_size += socklen * 2; in pfkey_xfrm_policy2msg()
2167 size -= 2*socklen; in pfkey_xfrm_policy2msg()
2190 (struct sockaddr *) (sa + socklen), in pfkey_xfrm_policy2msg()
2477 int af, socklen; in parse_sockaddr_pair() local
2486 socklen = pfkey_sockaddr_len(af); in parse_sockaddr_pair()
[all …]