Home
last modified time | relevance | path

Searched refs:addr_sz (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c11 int __test_listen_socket(int backlog, void *addr, size_t addr_sz) in __test_listen_socket() argument
24 if (bind(sk, (struct sockaddr *)addr, addr_sz) < 0) in __test_listen_socket()
73 void *addr, size_t addr_sz, time_t timeout) in __test_connect_socket() argument
86 err = connect(sk, addr, addr_sz); in __test_connect_socket()
98 if (connect(sk, addr, addr_sz) < 0) { in __test_connect_socket()
116 int __test_set_md5(int sk, void *addr, size_t addr_sz, uint8_t prefix, in __test_set_md5() argument
130 memcpy(&md5sig.tcpm_addr, addr, addr_sz); in __test_set_md5()
139 void *addr, size_t addr_sz, bool set_current, bool set_rnext, in test_prepare_key_sockaddr() argument
156 memcpy(&ao->addr, addr, addr_sz); in test_prepare_key_sockaddr()
183 void *addr, size_t addr_sz, uint8_t prefix, in test_get_one_ao() argument
[all …]
H A Daolib.h292 void *addr, size_t addr_sz, time_t timeout);
293 extern int __test_listen_socket(int backlog, void *addr, size_t addr_sz);
355 extern int __test_set_md5(int sk, void *addr, size_t addr_sz,
371 void *addr, size_t addr_sz, bool set_current, bool set_rnext,
405 void *addr, size_t addr_sz,
/linux/arch/x86/include/asm/
H A Dinsn-eval.h16 #define INSN_CODE_SEG_PARAMS(oper_sz, addr_sz) (oper_sz | (addr_sz << 4)) argument
/linux/drivers/hid/
H A Dhid-picolcd_debugfs.c173 if (data->addr_sz == 3) in _picolcd_flash_setaddr()
175 return data->addr_sz == 2 ? 2 : 3; in _picolcd_flash_setaddr()
507 switch (data->addr_sz) { in picolcd_debug_out_report()
527 switch (data->addr_sz) { in picolcd_debug_out_report()
551 switch (data->addr_sz) { in picolcd_debug_out_report()
733 switch (data->addr_sz) { in picolcd_debug_raw_event()
859 data->addr_sz = flash_r->field[0]->report_count - 1; in picolcd_init_devfs()
861 data->addr_sz = -1; in picolcd_init_devfs()
862 if (data->addr_sz == 2 || data->addr_sz == 3) { in picolcd_init_devfs()
H A Dhid-picolcd.h71 int addr_sz; member
/linux/tools/testing/selftests/net/tcp_ao/
H A Dicmps-accept.c400 socklen_t addr_sz; in send_interfered() local
402 addr_sz = sizeof(src); in send_interfered()
403 if (getsockname(sk, &src, &addr_sz)) in send_interfered()
405 addr_sz = sizeof(dst); in send_interfered()
406 if (getpeername(sk, &dst, &addr_sz)) in send_interfered()
H A Dicmps-discard.c400 socklen_t addr_sz; in send_interfered() local
402 addr_sz = sizeof(src); in send_interfered()
403 if (getsockname(sk, &src, &addr_sz)) in send_interfered()
405 addr_sz = sizeof(dst); in send_interfered()
406 if (getpeername(sk, &dst, &addr_sz)) in send_interfered()