Home
last modified time | relevance | path

Searched refs:nconf (Results 1 – 25 of 67) sorted by relevance

123

/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/
Dtirpc_rpcb_rmtcall_dataint.c57 struct netconfig *nconf = NULL; in main() local
77 nconf = getnetconfigent("udp"); in main()
78 if (nconf == NULL) { in main()
93 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
102 cs = rpcb_rmtcall(nconf, argc[1], progNum, VERSNUM, INTPROCNUM, in main()
114 cs = rpcb_rmtcall(nconf, argc[1], progNum, VERSNUM, INTPROCNUM, in main()
126 cs = rpcb_rmtcall(nconf, argc[1], progNum, VERSNUM, LNGPROCNUM, in main()
138 cs = rpcb_rmtcall(nconf, argc[1], progNum, VERSNUM, DBLPROCNUM, in main()
152 cs = rpcb_rmtcall(nconf, argc[1], progNum, VERSNUM, STRPROCNUM, in main()
Dtirpc_rpcb_rmtcall.c53 struct netconfig *nconf = NULL; in main() local
69 nconf = getnetconfigent("udp"); in main()
70 if (nconf == NULL) { in main()
85 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
91 cs = rpcb_rmtcall(nconf, argc[1], progNum, VERSNUM, PROCNUM, in main()
Dtirpc_rpcb_rmtcall_stress.c55 struct netconfig *nconf = NULL; in main() local
74 nconf = getnetconfigent("udp"); in main()
75 if (nconf == NULL) { in main()
92 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
99 cs = rpcb_rmtcall(nconf, argc[1], progNum, VERSNUM, PROCNUM, in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/
Dtirpc_rpcb_set.c47 struct netconfig *nconf = NULL; in main() local
49 nconf = getnetconfigent("udp"); in main()
50 if (nconf == NULL) { in main()
55 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in main()
61 test_status = !rpcb_set(progNum, VERSNUM, nconf, &(transp->xp_ltaddr)); in main()
63 if (!rpcb_unset(progNum, VERSNUM, nconf)) { in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/
Dtirpc_rpcb_unset.c47 struct netconfig *nconf = NULL; in main() local
49 nconf = getnetconfigent("udp"); in main()
50 if (nconf == NULL) { in main()
55 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in main()
61 if (!rpcb_set(progNum, VERSNUM, nconf, &(transp->xp_ltaddr))) { in main()
66 test_status = !rpcb_unset(progNum, VERSNUM, nconf); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/
Dtirpc_clnt_tp_create.c51 struct netconfig *nconf = NULL; in main() local
54 nconf = getnetconfigent("udp"); in main()
56 if ((struct netconfig *)nconf == NULL) { in main()
63 VERSNUM, (struct netconfig *)nconf); in main()
67 printf("nconf : %p\n", nconf); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/
Dtirpc_svc_reg.c53 struct netconfig *nconf = NULL; in main() local
60 nconf = getnetconfigent("udp"); in main()
61 if (nconf == NULL) { in main()
67 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in main()
70 test_status = !svc_reg(transp, progNum, VERSNUM, exm_proc, nconf); in main()
Dtirpc_svc_reg_stress.c54 struct netconfig *nconf = NULL; in main() local
64 nconf = getnetconfigent("udp"); in main()
65 if (nconf == NULL) { in main()
71 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in main()
75 if (svc_reg(transp, progNum, VERSNUM, exm_proc, nconf)) in main()
Dtirpc_svc_reg_mt.c49 struct netconfig *nconf = NULL; in my_thread_process() local
56 nconf = getnetconfigent("udp"); in my_thread_process()
57 if (nconf == NULL) { in my_thread_process()
63 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in my_thread_process()
69 nconf); in my_thread_process()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/
Dtirpc_clnt_tp_create_timed.c51 struct netconfig *nconf = NULL; in main() local
55 nconf = getnetconfigent("udp"); in main()
57 if ((struct netconfig *)nconf == NULL) { in main()
68 VERSNUM, (struct netconfig *)nconf, &tv); in main()
72 printf("nconf : %p\n", nconf); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/
Dtirpc_svc_unreg.c53 struct netconfig *nconf = NULL; in main() local
60 nconf = getnetconfigent("udp"); in main()
61 if (nconf == NULL) { in main()
67 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in main()
70 svc_reg(transp, progNum, VERSNUM, exm_proc, nconf); in main()
Dtirpc_svc_unreg_stress.c54 struct netconfig *nconf = NULL; in main() local
63 nconf = getnetconfigent("udp"); in main()
64 if (nconf == NULL) { in main()
70 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in main()
75 svc_reg(transp, progNum, VERSNUM, exm_proc, nconf); in main()
Dtirpc_svc_unreg_mt.c49 struct netconfig *nconf = NULL; in my_thread_process() local
56 nconf = getnetconfigent("udp"); in my_thread_process()
57 if (nconf == NULL) { in my_thread_process()
63 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in my_thread_process()
67 svc_reg(transp, progNum + atoi(arg), VERSNUM, exm_proc, nconf); in my_thread_process()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/
Dtirpc_clnt_control.c51 struct netconfig *nconf = NULL; in main() local
57 nconf = getnetconfigent("udp"); in main()
59 if ((struct netconfig *)nconf == NULL) { in main()
69 VERSNUM, (struct netconfig *)nconf, &tv); in main()
75 printf("nconf : %p\n", nconf); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/
Dtirpc_clnt_tli_create.c54 struct netconfig *nconf = NULL; in main() local
63 nconf = getnetconfigent("udp"); in main()
64 if (nconf == NULL) { in main()
80 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
86 client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, in main()
Dtirpc_clnt_tli_create_limits.c64 struct netconfig *nconf = NULL; in main() local
73 nconf = getnetconfigent("udp"); in main()
74 if (nconf == NULL) { in main()
91 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
113 client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/
Dtirpc_svcerr_noprog.c54 struct netconfig *nconf = NULL; in main() local
69 nconf = getnetconfigent("udp"); in main()
70 if (nconf == NULL) { in main()
86 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
92 …client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, 667, VERSNUM, 0, 0); /* Wrong Program Number … in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/
Dtirpc_svcerr_weakauth.c54 struct netconfig *nconf = NULL; in main() local
69 nconf = getnetconfigent("udp"); in main()
70 if (nconf == NULL) { in main()
86 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
92 …client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, progNum, VERSNUM, 0, 0); /* Wrong Program Ver… in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/
Dtirpc_svcerr_noproc.c54 struct netconfig *nconf = NULL; in main() local
69 nconf = getnetconfigent("udp"); in main()
70 if (nconf == NULL) { in main()
86 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
92 client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/
Dtirpc_svcerr_systemerr.c54 struct netconfig *nconf = NULL; in main() local
69 nconf = getnetconfigent("udp"); in main()
70 if (nconf == NULL) { in main()
86 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
92 …client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, progNum, VERSNUM, 0, 0); /* Wrong Program Ver… in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/
Dtirpc_svcerr_progvers.c54 struct netconfig *nconf = NULL; in main() local
69 nconf = getnetconfigent("udp"); in main()
70 if (nconf == NULL) { in main()
86 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
92 …client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, progNum, VERSNUM, 0, 0); /* Wrong Program Ver… in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/
Dtirpc_expertlevel_clnt_call.c54 struct netconfig *nconf = NULL; in main() local
70 nconf = getnetconfigent("udp"); in main()
71 if (nconf == NULL) { in main()
86 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
92 client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, in main()
Dtirpc_expertlevel_clnt_call_stress.c55 struct netconfig *nconf = NULL; in main() local
74 nconf = getnetconfigent("udp"); in main()
75 if (nconf == NULL) { in main()
92 if (!rpcb_getaddr(progNum, VERSNUM, nconf, &svcaddr, argc[1])) { in main()
99 client = clnt_tli_create(RPC_ANYFD, nconf, &svcaddr, in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/
Dtirpc_svc_tli_create.c50 struct netconfig *nconf = NULL; in main() local
57 nconf = getnetconfigent("udp"); in main()
58 if (nconf == NULL) { in main()
64 transp = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/
Dtirpc_interlevel_clnt_call.c49 struct netconfig *nconf = NULL; in main() local
54 nconf = getnetconfigent("udp"); in main()
56 if ((struct netconfig *)nconf == NULL) { in main()
66 VERSNUM, (struct netconfig *)nconf, &tv); in main()

123