Searched refs:port (Results 201 - 225 of 1272) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/wpa/src/wps/
H A Dhttp_server.c34 int port; member in struct:http_server
228 struct http_server * http_server_init(struct in_addr *addr, int port, argument
257 if (port < 0)
258 srv->port = 49152;
260 srv->port = port;
267 sin.sin_port = htons(srv->port);
271 /* search for unused port */
272 if (++srv->port == 65535 || port >
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DUriParser.cpp20 llvm::StringRef &hostname, int &port,
57 // Extract port
62 port = port_value;
64 port = -1;
19 Parse(llvm::StringRef uri, llvm::StringRef &scheme, llvm::StringRef &hostname, int &port, llvm::StringRef &path) argument
/freebsd-13-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw_qos.c85 int mlx4_SET_PORT_PRIO2TC(struct mlx4_dev *dev, u8 port, u8 *prio2tc) argument
102 in_mod = MLX4_SET_PORT_PRIO2TC << 8 | port;
111 int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, argument
150 in_mod = MLX4_SET_PORT_SCHEDULER << 8 | port;
159 int mlx4_ALLOCATE_VPP_get(struct mlx4_dev *dev, u8 port, argument
173 err = mlx4_cmd_box(dev, 0, mailbox->dma, port,
194 int mlx4_ALLOCATE_VPP_set(struct mlx4_dev *dev, u8 port, u8 *vpp_p_up) argument
210 err = mlx4_cmd(dev, mailbox->dma, port,
221 int mlx4_SET_VPORT_QOS_get(struct mlx4_dev *dev, u8 port, u8 vport, argument
235 err = mlx4_cmd_box(dev, 0, mailbox->dma, (vport << 8) | port,
258 mlx4_SET_VPORT_QOS_set(struct mlx4_dev *dev, u8 port, u8 vport, struct mlx4_vport_qos_param *in_param) argument
[all...]
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mad.c34 u16 opmod, u8 port)
51 MLX5_SET(mad_ifc_in, in, port, port);
33 mlx5_core_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, u16 opmod, u8 port) argument
/freebsd-13-stable/contrib/ofed/libibnetdisc/
H A Dibnetdisc_cache.c63 * Bytes 13-16 - port count
82 * 1 byte - port num A
84 * 1 byte - port num B
95 * 8 bytes - node guid port "owned" by
96 * 1 byte - flag indicating if remote port exists
97 * 8 bytes - port guid remotely connected to
98 * 1 byte - port num remotely connected to
120 ibnd_port_t *port; member in struct:ibnd_port_cache
289 if (!port_cache->port_stored_to_fabric && port_cache->port)
290 free(port_cache->port);
416 ibnd_port_t *port = NULL; local
590 ibnd_port_t *port; local
854 _cache_port(int fd, ibnd_port_t * port) argument
889 ibnd_port_t *port = NULL; local
[all...]
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_mcm_port.c39 * This object represents the membership of a port in a multicast group.
54 osm_mcm_port_t *osm_mcm_port_new(IN osm_port_t *port, IN osm_mgrp_t *mgrp) argument
61 p_mcm->port = port;
H A Dosm_qos_parser_l.l81 #define START_NAME {in_single_string = TRUE;} /* single string w/o whitespaces (port group name) */
130 PORT_GROUPS_START port\-groups
131 PORT_GROUPS_END end\-port\-groups
132 PORT_GROUP_START port\-group
133 PORT_GROUP_END end\-port\-group
134 PORT_NUM port\-num
137 PORT_GUID port\-guid
138 TARGET_PORT_GUID target\-port\-guid
139 SOURCE_PORT_GUID source\-port\-guid
140 SOURCE_TARGET_PORT_GUID source\-target\-port\
[all...]
/freebsd-13-stable/sys/mips/malta/
H A Dyamon.h60 typedef void (*t_yamon_print_count)(uint32_t port, char *s, uint32_t count);
67 typedef void (*t_yamon_print)(uint32_t port, const char *s);
70 typedef int (*t_yamon_getchar)(uint32_t port, char *ch);
/freebsd-13-stable/sys/contrib/ngatm/netnatm/api/
H A Dcc_data.c125 const struct ccport *port; local
146 TAILQ_FOREACH(port, &cc->port_list, node_link) {
148 LIST_FOREACH(conn, &port->conn_list, port_link) {
183 econn->port = 0;
201 TAILQ_FOREACH(port, &cc->port_list, node_link) {
202 eport->portno = port->param.port;
203 eport->state = port->admin;
204 LIST_FOREACH(conn, &port->conn_list, port_link) {
206 econn->port
[all...]
/freebsd-13-stable/sys/amd64/pci/
H A Dpci_cfgreg.c59 * For amd64 we assume that type 1 I/O port-based access always works.
137 /* enable configuration space accesses and return data port address */
159 * Do nothing. Writing a 0 to the address port can apparently
168 int port; local
171 port = pci_cfgenable(bus, slot, func, reg, bytes);
172 if (port != 0) {
175 data = inb(port);
178 data = inw(port);
181 data = inl(port);
193 int port; local
[all...]
/freebsd-13-stable/usr.sbin/bhyve/
H A Dpctestdev.c76 int port, int bytes, uint32_t *eax, void *arg);
81 int port, int bytes, uint32_t *eax, void *arg);
83 int port, int bytes, uint32_t *eax, void *arg);
128 debugexit.port = DEBUGEXIT_BASE;
143 ioport.port = IOPORT_BASE;
150 irq.port = IRQ_BASE;
190 pctestdev_debugexit_io(struct vmctx *ctx, int vcpu, int in, int port, argument
222 pctestdev_ioport_io(struct vmctx *ctx, int vcpu, int in, int port, argument
228 if (port + bytes > IOPORT_BASE + IOPORT_LEN)
231 lsb = (port
245 pctestdev_irq_io(struct vmctx *ctx, int vcpu, int in, int port, int bytes, uint32_t *eax, void *arg) argument
[all...]
/freebsd-13-stable/tools/test/net/
H A Dconnect.c41 #define PORT 6969 /* Default port */
48 err(EX_USAGE, "connect [-p port]\n");
55 int port = PORT; local
61 port = atoi(optarg);
72 remoteaddr.sin_port = htons(port);
/freebsd-13-stable/usr.bin/ssh-copy-id/
H A Dssh-copy-id.sh32 echo "usage: ssh-copy-id [-lv] [-i keyfile] [-o option] [-p port] [user@]hostname" >&2
39 printf "%s\n" "$k" | ssh $port -S none $options "$user$h" /bin/sh -c \'' \
64 port=""
89 port=-p$nl$OPTARG
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c107 int port, const struct ib_wc *in_wc,
114 u32 in_modifier = port;
214 * Snoop SM MADs for port info, GUID info, and P_Key table sets, so we can
274 pr_debug("PKEY Change event: port=%d, "
351 " port %d, ix %d (%d)\n",
412 static int mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, argument
420 ret = mlx4_ib_mcg_demux_handler(ibdev, port, slave, sa_mad);
428 int mlx4_ib_find_real_gid(struct ib_device *ibdev, u8 port, __be64 guid) argument
434 if (dev->sriov.demux[port - 1].guid_cache[i] == guid)
442 u8 port, u1
106 mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, const void *in_mad, void *response_mad) argument
441 find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, u8 port, u16 pkey, u16 *ix) argument
482 mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) argument
639 mlx4_ib_demux_mad(struct ib_device *ibdev, u8 port, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) argument
1154 u8 port = eqe->event.port_mgmt_change.port; local
1298 mlx4_ib_multiplex_sa_handler(struct ib_device *ibdev, int port, int slave, struct ib_sa_mad *sa_mad) argument
1322 mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct ib_ah_attr *attr, u8 *s_mac, u16 vlan_id, struct ib_mad *mad) argument
1431 get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) argument
1438 fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, struct ib_ah_attr *ah_attr) argument
1457 int port; local
1916 alloc_pv_object(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx **ret_ctx) argument
1936 free_pv_object(struct mlx4_ib_dev *dev, int slave, int port) argument
1944 create_pv_resources(struct ib_device *ibdev, int slave, int port, int create_tun, struct mlx4_ib_demux_pv_ctx *ctx) argument
2054 destroy_pv_resources(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx *ctx, int flush) argument
2079 mlx4_ib_tunnels_update(struct mlx4_ib_dev *dev, int slave, int port, int do_init) argument
2118 mlx4_ib_alloc_demux_ctx(struct mlx4_ib_dev *dev, struct mlx4_ib_demux_ctx *ctx, int port) argument
[all...]
/freebsd-13-stable/sys/dev/cxgbe/
H A Dt4_tracer.c306 /* convert channel to port iff 0 <= port < 8. */
307 if (tp.port < 4)
308 t->tp.port = sc->chan_map[tp.port];
309 else if (tp.port < 8)
310 t->tp.port = sc->chan_map[tp.port - 4] + 4;
312 t->tp.port = tp.port;
[all...]
/freebsd-13-stable/contrib/ofed/infiniband-diags/src/
H A Dibqueryerrors.c194 ibnd_port_t *port = node->ports[portnum]; local
196 if (!port)
199 iwidth = mad_get_field(port->info, 0, IB_PORT_LINK_WIDTH_ACTIVE_F);
200 ispeed = mad_get_field(port->info, 0, IB_PORT_LINK_SPEED_ACTIVE_F);
201 fdr10 = mad_get_field(port->ext_info, 0,
204 if (port->node->type == IB_NODE_SWITCH)
205 info = (uint8_t *)&port->node->ports[0]->info;
207 info = (uint8_t *)&port->info;
210 espeed = mad_get_field(port->info, 0,
214 istate = mad_get_field(port
652 reset_pc_ext(void *rcvbuf, ib_portid_t * dest, int port, unsigned mask, unsigned timeout, const struct ibmad_port * srcport) argument
690 clear_port(ib_portid_t * portid, uint16_t cap_mask, char *node_name, int port) argument
944 int port = 0; local
1089 ibnd_port_t *port = ibnd_find_port_guid(fabric, port_guid); local
1096 ibnd_port_t *port; local
[all...]
/freebsd-13-stable/sys/compat/x86bios/
H A Dx86bios.c430 x86bios_emu_inb(struct x86emu *emu, uint16_t port) argument
434 if (port == 0xb2) /* APM scratch register */
436 if (port >= 0x80 && port < 0x88) /* POST status register */
440 return (iodev_read_1(port));
444 x86bios_emu_inw(struct x86emu *emu, uint16_t port) argument
449 if (port >= 0x80 && port < 0x88) /* POST status register */
452 if ((port & 1) != 0) {
453 val = iodev_read_1(port);
463 x86bios_emu_inl(struct x86emu *emu, uint16_t port) argument
486 x86bios_emu_outb(struct x86emu *emu, uint16_t port, uint8_t val) argument
500 x86bios_emu_outw(struct x86emu *emu, uint16_t port, uint16_t val) argument
516 x86bios_emu_outl(struct x86emu *emu, uint16_t port, uint32_t val) argument
[all...]
/freebsd-13-stable/sbin/ifconfig/
H A Difgre.c54 uint32_t opts, port; local
65 port = 0;
66 ifr.ifr_data = (caddr_t)&port;
67 if (ioctl(s, GREGPORT, &ifr) == 0 && port != 0)
68 printf("\tudpport: %u\n", port);
/freebsd-13-stable/sys/dev/usb/
H A Dusb_fdt_support.c61 uint32_t port; local
66 * the vendorId,productId rendered in hex. The port number is encoded
69 * both the compatible string and the port number must match.
76 proplen = OF_getencprop(child, "reg", &port, sizeof(port));
77 if (proplen != sizeof(port))
79 if (port == (udev->port_index + 1))
/freebsd-13-stable/sys/cam/ctl/
H A Dctl_frontend.h111 * particular port.
126 * physical_port: This is the physical port number of this
127 * particular port within the driver/hardware. This
129 * virtual_port: This is the virtual port number of this
130 * particular port. This is for things like NP-IV.
184 * targ_port: The CTL layer assigns a "port number" to every
185 * FETD. This port number should be passed back in
282 int ctl_port_register(struct ctl_port *port);
288 int ctl_port_deregister(struct ctl_port *port);
293 void ctl_port_set_wwns(struct ctl_port *port, in
[all...]
/freebsd-13-stable/share/mk/
H A DMakefile46 bsd.port.mk \
47 bsd.port.options.mk \
48 bsd.port.post.mk \
49 bsd.port.pre.mk \
50 bsd.port.subdir.mk \
/freebsd-13-stable/contrib/libpcap/rpcapd/
H A Dfileconf.c205 char *address, *port; local
230 // mean that we have no port.
258 // value, just a port.
282 // no port in the value.
285 "%s, line %u has an %s parameter with a value containing no port",
291 // Get the port.
297 port = ptr;
304 // no port in the value.
307 "%s, line %u has an %s parameter with a value containing no port",
313 // Null-terminate the port, an
[all...]
/freebsd-13-stable/contrib/ofed/libibmad/
H A Dresolve.c55 umad_port_t port; local
60 ret = umad_get_port(srcport->ca_name, srcport->portnum, &port);
64 if (!IB_LID_VALID(port.sm_lid)) {
68 sm_id->sl = port.sm_sl;
70 ret = ib_portid_set(sm_id, port.sm_lid, 0, 0);
71 umad_release_port(&port);
110 umad_port_t port; local
120 if (umad_get_port(srcport->ca_name, srcport->portnum, &port))
123 mad_set_field64(selfgid, 0, IB_GID_PREFIX_F, ntohll(port.gid_prefix));
124 mad_set_field64(selfgid, 0, IB_GID_GUID_F, ntohll(port
[all...]
/freebsd-13-stable/usr.bin/systat/
H A Dnetcmds.c158 error("%s: unknown host or port", tmpstr1);
197 long port; member in struct:pitem
202 selectport(long port, int onoff) argument
206 if (port == -1) {
214 if (p->port == port) {
223 p->port = port;
235 if (p->port == inc->inc_lport || p->port
[all...]
/freebsd-13-stable/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...]

Completed in 188 milliseconds

1234567891011>>