Searched refs:port (Results 151 - 175 of 982) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/sys/arch/evbmips/include/
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);
/netbsd-6-1-5-RELEASE/sys/net/agr/
H A Dif_agrsubr.c175 struct agr_port *port; local
178 TAILQ_FOREACH(port, &sc->sc_ports, port_q) {
179 if ((port->port_flags & (AGRPORT_LARVAL | AGRPORT_DETACHING))) {
182 error = (func)(port, arg);
212 agr_configmulti_port(struct agr_multiaddrs *ama, struct agr_port *port, argument
217 add ? agrmc_mc_add_callback : agrmc_mc_del_callback, port);
223 agrport_mc_add_callback(struct agr_port *port, void *arg) argument
226 return agrport_ioctl(port, SIOCADDMULTI, arg);
230 agrport_mc_del_callback(struct agr_port *port, void *arg) argument
233 return agrport_ioctl(port, SIOCDELMULT
257 agr_port_getmedia(struct agr_port *port, u_int *media, u_int *status) argument
[all...]
H A Dif_agrtimer.c94 agrtimer_port_tick(struct agr_port *port, void *arg) argument
98 agrport_monitor(port);
99 (*sc->sc_iftop->iftop_porttick)(sc, port);
/netbsd-6-1-5-RELEASE/sys/dev/pci/cxgb/
H A Dcxgb_adapter.h106 int port; member in struct:port_info
267 struct port_info *port; member in struct:sge_txq
301 struct port_info *port; member in struct:sge_qset
346 uint8_t rxpkt_map[8]; /* maps RX_PKT interface values to port ids */
373 struct port_info port[MAX_NPORTS]; member in struct:adapter
397 struct port_info *port; member in struct:t3_rx_mode
408 #define PORT_LOCK(port) sx_xlock(&(port)->lock);
409 #define PORT_UNLOCK(port) sx_xunlock(&(port)
493 t3_init_rx_mode(struct t3_rx_mode *rm, struct port_info *port) argument
[all...]
H A Dcxgb_vsc7323.c199 int t3_vsc7323_set_speed_fc(adapter_t *adap, int speed, int fc, int port) argument
213 if ((r = elmr_write(adap, VSC_REG(1, port, 0),
215 (r = elmr_write(adap, VSC_REG(1, port, 0xb),
217 (r = elmr_write(adap, VSC_REG(1, port, 0xb),
219 (r = elmr_write(adap, VSC_REG(1, port, 0),
227 return elmr_write(adap, VSC_REG(1, port, 1), r);
230 int t3_vsc7323_set_mtu(adapter_t *adap, unsigned int mtu, int port) argument
232 return elmr_write(adap, VSC_REG(1, port, 2), mtu);
235 int t3_vsc7323_set_addr(adapter_t *adap, u8 addr[6], int port) argument
239 ret = elmr_write(adap, VSC_REG(1, port,
247 t3_vsc7323_enable(adapter_t *adap, int port, int which) argument
265 t3_vsc7323_disable(adapter_t *adap, int port, int which) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Drfc6056.c134 * Access the pcb and copy the values of the last port and the ends of
135 * the port range.
226 * Check whether the port picked by the port randomizer is available
231 check_suitable_port(uint16_t port, struct inpcb_hdr *inp_hdr, argument
244 DPRINTF("%s called for argument %d\n", __func__, port);
268 pcb = in_pcblookup_port(table, sin.sin_addr, htons(port), 1,
276 sin.sin_port = port;
284 DPRINTF("%s port approved\n", __func__);
322 htons(port), wil
364 algo_bsd(int algo, uint16_t *port, struct inpcb_hdr *inp_hdr, kauth_cred_t cred) argument
412 algo_random_start(int algo, uint16_t *port, struct inpcb_hdr *inp_hdr, kauth_cred_t cred) argument
466 algo_random_pick(int algo, uint16_t *port, struct inpcb_hdr *inp_hdr, kauth_cred_t cred) argument
613 algo_hash(int algo, uint16_t *port, struct inpcb_hdr *inp_hdr, kauth_cred_t cred) argument
662 algo_doublehash(int algo, uint16_t *port, struct inpcb_hdr *inp_hdr, kauth_cred_t cred) argument
715 algo_randinc(int algo, uint16_t *port, struct inpcb_hdr *inp_hdr, kauth_cred_t cred) argument
759 rfc6056_randport(uint16_t *port, struct inpcb_hdr *inp_hdr, kauth_cred_t cred) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dprivsep.c596 int err, port = 0; local
623 port = extract_port(bind_args.addr);
624 if (port != PORT_ISAKMP && port != PORT_ISAKMP_NATT &&
625 port != lcconf->port_isakmp &&
626 port != lcconf->port_isakmp_natt) {
629 "unauthorized port (%d)\n",
630 port);
702 int port; local
715 memcpy(&port, buf
762 int port; local
799 int port; local
844 int port; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/hkpclient/
H A Dhkpc.c45 hkpc_connect(const char *hostname, const int port, const int fam) argument
56 (void) snprintf(portstr, sizeof(portstr), "%d", port);
78 hostname, port, rc);
87 hkpc_get(char **info, const char *server, const int port, const int family, const char *type, const char *userid) argument
94 if ((sock = hkpc_connect(server, port, family)) < 0) {
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/named/
H A Dlistenlist.c37 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, argument
47 elt->port = port;
105 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, argument
121 result = ns_listenelt_create(mctx, port, acl, &elt);
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/
H A Devhttp.h77 * Binds an HTTP server on the specified address and port.
84 * @param port the port number to listen on
88 int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port);
96 * permissions to bind to a low-numbered port.
167 * Start an HTTP server on the specified address and port
172 * @param port the port number on which the HTTP server should listen
175 struct evhttp *evhttp_start(const char *address, u_short port);
208 /* address of the remote host and the port connectio
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/dec/
H A Dif_le_dec.c151 le_dec_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) argument
155 LEWREG(port, ler1->ler1_rap);
156 LERDWR(port, val, ler1->ler1_rdp);
160 le_dec_rdcsr(struct lance_softc *sc, uint16_t port) argument
165 LEWREG(port, ler1->ler1_rap);
171 * Write a lance register port, reading it back to ensure success. This seems
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32c/
H A Dmain.c84 int port = atoi (portname); local
90 if (port < 1024)
92 printf ("invalid port number %d\n", port);
95 printf ("waiting for tcp console on port %d\n", port);
99 address.sin_port = htons (port);
183 "usage: run [-v] [-C] [-c port] [-t] [-d] [-m r8c|m16c|m32cm|m32c]"
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ocsp/
H A Docsp_lib.c164 /* Parse a URL and split it up into host, port and path components and whether
172 char *host, *port; local
192 port = "80";
197 port = "443";
236 /* Look for optional ':' for port number */
240 port = p + 1;
244 /* Not found: set default port */
245 if (*pssl) port = "443";
246 else port = "80";
249 *pport = BUF_strdup(port);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Drestart.c211 u_short port; local
246 /* Can we restart it? Only if it tells us what port it was using... */
247 if (sscanf(colon, "%*[^,],port%hu)", &port) != 1) {
248 plog(XLOG_WARNING, "No port specified for %s", me->mnt_fsname);
252 /* Maybe we already own that port... */
253 if (port != nfs_port) {
256 if (old_ports[i] == port ||
268 if (create_nfs_service(&soNFS, &port, &nfsxprt, nfs_program_2) != 0) {
269 plog(XLOG_WARNING, "Can't bind to port
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/confgen/
H A Drndc-confgen.c82 %s [-a] [-b bits] [-c keyfile] [-k keyname] [-p port] [-r randomfile] \
88 -p port: the port named will listen on and rndc will connect to\n\
112 int port; local
131 port = DEFAULT_PORT;
165 port = strtol(isc_commandline_argument, &p, 10);
166 if (*p != '\0' || port < 0 || port > 65535)
167 fatal("port '%s' out of range",
242 default-port
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/vr/
H A Dvrgiu.c98 #define MAX_GPIO_OUT 50 /* port 32:49 are output only port */
99 #define MAX_GPIO_INOUT 32 /* input/output port(0:31) */
255 /* Display port status (Input/Output) for debugging */
451 vrgiu_port_read(hpcio_chip_t hc, int port) argument
456 if (!LEGAL_OUT_PORT(port))
457 panic("vrgiu_port_read: illegal gpio port");
459 if (port < 32)
460 on = (vrgiu_regread_4(sc, GIUPIOD_REG) & (1 << port));
462 on = (vrgiu_regread_4(sc, GIUPODAT_REG) & (1 << (port
468 vrgiu_port_write(hpcio_chip_t hc, int port, int onoff) argument
513 vrgiu_intr_establish( hpcio_chip_t hc, int port, int mode, int (*ih_fun)(void *), void *ih_arg) argument
620 int port = ihe->ih_port; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/netstat/
H A Dvtw.c244 fatp_t **hash, **port; local
323 port = fat_tcpv4.port;
326 fat_tcpv4.port = malloc(n * sizeof(*port));
327 if (fat_tcpv4.hash == NULL || fat_tcpv4.port == NULL)
331 snarf(port, fat_tcpv4.port, n * sizeof(*port));
349 fatp_t **hash, **port; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/test/
H A Dregress_http.c81 short port = -1; local
87 port = 8080 + i;
92 if (port == -1)
102 *pport = port;
111 http_connect(const char *address, u_short port) argument
131 sin.sin_port = htons(port);
138 snprintf(strport, sizeof (strport), "%d", port);
312 short port = -1; local
317 http = http_setup(&port, NULL);
320 if (evhttp_bind_socket(http, "127.0.0.1", port
412 short port = -1; local
616 short port = -1; local
677 short port = -1; local
815 short port = -1; local
906 short port = -1; local
1082 short port = -1; local
1273 short port = -1; local
1359 short port = -1; local
1414 short port = -1; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dntp_rfc2553.c144 int port; local
232 * First, look up the service name (port) if it was
239 port = strtol(servname, &e, 10);
243 if (port < 0 || port > 65535)
245 port = htons((unsigned short) port);
250 port = sp->s_port;
259 port = 0;
263 * Set up the port numbe
[all...]
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/
H A Dip_h323_pxy.c58 find_port(int ipaddr, void *data, int datlen, int *off, unsigned short *port) argument
67 *port = 0;
76 *port = (*(dp + 4) << 8) | *(dp + 5);
159 unsigned short port; local
170 if (find_port(ipaddr, data, datlen, &off, &port) == 0) {
174 /* setup a nat rule to set a h245 proxy on tcp-port "port"
176 * map <if> <inter_ip>/<mask> -> <gate_ip>/<mask> proxy port <port> <port>/tc
236 u_short port; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/isa/
H A Disa_machdep.c77 * 0x00ff0000 GPIO port#
159 /* Allocate ISA port space */
163 (struct bus_space_tag_hpcmips *)haa->haa_iot, "ISA port",
174 printf(": ISA port %#x-%#x mem %#x-%#x\n",
220 int port, irq, mode; local
245 * ISA IRQ <-> GPIO port mapping
256 port = INTR_PORT(intr);
258 VPRINTF(("ISA IRQ %d -> %s port %d, %s\n",
259 irq, sc->sc_hc->hc_name, port, intr_mode_names[mode]));
262 return (hpcio_intr_establish(sc->sc_hc, port, intr_mode
293 __read_revid(u_int32_t port) argument
355 u_int32_t port, step; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/mn10300/
H A Ddv-mn103iop.c96 mn10300_ioport port[NR_PORTS]; member in struct:mn103iop
102 callbacks. Wire up our port names etc */
155 /* Initialize the i/o port registers. */
158 io_port->port[i].output = 0;
159 io_port->port[i].output_mode = 0;
160 io_port->port[i].control = 0;
161 io_port->port[i].pin = 0;
163 io_port->port[2].output_mode = 0xff;
216 *(unsigned8 *)dest = io_port->port[io_port_reg].output;
237 *(unsigned8 *)dest = io_port->port[io_port_re
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/systat/
H A Dnetcmds.c170 error("%s: unknown host or port", args);
204 long port; member in struct:pitem
209 selectport(long port, int onoff) argument
213 if (port == -1) {
222 if (p->port == port) {
233 p->port = port;
245 if (p->port == inp->inp_lport || p->port
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/
H A Dms.c53 * wscons aware. Attaches two wsmouse devices, one for each port.
91 /* per-port state */
93 int ms_portno; /* which hardware port, for msintr() */
143 * Given a dev_t, return a pointer to the port's hardware state.
203 * the main mouse is usually on the first port, and port 2 can
206 * the device that represents the port of the mouse in use).
210 * enable scanner, called when someone opens the port.
254 int mb, ub, d, get, put, any, port; local
259 port
430 int unit, port; local
553 struct ms_port *port = cookie; local
568 struct ms_port *port = cookie; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/usb/
H A Duvisor.c96 uByte port; member in struct:uvisor_connection_info::__anon8412
120 uByte port; member in struct:uvisor_palm_connection_info::__anon8413
226 int i, j, hasin, hasout, port; local
311 port = coninfo.connections[i].port;
312 uca.portno = port;
313 uca.bulkin = port | UE_DIR_IN;
314 uca.bulkout = port | UE_DIR_OUT;
322 if (UE_GET_ADDR(ed->bEndpointAddress) == port &&
337 "no proper endpoints for port
[all...]

Completed in 414 milliseconds

1234567891011>>