Home
last modified time | relevance | path

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

/linux-5.19.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()
/linux-5.19.10/net/key/
Daf_key.c2029 int socklen = 0; in pfkey_xfrm_policy2msg_size() local
2034 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size()
2043 (socklen * 2) + in pfkey_xfrm_policy2msg_size()
2072 int socklen = pfkey_sockaddr_len(xp->family); in pfkey_xfrm_policy2msg() local
2160 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg()
2161 req_size += socklen * 2; in pfkey_xfrm_policy2msg()
2163 size -= 2*socklen; in pfkey_xfrm_policy2msg()
2186 (struct sockaddr *) (sa + socklen), in pfkey_xfrm_policy2msg()
2473 int af, socklen; in parse_sockaddr_pair() local
2482 socklen = pfkey_sockaddr_len(af); in parse_sockaddr_pair()
[all …]