Searched refs:port (Results 226 - 250 of 1305) sorted by relevance

1234567891011>>

/freebsd-current/contrib/libpcap/rpcapd/
H A Dfileconf.c212 char *address, *port; local
237 // mean that we have no port.
267 // value, just a port.
291 // no port in the value.
294 "%s, line %u has an %s parameter with a value containing no port",
300 // Get the port.
306 port = ptr;
313 // no port in the value.
316 "%s, line %u has an %s parameter with a value containing no port",
322 // Null-terminate the port, an
[all...]
/freebsd-current/sbin/nvmecontrol/
H A Dconnect.c65 const char *port, uint16_t cntlid, const char *subnqn)
84 error = connect_nvm_queues(&aparams, trtype, adrfam, address, port,
163 const char *port)
167 qp = connect_discovery_adminq(trtype, address, port, opt.hostnqn);
178 const char *address, *port; local
194 nvmf_parse_address(opt.address, &address, &port, &tofree);
195 if (port == NULL)
196 errx(EX_USAGE, "Explicit port required");
200 error = connect_nvm_controller(trtype, AF_UNSPEC, address, port, cntlid,
212 const char *address, *port; local
64 connect_nvm_controller(enum nvmf_trtype trtype, int adrfam, const char *address, const char *port, uint16_t cntlid, const char *subnqn) argument
162 discover_controllers(enum nvmf_trtype trtype, const char *address, const char *port) argument
[all...]
/freebsd-current/usr.bin/systat/
H A Dnetcmds.c152 error("%s: unknown host or port", tmpstr1);
191 long port; member in struct:pitem
196 selectport(long port, int onoff) argument
200 if (port == -1) {
208 if (p->port == port) {
217 p->port = port;
229 if (p->port == inc->inc_lport || p->port
[all...]
/freebsd-current/contrib/bsnmp/tests/
H A Dsnmp_parse_server.cc147 TEST_CASE("snmp_parse_server: hostname and port", "[snmp_parse_server]") {
151 SECTION("simple name and numeric port") {
153 const auto port = "10007"s; variable
154 const auto str = host + ":" + port;
158 REQUIRE(sc.cport == port);
162 SECTION("simple name and string port") {
164 const auto port = "telnet"s; variable
165 const auto str = host + ":" + port;
169 REQUIRE(sc.cport == port);
173 SECTION("name with embedded colon and numeric port") {
175 const auto port = "10007"s; variable
186 const auto port = "10007"s; variable
197 const auto port = ""s; variable
210 const auto port = "10007"s; variable
221 const auto port = "snmp"s; variable
232 const auto port = ""s; variable
398 const auto port = "ssh"s; variable
410 const auto port = "ssh"s; variable
422 const auto port = "ssh"s; variable
434 const auto port = "ssh"s; variable
494 const auto port = "65000"s; variable
507 const auto port = "ftp"s; variable
520 const auto port = "ftp"s; variable
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A DMakefile.in97 PORTS= port-aix.o \
98 port-irix.o \
99 port-linux.o \
100 port-prngd.o \
101 port-solaris.o \
102 port-net.o \
103 port-uw.o
/freebsd-current/tools/tools/net80211/wesside/dics/
H A Ddics.c104 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) { argument
154 *port = ntohs(s_in.sin_port);
160 char* ip, char* ttl, unsigned short *port) {
179 *port = ntohs(uh->uh_sport);
208 void send_stuff(int s, char* sip, char* ip, unsigned short port, int dlen) { argument
251 dst.sin_port = htons(port);
258 uh->uh_dport = htons(port);
314 unsigned short port; local
396 ip, &ttl, &port)) {
399 ip, port, tt
[all...]
/freebsd-current/sys/dev/cxgb/common/
H A Dcxgb_vsc7323.c193 int t3_vsc7323_set_speed_fc(adapter_t *adap, int speed, int fc, int port) argument
207 if ((r = elmr_write(adap, VSC_REG(1, port, 0),
209 (r = elmr_write(adap, VSC_REG(1, port, 0xb),
211 (r = elmr_write(adap, VSC_REG(1, port, 0xb),
213 (r = elmr_write(adap, VSC_REG(1, port, 0),
221 return elmr_write(adap, VSC_REG(1, port, 1), r);
224 int t3_vsc7323_set_mtu(adapter_t *adap, unsigned int mtu, int port) argument
226 return elmr_write(adap, VSC_REG(1, port, 2), mtu);
229 int t3_vsc7323_set_addr(adapter_t *adap, u8 addr[6], int port) argument
233 ret = elmr_write(adap, VSC_REG(1, port,
241 t3_vsc7323_enable(adapter_t *adap, int port, int which) argument
259 t3_vsc7323_disable(adapter_t *adap, int port, int which) argument
[all...]
/freebsd-current/usr.sbin/ppp/
H A Dserver.c123 "(invalid port number) !\n",
138 "(invalid port number) !\n",
220 u_short port; local
232 } else if (server.cfg.port != 0) {
233 port = server.cfg.port;
235 ret = server_TcpOpen(bundle, port);
289 server.cfg.port = 0;
300 server.cfg.port = 0;
310 server_TcpOpen(struct bundle *bundle, u_short port) argument
[all...]
/freebsd-current/usr.sbin/services_mkdb/
H A Dservices_mkdb.c92 size_t port, proto; local
148 for (port = 0; port < PMASK + 1; port++) {
149 if (svc[port] == NULL)
154 if ((s = svc[port][proto]) == NULL)
156 add(db, s, port, getprotostr(sl, proto), &cnt, warndup);
159 free(svc[port]);
189 add(DB *db, StringList *sl, size_t port, const char *proto, size_t *cnt, argument
199 (void)printf("add %s %zu %s [ ", sl->sl_str[0], port, prot
252 char *name, *port, *proto, *aliases, *cp, *alias; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp53 void GDBRemoteCommunicationServerPlatform::PortMap::AllowPort(uint16_t port) { argument
55 m_port_map.insert({port, LLDB_INVALID_PROCESS_ID});
61 return 0; // Bind to port zero and get a port, we didn't have any
71 "No free port found in port map");
75 uint16_t port, lldb::pid_t pid) {
76 auto pos = m_port_map.find(port);
84 bool GDBRemoteCommunicationServerPlatform::PortMap::FreePort(uint16_t port) { argument
85 std::map<uint16_t, lldb::pid_t>::iterator pos = m_port_map.find(port);
74 AssociatePortWithProcess( uint16_t port, lldb::pid_t pid) argument
160 LaunchGDBServer( const lldb_private::Args &args, std::string hostname, lldb::pid_t &pid, std::optional<uint16_t> &port, std::string &socket_name) argument
240 std::optional<uint16_t> port; local
599 SetPendingGdbServer( lldb::pid_t pid, uint16_t port, const std::string &socket_name) argument
[all...]
/freebsd-current/sys/arm/nvidia/tegra124/
H A Dtegra124_xusbpadctl.c209 struct padctl_port *port);
219 static int usb3_port_init(struct padctl_softc *sc, struct padctl_port *port);
299 struct padctl_port *port; member in struct:padctl_lane
328 /* Define all possible mappings for USB3 port lanes */
341 LANE_MAP(0, PADCTL_PAD_PCIE, 0), /* port USB3-0 -> lane PCIE-0 */
342 LANE_MAP(1, PADCTL_PAD_PCIE, 1), /* port USB3-1 -> lane PCIE-1 */
344 LANE_MAP(1, PADCTL_PAD_SATA, 0), /* port USB3-1 -> lane SATA-0 */
364 usb3_port_init(struct padctl_softc *sc, struct padctl_port *port) argument
369 if (port->internal)
370 reg &= ~SS_PORT_MAP_PORT_INTERNAL(port
548 struct padctl_port *port; local
616 struct padctl_port *port; local
981 struct padctl_port *port; local
1141 struct padctl_port *port; local
[all...]
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c847 static int query_pkey_block(struct mlx4_dev *dev, u8 port, u16 index, u16 *pkey, argument
861 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
873 static int get_full_pkey_table(struct mlx4_dev *dev, u8 port, u16 *table, argument
880 for (i = 0; i < dev->caps.pkey_table_len[port]; i += 32) {
881 err = query_pkey_block(dev, port, i, table + i, inbox, outbox);
891 static enum ib_port_state vf_port_state(struct mlx4_dev *dev, int port, int vf) argument
893 if (mlx4_get_slave_port_state(dev, vf, port) == SLAVE_PORT_UP)
907 u8 port, slave_port; local
920 port = mlx4_slave_convert_port(dev, slave, slave_port);
933 if (port <
1847 mlx4_master_immediate_activate_vlan_qos(struct mlx4_priv *priv, int slave, int port) argument
1939 mlx4_set_default_port_qos(struct mlx4_dev *dev, int port) argument
1951 mlx4_allocate_port_vpps(struct mlx4_dev *dev, int port) argument
1999 int port, err; local
2067 int port; local
2342 int i, j, err, port; local
2570 int i, port; local
2787 mlx4_slave_convert_port(struct mlx4_dev *dev, int slave, int port) argument
2804 mlx4_phys_to_slave_port(struct mlx4_dev *dev, int slave, int port) argument
2815 mlx4_phys_to_slaves_pport(struct mlx4_dev *dev, int port) argument
2858 mlx4_slaves_closest_port(struct mlx4_dev *dev, int slave, int port) argument
2874 mlx4_set_vport_qos(struct mlx4_priv *priv, int slave, int port, int max_tx_rate) argument
2920 mlx4_is_vf_vst_and_prio_qos(struct mlx4_dev *dev, int port, struct mlx4_vport_state *vf_admin) argument
2939 mlx4_valid_vf_state_change(struct mlx4_dev *dev, int port, struct mlx4_vport_state *vf_admin, int vlan, int qos) argument
2971 mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u64 mac) argument
2994 mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan, u8 qos, __be16 proto) argument
3066 mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate, int max_tx_rate) argument
3133 mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, u16 *vlan, u8 *qos) argument
3154 mlx4_set_vf_spoofchk(struct mlx4_dev *dev, int port, int vf, bool setting) argument
3232 mlx4_vf_smi_enabled(struct mlx4_dev *dev, int slave, int port) argument
3245 mlx4_vf_get_enable_smi_admin(struct mlx4_dev *dev, int slave, int port) argument
3261 mlx4_vf_set_enable_smi_admin(struct mlx4_dev *dev, int slave, int port, int enabled) argument
[all...]
/freebsd-current/sys/arm64/nvidia/tegra210/
H A Dtegra210_xusbpadctl.c370 struct padctl_port *port);
381 static int usb3_port_init(struct padctl_softc *sc, struct padctl_port *port);
468 struct padctl_port *port; member in struct:padctl_lane
499 /* Define all possible mappings for USB3 port lanes */
512 LANE_MAP(0, PADCTL_PAD_PCIE, 6), /* port USB3-0 -> lane PCIE-0 */
513 LANE_MAP(1, PADCTL_PAD_PCIE, 5), /* port USB3-1 -> lane PCIE-1 */
514 LANE_MAP(2, PADCTL_PAD_PCIE, 0), /* port USB3-2 -> lane PCIE-0 */
515 LANE_MAP(2, PADCTL_PAD_PCIE, 2), /* port USB3-2 -> lane PCIE-2 */
516 LANE_MAP(3, PADCTL_PAD_PCIE, 4), /* port USB3-3 -> lane PCIE-4 */
1000 usb3_port_init(struct padctl_softc *sc, struct padctl_port *port) argument
1137 struct padctl_port *port; local
1221 struct padctl_port *port; local
1259 struct padctl_port *port; local
1340 struct padctl_port *port; local
1744 struct padctl_port *port; local
1897 struct padctl_port *port; local
[all...]
/freebsd-current/usr.sbin/ctld/
H A Dctld.c641 struct port *port, *tport; local
644 TAILQ_FOREACH_SAFE(port, &pg->pg_ports, p_pgs, tport)
645 port_delete(port);
676 const char *port; local
682 * IPv6 address in square brackets, perhaps with port.
691 port = def_port;
693 port = arg + 1;
701 * a port - or IPv4 address. Just count the colons.
709 port
814 struct port *port; local
1219 struct port *port, *tport; local
1231 struct port *port; local
1261 struct port *port; local
1305 struct port *port; local
1333 struct port *port; local
1346 struct port *port; local
1357 port_delete(struct port *port) argument
1372 port_is_dummy(struct port *port) argument
1421 struct port *port, *tport; local
1807 struct port *port; local
[all...]
/freebsd-current/sys/dev/aic7xxx/
H A Daic79xx_inline.h431 ahd_inw(struct ahd_softc *ahd, u_int port);
432 static __inline void ahd_outw(struct ahd_softc *ahd, u_int port,
435 ahd_inl(struct ahd_softc *ahd, u_int port);
436 static __inline void ahd_outl(struct ahd_softc *ahd, u_int port,
439 ahd_inq(struct ahd_softc *ahd, u_int port);
440 static __inline void ahd_outq(struct ahd_softc *ahd, u_int port,
523 ahd_inw(struct ahd_softc *ahd, u_int port) argument
530 return ((ahd_inb(ahd, port+1) << 8) | ahd_inb(ahd, port));
534 ahd_outw(struct ahd_softc *ahd, u_int port, u_in argument
545 ahd_inl(struct ahd_softc *ahd, u_int port) argument
554 ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value) argument
563 ahd_inq(struct ahd_softc *ahd, u_int port) argument
576 ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value) argument
[all...]
/freebsd-current/sys/dev/etherswitch/e6000sw/
H A De6060sw.c33 * 88E6060 support is only port vlan support. Not support ingress/egress
35 * 88E6065 support is port and dot1q vlan. Also group base tag support.
113 int media; /* cpu port media */
204 int phy, port, err; local
207 port = 0;
214 sc->ifpport[phy] = port;
215 sc->portphy[port] = phy;
216 sc->ifp[port] = if_alloc(IFT_ETHER);
217 if (sc->ifp[port] == NULL) {
223 sc->ifp[port]
332 int i, port; local
372 e6060sw_miiforport(struct e6060sw_softc *sc, int port) argument
383 e6060sw_ifpforport(struct e6060sw_softc *sc, int port) argument
397 int i, port; local
[all...]
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.c254 IBEXIT("cannot resolve CA port %d", ibd_ca_port);
281 IBEXIT("cannot resolve SM destination port %s",
309 {"Port", 'P', 1, "<port>", "Ca port number to use"},
314 {"sm_port", 's', 1, "<lid>", "SM port lid"},
512 int is_port_info_extended_supported(ib_portid_t * dest, int port, argument
519 if (!smp_query_via(data, dest, IB_ATTR_PORT_INFO, port, 0, srcport))
520 IBEXIT("port info query failed");
527 IBWARN("port info capability mask2 = 0x%x doesn't"
532 IBWARN("port inf
576 umad_port_t port; local
601 umad_port_t port; local
777 get_max_msg(char *width_msg, char *speed_msg, int msg_size, ibnd_port_t * port) argument
[all...]
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_multicast.c169 cl_qlist_remove_item(&mcm_port->port->mcm_list,
218 IN const osm_port_t *port)
227 if (mcm_alias_guid->p_base_mcm_port->port == port) {
273 IN osm_mgrp_t * mgrp, osm_port_t *port,
288 cl_ntoh64(port->guid),
294 mcm_port = osm_mcm_port_new(port, mgrp);
311 prev_item = cl_qmap_insert(&mgrp->mcm_port_tbl, port->guid,
314 if (prev_item != &mcm_port->map_item) { /* mcm port already exists */
330 cl_qlist_insert_tail(&port
217 is_qmap_empty_for_port(IN const cl_qmap_t * const p_map, IN const osm_port_t *port) argument
272 osm_mgrp_add_port(IN osm_subn_t * subn, osm_log_t * log, IN osm_mgrp_t * mgrp, osm_port_t *port, IN ib_member_rec_t *mcmr, IN boolean_t proxy) argument
423 osm_mgrp_delete_port(osm_subn_t * subn, osm_log_t * log, osm_mgrp_t * mgrp, osm_port_t * port) argument
[all...]
/freebsd-current/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c331 return "port info";
524 struct madeye_port *port; local
536 port = kmalloc(sizeof *port * (e - s + 1), GFP_KERNEL);
537 if (!port)
542 port[i].smi_agent = ib_register_mad_snoop(device, i + s,
547 &port[i]);
548 port[i].gsi_agent = ib_register_mad_snoop(device, i + s,
553 &port[i]);
557 ib_set_client_data(device, &madeye_client, port);
562 struct madeye_port *port; local
[all...]
/freebsd-current/contrib/pf/ftp-proxy/
H A Dftp-proxy.c88 u_int16_t port; member in struct:session
154 s->port = 0;
222 s->port = parse_port(s->cmd);
223 if (s->port < MIN_PORT) {
224 logmsg(LOG_CRIT, "#%d bad port in '%s'", s->id,
430 * Find out the real server and port that the client wanted.
558 s->port = 0;
785 logmsg(LOG_NOTICE, "listening on %s port %s", listen_ip, listen_port);
800 unsigned int port, v[6]; local
827 n = sscanf(p, "(|||%u|)", &port);
857 proxy_reply(int cmd, struct sockaddr *sa, u_int16_t port) argument
[all...]
/freebsd-current/sys/dev/puc/
H A Dpucdata.c138 * Boca Research Turbo Serial 658 (8 serial port) card.
155 * Dolphin Peripherals 4035 (dual serial port) card. PLX 9050, with
167 * Dolphin Peripherals 4014 (dual parallel port) card. PLX 9050, with
187 * based on Exar PCI chips, f. e. the 8 port variants on XR17V258IV.
727 "Advantech 2-port PCI (PCI-1602 Rev. B1/PCI-1603)",
918 * eMegatech MP954ER4 (4 port) and MP958ER8 (8 port)
921 * Lindy 51189 (4 port)
924 * StarTech.com PEX4S952 (4 port) and PEX8S952 (8 port)
1290 puc_config_advantech(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res __unused) argument
1376 puc_config_amc(struct puc_softc *sc __unused, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1394 puc_config_diva(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1411 puc_config_exar(struct puc_softc *sc __unused, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1423 puc_config_exar_pcie(struct puc_softc *sc __unused, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1447 puc_config_moxa(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1556 puc_config_syba(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1630 puc_config_siig(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1662 puc_config_timedia(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1761 puc_config_oxford_pcie(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1834 puc_config_sunix(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
1859 puc_config_titan(struct puc_softc *sc __unused, enum puc_cfg_cmd cmd, int port, intptr_t *res) argument
[all...]
/freebsd-current/sys/dev/p2sb/
H A Dp2sb.c32 * The indexes of this array (target port ID) can be found on the Table 36-10 of the documentation.
57 #define P2SB_PORT_ADDRESS(port) ((uint32_t)port << P2SB_PORT2ADDRESS_SHIFT)
83 p2sb_port_read_4(device_t dev, uint8_t port, uint32_t reg) argument
87 KASSERT(reg < (1<<P2SB_PORT2ADDRESS_SHIFT), ("register out of port"));
89 return (bus_read_4(sc->res, P2SB_PORT_ADDRESS(port) + reg));
93 p2sb_port_write_4(device_t dev, uint8_t port, uint32_t reg, uint32_t val) argument
97 KASSERT(reg < (1<<P2SB_PORT2ADDRESS_SHIFT), ("register out of port"));
99 bus_write_4(sc->res, P2SB_PORT_ADDRESS(port) + reg, val);
/freebsd-current/sbin/ipf/libipf/
H A Dload_http.c32 int fd, len, left, port, endhdr, removed, linenum = 0; local
95 port = atoi(u);
96 if (port < 0 || port > 65535)
99 port = 80;
103 fd = connecttcp(s, port);
/freebsd-current/usr.sbin/bsdconfig/mouse/
H A Denable73 # Get the type, port, and flags
79 port=$( f_sysrc_get moused_port )
80 [ "$port" ] || f_die 1 "$msg_please_select_protocol_and_port_first"
95 'moused -t "%s" -p "%s" %s' "$type" "$port" "$flags"
/freebsd-current/tools/test/stress2/misc/
H A Djumbo.sh83 int loops, port, server;
114 inetaddr.sin_port = htons(port);
177 inetaddr.sin_port = htons(port);
188 err(1, "connect(%s, %d), %s:%d", host, port, __FILE__,
211 port = atoi(argv[1]);
215 port = atoi(argv[2]);
218 errx(1, "Usage: %s {<host>} <port number>\n", argv[0]);

Completed in 177 milliseconds

1234567891011>>