Home
last modified time | relevance | path

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

/samples/bpf/
Dtest_probe_write_user_user.c19 socklen_t sockaddr_len; in main() local
70 sockaddr_len = sizeof(serv_addr); in main()
71 assert(getsockname(serverfd, &serv_addr, &sockaddr_len) == 0); in main()
89 sockaddr_len = sizeof(tmp_addr); in main()
91 assert((serverconnfd = accept(serverfd, &tmp_addr, &sockaddr_len)) > 0); in main()
95 sockaddr_len = sizeof(tmp_addr); in main()
96 assert(getpeername(clientfd, &tmp_addr, &sockaddr_len) == 0); in main()
Dtest_probe_write_user_kern.c36 int sockaddr_len = (int)PT_REGS_PARM3_CORE(real_regs); in SYSCALL() local
40 if (sockaddr_len > sizeof(orig_addr)) in SYSCALL()