Searched refs:port (Results 176 - 200 of 985) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/amd/amd/
H A Drestart.c209 u_short port; local
244 /* Can we restart it? Only if it tells us what port it was using... */
245 if (sscanf(colon, "%*[^,],port%hu)", &port) != 1) {
246 plog(XLOG_WARNING, "No port specified for %s", me->mnt_fsname);
250 /* Maybe we already own that port... */
251 if (port != nfs_port) {
254 if (old_ports[i] == port ||
266 if (create_nfs_service(&soNFS, &port, &nfsxprt, nfs_program_2) != 0) {
267 plog(XLOG_WARNING, "Can't bind to port
[all...]
/freebsd-9.3-release/contrib/bind9/bin/confgen/
H A Drndc-confgen.c80 %s [-a] [-b bits] [-c keyfile] [-k keyname] [-p port] [-r randomfile] \
86 -p port: the port named will listen on and rndc will connect to\n\
110 int port; local
129 port = DEFAULT_PORT;
161 port = strtol(isc_commandline_argument, &p, 10);
162 if (*p != '\0' || port < 0 || port > 65535)
163 fatal("port '%s' out of range",
238 default-port
[all...]
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/scripts/
H A Dibqueryerrors.pl55 my $port = $_[1];
61 print(" GUID $addr port $port:");
72 my $data = `smpquery $extra_params -G portinfo $addr $port`;
75 if ($line =~ /^# Port info: Lid (\w+) port.*/) { $lid = $1; }
79 my $hr = $IBswcountlimits::link_ends{"$addr"}{$port};
83 $lid, $port,
92 $lid, $port, $width, $speed);
103 my $port = $_[1];
108 my $data = `perfquery $extra_params -G $addr $port` ||
[all...]
/freebsd-9.3-release/usr.sbin/mount_portalfs/
H A Dpt_tcplisten.c59 * Key will be tcplisten/host/port
61 * Create a TCP socket bound to the requested host and port.
63 * If the port is 0 the caller must find out the returned port number
74 char port[MAXHOSTNAMELEN]; local
96 if (strlen(p) >= sizeof(port))
98 snprintf(port, sizeof(port), "%s", p);
122 sp = getservbyname(port, "tcp");
126 s_port = strtoul(port,
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/ocsp/
H A Docsp_lib.c172 * Parse a URL and split it up into host, port and path components and
181 char *host, *port; local
202 port = "80";
205 port = "443";
243 /* Look for optional ':' for port number */
246 port = p + 1;
248 /* Not found: set default port */
250 port = "443";
252 port = "80";
255 *pport = BUF_strdup(port);
[all...]
/freebsd-9.3-release/sys/dev/amd/
H A Damd.h564 #define amd_read8(amd, port) \
565 bus_space_read_1((amd)->tag, (amd)->bsh, port)
567 #define amd_read16(amd, port) \
568 bus_space_read_2((amd)->tag, (amd)->bsh, port)
570 #define amd_read32(amd, port) \
571 bus_space_read_4((amd)->tag, (amd)->bsh, port)
573 #define amd_write8(amd, port, value) \
574 bus_space_write_1((amd)->tag, (amd)->bsh, port, value)
576 #define amd_write8_multi(amd, port, ptr, len) \
577 bus_space_write_multi_1((amd)->tag, (amd)->bsh, port, pt
[all...]
/freebsd-9.3-release/tools/tools/net80211/wesside/dics/
H A Ddics.c106 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) { argument
156 *port = ntohs(s_in.sin_port);
162 char* ip, char* ttl, unsigned short *port) {
181 *port = ntohs(uh->uh_sport);
210 void send_stuff(int s, char* sip, char* ip, unsigned short port, int dlen) { argument
253 dst.sin_port = htons(port);
260 uh->uh_dport = htons(port);
316 unsigned short port; local
398 ip, &ttl, &port)) {
401 ip, port, tt
[all...]
/freebsd-9.3-release/sys/dev/cxgb/common/
H A Dcxgb_vsc7323.c195 int t3_vsc7323_set_speed_fc(adapter_t *adap, int speed, int fc, int port) argument
209 if ((r = elmr_write(adap, VSC_REG(1, port, 0),
211 (r = elmr_write(adap, VSC_REG(1, port, 0xb),
213 (r = elmr_write(adap, VSC_REG(1, port, 0xb),
215 (r = elmr_write(adap, VSC_REG(1, port, 0),
223 return elmr_write(adap, VSC_REG(1, port, 1), r);
226 int t3_vsc7323_set_mtu(adapter_t *adap, unsigned int mtu, int port) argument
228 return elmr_write(adap, VSC_REG(1, port, 2), mtu);
231 int t3_vsc7323_set_addr(adapter_t *adap, u8 addr[6], int port) argument
235 ret = elmr_write(adap, VSC_REG(1, port,
243 t3_vsc7323_enable(adapter_t *adap, int port, int which) argument
261 t3_vsc7323_disable(adapter_t *adap, int port, int which) argument
[all...]
/freebsd-9.3-release/sys/i386/pci/
H A Dpci_cfgreg.c260 /* enable configuration space accesses and return data port address */
333 * Writing a 0 to the address port can apparently
348 int port; local
351 port = pci_cfgenable(bus, slot, func, reg, bytes);
352 if (port != 0) {
355 data = inb(port);
358 data = inw(port);
361 data = inl(port);
373 int port; local
376 port
402 int port; local
[all...]
/freebsd-9.3-release/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-9.3-release/usr.sbin/services_mkdb/
H A Dservices_mkdb.c93 size_t port, proto; local
147 for (port = 0; port < PMASK + 1; port++) {
148 if (svc[port] == NULL)
153 if ((s = svc[port][proto]) == NULL)
155 add(db, s, port, getprotostr(sl, proto), &cnt, warndup);
158 free(svc[port]);
174 add(DB *db, StringList *sl, size_t port, const char *proto, size_t *cnt, argument
184 (void)printf("add %s %zu %s [ ", sl->sl_str[0], port, prot
236 char *name, *port, *proto, *aliases, *cp, *alias; local
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmain.c74 static void *get_ibdev(struct mlx4_dev *dev, void *ctx, u8 port) argument
83 int port; member in struct:update_gid_work
200 static void ib_link_query_port(struct ib_device *ibdev, u8 port, argument
211 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port];
213 props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port];
262 static int eth_link_query_port(struct ib_device *ibdev, u8 port, argument
273 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port];
287 ndev = iboe->netdevs[port - 1];
306 static int mlx4_ib_query_port(struct ib_device *ibdev, u8 port, argument
322 in_mad->attr_mod = cpu_to_be32(port);
339 __mlx4_ib_query_gid(struct ib_device *ibdev, u8 port, int index, union ib_gid *gid) argument
377 iboe_query_gid(struct ib_device *ibdev, u8 port, int index, union ib_gid *gid) argument
387 mlx4_ib_query_gid(struct ib_device *ibdev, u8 port, int index, union ib_gid *gid) argument
396 mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) argument
459 mlx4_SET_PORT(struct mlx4_ib_dev *dev, u8 port, int reset_qkey_viols, u32 cap_mask) argument
487 mlx4_ib_modify_port(struct ib_device *ibdev, u8 port, int mask, struct ib_port_modify *props) argument
1103 update_ipv6_gids(struct mlx4_ib_dev *dev, int port, int clear) argument
1196 handle_en_event(struct mlx4_ib_dev *dev, int port, unsigned long event) argument
1212 netdev_added(struct mlx4_ib_dev *dev, int port) argument
1217 netdev_removed(struct mlx4_ib_dev *dev, int port) argument
1229 int port; local
1501 mlx4_ib_event(struct mlx4_dev *dev, void *ibdev_ptr, enum mlx4_dev_event event, int port) argument
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_rpc.c80 ev_uint16_t port; local
90 event_errx(1, "Couldn't open web port");
92 port = regress_get_socket_port(evhttp_bound_socket_get_fd(sock));
94 *pport = port;
140 ev_uint16_t port; local
144 http = http_setup(&port);
151 *pport = port;
187 ev_uint16_t port; local
193 rpc_setup(&http, &port, &base);
195 evcon = evhttp_connection_new("127.0.0.1", port);
256 ev_uint16_t port; local
309 rpc_pool_with_connection(ev_uint16_t port) argument
448 ev_uint16_t port; local
534 ev_uint16_t port; local
634 ev_uint16_t port; local
686 ev_uint16_t port; local
[all...]
/freebsd-9.3-release/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-9.3-release/sys/dev/buslogic/
H A Dbt_isa.c58 struct resource *port; local
63 port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
65 if (!port)
72 if (port)
74 0, port);
84 if (port)
86 0, port);
95 bt_init_softc(dev, port, irq, drq);
105 if (bt->port)
106 bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->port);
[all...]
/freebsd-9.3-release/usr.bin/sockstat/
H A Dsockstat.c184 int port, end; local
192 errx(1, "syntax error in port range");
195 for (port = 0; p < q; ++p)
196 port = port * 10 + digittoint(*p);
197 if (port < 0 || port > 65535)
198 errx(1, "invalid port number");
199 SET_PORT(port);
215 if (end < port || en
225 sockaddr(struct sockaddr_storage *sa, int af, void *addr, int port) argument
504 int off, port = 0; local
577 int port; local
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c326 return "port info";
519 struct madeye_port *port; local
531 port = kmalloc(sizeof *port * (e - s + 1), GFP_KERNEL);
532 if (!port)
537 port[i].smi_agent = ib_register_mad_snoop(device, i + s,
542 &port[i]);
543 port[i].gsi_agent = ib_register_mad_snoop(device, i + s,
548 &port[i]);
552 ib_set_client_data(device, &madeye_client, port);
557 struct madeye_port *port; local
[all...]
/freebsd-9.3-release/contrib/pf/ftp-proxy/
H A Dftp-proxy.c91 u_int16_t port; member in struct:session
157 s->port = 0;
225 s->port = parse_port(s->cmd);
226 if (s->port < MIN_PORT) {
227 logmsg(LOG_CRIT, "#%d bad port in '%s'", s->id,
433 * Find out the real server and port that the client wanted.
561 s->port = 0;
788 logmsg(LOG_NOTICE, "listening on %s port %s", listen_ip, listen_port);
803 unsigned int port, v[6]; local
830 n = sscanf(p, "(|||%u|)", &port);
860 proxy_reply(int cmd, struct sockaddr *sa, u_int16_t port) argument
[all...]
/freebsd-9.3-release/bin/date/
H A Dnetdate.c76 int s, port, timed_ack, found, lerr; local
97 for (port = IPPORT_RESERVED - 1; port > IPPORT_RESERVED / 2; port--) {
98 lsin.sin_port = htons((u_short)port);
107 if (port == IPPORT_RESERVED / 2) {
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dload_http.c22 int fd, len, left, port, endhdr, removed; local
72 port = atoi(u);
73 if (port < 0 || port > 65535)
76 port = 80;
81 sin.sin_port = htons(port);
/freebsd-9.3-release/contrib/ofed/management/opensm/include/opensm/
H A Dosm_perfmgr_db.h128 * Store all the port counters for a single port.
139 * group port counters for ports into the nodes
169 uint8_t port,
172 uint8_t port,
175 uint8_t port);
178 uint8_t port,
182 uint8_t port,
186 uint8_t port);
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dsocket.c77 * set `sa' to (`ptr', `port')
81 socket_set_address_and_port (struct sockaddr *sa, const void *ptr, int port) argument
89 sin4->sin_port = port;
99 sin6->sin6_port = port;
175 * Return the port number from `sa'.
199 * Set the port in `sa' to `port'.
203 socket_set_port (struct sockaddr *sa, int port) argument
208 sin4->sin_port = port;
214 sin6->sin6_port = port;
[all...]
/freebsd-9.3-release/crypto/heimdal/tests/kdc/
H A Dcheck-uu.in50 port=@port@
53 kdc="${TESTS_ENVIRONMENT} ../../kdc/kdc --addresses=localhost -P $port"
/freebsd-9.3-release/sys/dev/digi/
H A Ddigi_isa.c91 /* outb(sc->port, 0); */
107 * sc->port should be set and its resource allocated.
117 outb(sc->port, FEPRST);
118 for (i = 0; (inb(sc->port) & FEPMASK) != FEPRST; i++) {
125 ident = inb(sc->port);
166 sc->wport = sc->port;
180 sc->wport = sc->port + 1;
189 outb(sc->port, 1);
190 ident = inb(sc->port);
205 sc->wport = sc->port;
[all...]
/freebsd-9.3-release/sys/dev/scd/
H A Dscd_isa.c45 /* IO port must be configured. */
130 sc->port = bus_alloc_resource_any(dev, sc->port_type,
132 if (sc->port == NULL) {
137 sc->port_bst = rman_get_bustag(sc->port);
138 sc->port_bsh = rman_get_bushandle(sc->port);
155 if (sc->port) {
156 bus_release_resource(dev, sc->port_type, sc->port_rid, sc->port);

Completed in 345 milliseconds

1234567891011>>