Searched refs:cport (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/bsnmp/tests/ |
H A D | snmp_parse_server.cc | 31 REQUIRE(sc.cport == "snmp"s); 45 REQUIRE(sc.cport == "snmp"s); 54 REQUIRE(sc.cport == "snmp"s); 63 REQUIRE(sc.cport == "snmp"s); 72 REQUIRE(sc.cport == ""s); 81 REQUIRE(sc.cport == ""s); 97 REQUIRE(sc.cport == "snmp"s); 107 REQUIRE(sc.cport == "snmp"s); 117 REQUIRE(sc.cport == "snmp"s); 158 REQUIRE(sc.cport == port); [all …]
|
/freebsd/contrib/bsnmp/lib/ |
H A D | snmpclient.c | 860 c->cport = NULL; in snmp_client_init() 912 if (snmp_client.cport == NULL) { in open_client_udp() 913 if ((snmp_client.cport = malloc(1 + sizeof(DEFAULT_PORT))) in open_client_udp() 918 strcpy(snmp_client.cport, DEFAULT_PORT); in open_client_udp() 925 free(snmp_client.cport); in open_client_udp() 926 snmp_client.cport = ptr; in open_client_udp() 927 strcpy(snmp_client.cport, port); in open_client_udp() 937 error = getaddrinfo(snmp_client.chost, snmp_client.cport, &hints, &res0); in open_client_udp() 1144 free(snmp_client.cport); in snmp_close() 1863 if (cl->cport != NULL) in snmp_client_set_port() [all …]
|
H A D | snmpclient.h | 77 char *cport; /* port number as string */ member
|
/freebsd/crypto/openssh/ |
H A D | mux.c | 690 u_int lport, cport; in mux_master_process_open_fwd() local 700 (r = sshbuf_get_u32(m, &cport)) != 0 || in mux_master_process_open_fwd() 702 (cport != (u_int)PORT_STREAMLOCAL && cport > 65535)) { in mux_master_process_open_fwd() 722 fwd.connect_port = cport; in mux_master_process_open_fwd() 857 u_int lport, cport; in mux_master_process_close_fwd() local 865 (r = sshbuf_get_u32(m, &cport)) != 0 || in mux_master_process_close_fwd() 867 (cport != (u_int)PORT_STREAMLOCAL && cport > 65535)) { in mux_master_process_close_fwd() 888 fwd.connect_port = cport; in mux_master_process_close_fwd() 966 int ok = 0, cport, r, new_fd[2]; in mux_master_process_stdio_fwd() local 977 cport = PORT_STREAMLOCAL; in mux_master_process_stdio_fwd() [all …]
|
H A D | channels.c | 4084 const char *lhost, u_short lport, int cport, in channel_cancel_lport_listener_tcpip() argument 4097 if (cport == CHANNEL_CANCEL_PORT_STATIC) { in channel_cancel_lport_listener_tcpip() 4102 if (c->host_port != cport) in channel_cancel_lport_listener_tcpip() 4147 struct Forward *fwd, int cport, struct ForwardOptions *fwd_opts) in channel_cancel_lport_listener() argument 4154 fwd->listen_host, fwd->listen_port, cport, fwd_opts); in channel_cancel_lport_listener()
|
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptools.c | 1431 if (snmp_client.cport != NULL) { in snmp_tool_freeall() 1432 free(snmp_client.cport); in snmp_tool_freeall() 1433 snmp_client.cport = NULL; in snmp_tool_freeall() 2018 snmp_client.cport); in snmp_output_err_resp()
|