Home
last modified time | relevance | path

Searched refs:markcond (Results 1 – 4 of 4) sorted by relevance

/external/strace/tests/
Dnlattr_inet_diag_req_v2.c348 static const struct inet_diag_markcond markcond = { in test_inet_diag_bc_mark_cond() local
352 char buf[sizeof(op) + sizeof(markcond)]; in test_inet_diag_bc_mark_cond()
354 memcpy(buf + sizeof(op), pattern, sizeof(markcond)); in test_inet_diag_bc_mark_cond()
356 const unsigned int plen = sizeof(markcond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_mark_cond()
357 sizeof(markcond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_mark_cond()
373 memcpy(buf + sizeof(op), &markcond, sizeof(markcond)); in test_inet_diag_bc_mark_cond()
379 PRINT_FIELD_U("{", markcond, mark); in test_inet_diag_bc_mark_cond()
380 PRINT_FIELD_U(", ", markcond, mask); in test_inet_diag_bc_mark_cond()
/external/strace/tests-m32/
Dnlattr_inet_diag_req_v2.c348 static const struct inet_diag_markcond markcond = { in test_inet_diag_bc_mark_cond() local
352 char buf[sizeof(op) + sizeof(markcond)]; in test_inet_diag_bc_mark_cond()
354 memcpy(buf + sizeof(op), pattern, sizeof(markcond)); in test_inet_diag_bc_mark_cond()
356 const unsigned int plen = sizeof(markcond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_mark_cond()
357 sizeof(markcond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_mark_cond()
373 memcpy(buf + sizeof(op), &markcond, sizeof(markcond)); in test_inet_diag_bc_mark_cond()
379 PRINT_FIELD_U("{", markcond, mark); in test_inet_diag_bc_mark_cond()
380 PRINT_FIELD_U(", ", markcond, mask); in test_inet_diag_bc_mark_cond()
/external/strace/tests-mx32/
Dnlattr_inet_diag_req_v2.c348 static const struct inet_diag_markcond markcond = { in test_inet_diag_bc_mark_cond() local
352 char buf[sizeof(op) + sizeof(markcond)]; in test_inet_diag_bc_mark_cond()
354 memcpy(buf + sizeof(op), pattern, sizeof(markcond)); in test_inet_diag_bc_mark_cond()
356 const unsigned int plen = sizeof(markcond) - 1 > DEFAULT_STRLEN ? in test_inet_diag_bc_mark_cond()
357 sizeof(markcond) + DEFAULT_STRLEN : sizeof(buf) - 1; in test_inet_diag_bc_mark_cond()
373 memcpy(buf + sizeof(op), &markcond, sizeof(markcond)); in test_inet_diag_bc_mark_cond()
379 PRINT_FIELD_U("{", markcond, mark); in test_inet_diag_bc_mark_cond()
380 PRINT_FIELD_U(", ", markcond, mask); in test_inet_diag_bc_mark_cond()
/external/strace/
Dnetlink_inet_diag.c102 struct inet_diag_markcond markcond; in decode_inet_diag_markcond() local
104 if (len < sizeof(markcond)) in decode_inet_diag_markcond()
106 else if (!umove_or_printaddr(tcp, addr, &markcond)) { in decode_inet_diag_markcond()
107 PRINT_FIELD_U("{", markcond, mark); in decode_inet_diag_markcond()
108 PRINT_FIELD_U(", ", markcond, mask); in decode_inet_diag_markcond()