Home
last modified time | relevance | path

Searched refs:NNG_OPT_MAXTTL (Results 1 – 24 of 24) sorted by relevance

/dports/net/nng/nng-1.5.2/src/sp/protocol/pair1/
H A Dpair1_poly_test.c272 NUTS_FAIL(nng_setopt_int(s1, NNG_OPT_MAXTTL, 0), NNG_EINVAL); in test_poly_ttl()
273 NUTS_FAIL(nng_setopt_int(s1, NNG_OPT_MAXTTL, 1000), NNG_EINVAL); in test_poly_ttl()
275 NUTS_FAIL(nng_setopt(s1, NNG_OPT_MAXTTL, &ttl, 1), NNG_EINVAL); in test_poly_ttl()
276 NUTS_FAIL(nng_setopt_bool(s1, NNG_OPT_MAXTTL, true), NNG_EBADTYPE); in test_poly_ttl()
281 NUTS_PASS(nng_setopt_int(s1, NNG_OPT_MAXTTL, 4)); in test_poly_ttl()
282 NUTS_PASS(nng_getopt_int(s1, NNG_OPT_MAXTTL, &ttl)); in test_poly_ttl()
304 NUTS_PASS(nng_setopt_int(s1, NNG_OPT_MAXTTL, 15)); in test_poly_ttl()
317 NUTS_PASS(nng_setopt_int(s1, NNG_OPT_MAXTTL, 15)); in test_poly_ttl()
H A Dpair1_test.c322 NUTS_FAIL(nng_setopt_int(s1, NNG_OPT_MAXTTL, 0), NNG_EINVAL); in test_pair1_ttl()
323 NUTS_FAIL(nng_setopt_int(s1, NNG_OPT_MAXTTL, 1000), NNG_EINVAL); in test_pair1_ttl()
325 NUTS_FAIL(nng_setopt(s1, NNG_OPT_MAXTTL, &ttl, 1), NNG_EINVAL); in test_pair1_ttl()
326 NUTS_FAIL(nng_setopt_bool(s1, NNG_OPT_MAXTTL, true), NNG_EBADTYPE); in test_pair1_ttl()
331 NUTS_PASS(nng_setopt_int(s1, NNG_OPT_MAXTTL, 4)); in test_pair1_ttl()
332 NUTS_PASS(nng_getopt_int(s1, NNG_OPT_MAXTTL, &ttl)); in test_pair1_ttl()
354 NUTS_PASS(nng_setopt_int(s1, NNG_OPT_MAXTTL, 15)); in test_pair1_ttl()
367 NUTS_PASS(nng_setopt_int(s1, NNG_OPT_MAXTTL, 15)); in test_pair1_ttl()
H A Dpair1_poly.c497 .o_name = NNG_OPT_MAXTTL,
H A Dpair.c759 .o_name = NNG_OPT_MAXTTL,
/dports/net/nng/nng-1.5.2/docs/man/
H A Dnng_pair.7.adoc108 xref:nng_options.5.adoc#NNG_OPT_MAXTTL[`NNG_OPT_MAXTTL`]::
125 xref:nng_options.5.adoc#NNG_OPT_MAXTTL[`NNG_OPT_MAXTTL`] option to guard against
H A Dnng_device.3.adoc84 This is controlled via the xref:nng_options.5.adoc#NNG_OPT_MAXTTL[`NNG_OPT_MAXTTL`]
H A Dnng_options.5.adoc38 #define NNG_OPT_MAXTTL "ttl-max"
291 [[NNG_OPT_MAXTTL]] anchor
292 ((`NNG_OPT_MAXTTL`))::
/dports/net/nng/nng-1.5.2/src/sp/protocol/survey0/
H A Dxrespond_test.c326 const char *opt = NNG_OPT_MAXTTL; in test_xresp_ttl_option()
362 NUTS_PASS(nng_socket_set_int(resp, NNG_OPT_MAXTTL, 3)); in test_xresp_ttl_drop()
H A Drespond_test.c484 const char *opt = NNG_OPT_MAXTTL; in test_resp_ttl_option()
520 NUTS_PASS(nng_setopt_int(resp, NNG_OPT_MAXTTL, 3)); in test_resp_ttl_drop()
H A Dxsurvey.c345 .o_name = NNG_OPT_MAXTTL,
H A Dxrespond.c383 .o_name = NNG_OPT_MAXTTL,
H A Dxsurvey_test.c325 const char *opt = NNG_OPT_MAXTTL; in test_xsurvey_ttl_option()
H A Drespond.c648 .o_name = NNG_OPT_MAXTTL,
H A Dsurvey.c620 .o_name = NNG_OPT_MAXTTL,
H A Dsurvey_test.c41 const char *opt = NNG_OPT_MAXTTL; in test_surv_ttl_option()
/dports/net/nng/nng-1.5.2/src/sp/protocol/reqrep0/
H A Dxrep_test.c326 const char *opt = NNG_OPT_MAXTTL; in test_xrep_ttl_option()
362 NUTS_PASS(nng_socket_set_int(rep, NNG_OPT_MAXTTL, 3)); in test_xrep_ttl_drop()
H A Dxreq.c284 .o_name = NNG_OPT_MAXTTL,
H A Dxrep.c398 .o_name = NNG_OPT_MAXTTL,
H A Dxreq_test.c326 const char *opt = NNG_OPT_MAXTTL; in test_xreq_ttl_option()
H A Drep.c662 .o_name = NNG_OPT_MAXTTL,
H A Dreq.c821 .o_name = NNG_OPT_MAXTTL,
H A Dreq_test.c41 const char *opt = NNG_OPT_MAXTTL; in test_req_ttl_option()
/dports/net/nng/nng-1.5.2/include/nng/
H A Dnng.h681 #define NNG_OPT_MAXTTL "ttl-max" macro
/dports/net/nng/nng-1.5.2/src/compat/nanomsg/
H A Dnn.c1022 .opt = NNG_OPT_MAXTTL,