Lines Matching refs:test_case

18 struct test_case {  struct
25 struct test_case test_case; argument
31 .test_case.family = AF_INET,
32 .test_case.type = SOCK_DGRAM,
33 .test_case.proto = IPPROTO_UDP,
38 .test_case.family = AF_INET6,
39 .test_case.type = SOCK_DGRAM,
40 .test_case.proto = IPPROTO_UDP,
46 .test_case.family = AF_UNSPEC,
47 .test_case.type = 0,
48 .test_case.proto = 0,
54 .test_case.family = AF_INET,
55 .test_case.type = SOCK_DGRAM,
56 .test_case.proto = 0,
61 .test_case.family = AF_INET6,
62 .test_case.type = SOCK_DGRAM,
63 .test_case.proto = 0,
68 .test_case.family = AF_INET,
69 .test_case.type = SOCK_DGRAM,
70 .test_case.proto = IPPROTO_UDP,
75 .test_case.family = AF_INET6,
76 .test_case.type = SOCK_DGRAM,
77 .test_case.proto = IPPROTO_UDP,
82 .test_case.family = AF_INET,
83 .test_case.type = SOCK_DGRAM,
84 .test_case.proto = IPPROTO_UDP,
89 .test_case.family = AF_INET6,
90 .test_case.type = SOCK_DGRAM,
91 .test_case.proto = IPPROTO_UDP,
96 .test_case.family = AF_INET6,
97 .test_case.type = SOCK_STREAM,
98 .test_case.proto = IPPROTO_UDP,
104 .test_case.family = AF_PACKET,
105 .test_case.type = SOCK_RAW,
106 .test_case.proto = htons(ETH_P_ALL),
111 .test_case.family = AF_CAN,
112 .test_case.type = SOCK_RAW,
113 .test_case.proto = CAN_RAW,
118 .test_case.family = AF_INET6,
119 .test_case.type = SOCK_STREAM,
120 .test_case.proto = IPPROTO_TLS_1_2,
125 .test_case.family = AF_INET,
126 .test_case.type = SOCK_DGRAM,
127 .test_case.proto = IPPROTO_DTLS_1_0,
132 .test_case.family = AF_CAN,
133 .test_case.type = SOCK_RAW,
134 .test_case.proto = IPPROTO_RAW,
140 .test_case.family = AF_INET,
141 .test_case.type = SOCK_DGRAM,
142 .test_case.proto = 254,
148 .test_case.family = AF_PACKET,
149 .test_case.type = SOCK_RAW,
150 .test_case.proto = htons(ETH_P_IEEE802154),
155 .test_case.family = AF_PACKET,
156 .test_case.type = SOCK_DGRAM,
157 .test_case.proto = htons(ETH_P_IEEE802154),
250 fd = zsock_socket(expected_result[i].test_case.family, in ZTEST()
251 expected_result[i].test_case.type, in ZTEST()
252 expected_result[i].test_case.proto); in ZTEST()