Searched refs:port (Results 76 - 100 of 982) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/sys/net/agr/
H A Dif_agr.c119 struct agr_port *port; local
125 port = ifp_port->if_agrprivate;
126 KASSERT(port);
127 ifp = port->port_agrifp;
128 if ((port->port_flags & AGRPORT_COLLECTING) == 0) {
216 agrport_ioctl(struct agr_port *port, u_long cmd, void *arg) argument
218 struct ifnet *ifp = port->port_ifp;
220 KASSERT(ifp->if_agrprivate == (void *)port);
223 return (*port->port_ioctl)(ifp, cmd, arg);
231 * Enable vlan hardware assist for the specified port
234 agr_vlan_add(struct agr_port *port, void *arg) argument
265 agr_vlan_del(struct agr_port *port, void *arg) argument
418 struct agr_port *port; local
488 struct agr_port *port; local
567 struct agr_port *port = NULL; local
711 struct agr_port *port; local
770 agrport_cleanup(struct agr_softc *sc, struct agr_port *port) argument
851 struct agr_port *port = ifp->if_agrprivate; local
1151 agrport_config_promisc_callback(struct agr_port *port, void *arg) argument
1169 agrport_config_promisc(struct agr_port *port, bool promisc) argument
[all...]
H A Dif_agrether.c104 * ports capabilities, not just the latest port.
140 agrether_portinit(struct agr_softc *sc, struct agr_port *port) argument
146 struct ethercom *ec_port = (void *)port->port_ifp;
148 port->port_media = IFM_ETHER | IFM_NONE;
172 struct ifnet *p = port->port_ifp;
194 port->port_iftprivate = priv;
204 error = agrport_ioctl(port, SIOCADDMULTI, (void *)&ifr);
206 free(port->port_iftprivate, M_DEVBUF);
207 port->port_iftprivate = NULL;
211 ieee8023ad_portinit(port);
217 agrether_portfini(struct agr_softc *sc, struct agr_port *port) argument
262 agrether_configmulti_port(struct agr_softc *sc, struct agr_port *port, bool add) argument
[all...]
H A Dieee8023ad_lacp.c65 * actor system priority and port priority.
96 struct agr_port *port; local
100 port = ifp->if_agrprivate; /* XXX race with agr_remport. */
101 if (__predict_false(port->port_flags & AGRPORT_DETACHING)) {
105 sc = AGR_SC_FROM_PORT(port);
106 KASSERT(port);
161 lp = LACP_PORT(port);
183 lacp_fill_actorinfo(struct agr_port *port, struct lacp_peerinfo *info) argument
185 struct lacp_port *lp = LACP_PORT(port);
189 CLLADDR(port
198 struct agr_port *port = lp->lp_agrport; local
258 ieee8023ad_lacp_portstate(struct agr_port *port) argument
287 ieee8023ad_lacp_porttick(struct agr_softc *sc, struct agr_port *port) argument
302 lacp_portinit(struct agr_port *port) argument
320 lacp_portfini(struct agr_port *port) argument
344 struct agr_port *port = lp->lp_agrport; local
353 struct agr_port *port = lp->lp_agrport; local
362 struct agr_port *port = lp->lp_agrport; local
399 struct agr_port *port = lp->lp_agrport; local
446 ieee8023ad_portinit(struct agr_port *port) argument
456 ieee8023ad_portfini(struct agr_port *port) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetaddrinfo.c47 int *port,
96 *port = htons(strtol (servname, &endstr, 10));
100 *port = se->s_port;
106 add_one (int port, int protocol, int socktype, argument
108 int (*func)(struct addrinfo *, void *data, int port),
124 ret = (*func)(a, data, port);
135 const_v4 (struct addrinfo *a, void *data, int port) argument
148 sin4->sin_port = port;
155 const_v6 (struct addrinfo *a, void *data, int port) argument
168 sin6->sin6_port = port;
45 get_port_protocol_socktype(const char *servname, const struct addrinfo *hints, int *port, int *protocol, int *socktype) argument
182 get_null(const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
225 add_hostent(int port, int protocol, int socktype, struct addrinfo ***current, int (*func)(struct addrinfo *, void *data, int port), struct hostent *he, int *flags) argument
273 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
313 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
377 int port = 0; local
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dfind_inet.c14 /* int find_inet_port(port, proto)
15 /* const char *port;
25 /* find_inet_port() translates a symbolic or numerical port name.
87 int port; local
89 if (alldig(service) && (port = atoi(service)) != 0) {
90 if (port < 0 || port > 65535)
91 msg_fatal("bad port number: %s", service);
92 return (htons(port));
/netbsd-6-1-5-RELEASE/tests/lib/libc/net/
H A Dh_servent.c42 printf("name=%s, port=%d, proto=%s, aliases=",
53 "\t%s -p <port> [-P <proto>]\n"
63 const char *port = NULL, *proto = NULL, *name = NULL; local
72 port = optarg;
82 if (port && name)
84 if (port) {
85 if ((svp = getservbyport(htons(atoi(port)), proto)) != NULL)
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Ddepca.c139 depca_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) argument
143 bus_space_write_2(dsc->sc_iot, dsc->sc_ioh, DEPCA_RAP, port);
148 depca_rdcsr(struct lance_softc *sc, uint16_t port) argument
152 bus_space_write_2(dsc->sc_iot, dsc->sc_ioh, DEPCA_RAP, port);
159 int port, i; local
165 * a single I/O port. On each read, it rotates to the next
174 port = DEPCA_ADP;
176 if (bus_space_read_1(iot, ioh, port) == 0xff &&
177 bus_space_read_1(iot, ioh, port) == 0x00 &&
178 bus_space_read_1(iot, ioh, port)
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/vr/
H A Dvr4181giu.c78 static int vr4181giu_port_read(hpcio_chip_t hc, int port);
79 static void vr4181giu_port_write(hpcio_chip_t hc, int port, int onoff);
187 vr4181giu_port_read(hpcio_chip_t hc, int port) argument
192 if (port < 0 || 32 <= port)
193 panic("vr4181giu_port_read: invalid gpio port");
195 if (port < 16) {
198 & 1 << port;
202 & 1 << (port - 16);
208 vr4181giu_port_write(hpcio_chip_t hc, int port, in argument
258 vr4181giu_intr_establish( hpcio_chip_t hc, int port, int mode, int (*ih_fun)(void *), void *ih_arg) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hp300/dev/
H A Ddcm.c200 * Conversion from "HP DCE" to almost-normal DCE: on the 638 8-port mux,
234 * Note that 8-port boards appear as 2 4-port boards at consecutive
248 char sc_mcndlast[NDCMPORT]; /* XXX last modem status for port */
372 * Note that we always assume port 1 on the board.
448 aprint_normal(": console on port %d\n", DCMCONSPORT);
456 kgdb_dev = NODEV; /* can't debug over console port */
466 aprint_normal_dev(self, "port %d: ",
471 "port %d: kgdb enabled\n",
486 int unit, brd, port; local
574 int s, unit, board, port; local
610 int unit, board, port; local
627 int unit, board, port; local
644 int unit, board, port; local
661 int unit, board, port; local
782 dcmpint(struct dcm_softc *sc, int port, int code) argument
794 int port; local
801 dcmreadbuf(struct dcm_softc *sc, int port) argument
900 dcmxint(struct dcm_softc *sc, int port) argument
915 dcmmint(struct dcm_softc *sc, int port, int mcnd) argument
962 int board, port, unit = DCMUNIT(dev); local
1076 int unit, board, port, mode, cflag = t->c_cflag; local
1158 int unit, board, port, nch; local
1294 int s, unit, brd, port, hit = 0; local
1412 dcminit(struct dcmdevice *dcm, int port, int rate) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/tx/
H A Dtx39io.c173 io_intr_establish(hpcio_chip_t arg, int port, int mode, int (*func)(void *), argument
179 if (tx39io_intr_map(sc->sc_tc, &src, port, mode) != 0)
187 mfio_intr_establish(hpcio_chip_t arg, int port, int mode, int (*func)(void *), argument
193 if (mfio_intr_map(&src, port, mode) != 0)
213 mfio_out(hpcio_chip_t arg, int port, int onoff) argument
219 DPRINTF("port #%d\n", port);
222 pos = 1 << port;
225 panic("%s: MFIO%d is not output port.",
226 sc->sc_dev.dv_xname, port);
238 mfio_in(hpcio_chip_t arg, int port) argument
247 mfio_intr_map(int *src, int port, int mode) argument
283 tx391x_io_in(hpcio_chip_t arg, int port) argument
293 tx391x_io_out(hpcio_chip_t arg, int port, int onoff) argument
342 tx391x_io_intr_map(int *src, int port, int mode) argument
364 tx392x_io_in(hpcio_chip_t arg, int port) argument
375 tx392x_io_out(hpcio_chip_t arg, int port, int onoff) argument
403 tx392x_io_intr_map(int *src, int port, int mode) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/named/include/named/
H A Dlistenlist.h50 in_port_t port; member in struct:ns_listenelt
66 ns_listenelt_create(isc_mem_t *mctx, in_port_t port,
97 ns_listenlist_default(isc_mem_t *mctx, in_port_t port,
101 * all addresses with port 'port' (if 'enabled' is ISC_TRUE),
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/
H A Dpacket.pl20 # arbitrary address and port. The packet is specified in a file or on
41 # Usage: packet.pl [-a <address>] [-p <port>] [-t (udp|tcp)] [filename]
43 # If not specified, address defaults to 127.0.0.1, port to 53, protocol
56 print ("Usage: packet.pl [-a address] [-p port] [-t (tcp|udp)] [file]\n");
66 my $port = 53;
67 $port = $options{p} if defined $options{p};
94 my $sock = IO::Socket::INET->new(PeerAddr => $addr, PeerPort => $port,
105 print ("sent $bytes bytes to $addr:$port\n");
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Daddress_to_krb5addr.c44 int16_t port,
72 port);
41 _gsskrb5i_address_to_krb5addr(krb5_context context, OM_uint32 gss_addr_type, gss_buffer_desc *gss_addr, int16_t port, krb5_address *address) argument
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/
H A Dportlist.c45 in_port_t port; member in struct:dns_element
68 if (e1->port < e2->port)
70 if (e1->port > e2->port)
107 find_port(dns_element_t *list, unsigned int len, in_port_t port) { argument
114 if (list[xtry].port == port)
116 if (port > list[xtry].port) {
140 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port) argument
191 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port) argument
217 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port) argument
[all...]
/netbsd-6-1-5-RELEASE/share/doc/psd/20.ipctut/
H A Dstrchkread.c69 /* Find out assigned port number and print it out */
75 printf("Socket has port #%d\en", ntohs(server.sin_port));
H A Dstreamread.c69 /* Find out assigned port number and print it out */
75 printf("Socket has port #%d\en", ntohs(server.sin_port));
/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Drpc.c126 int port; /* host order */ local
134 port = rpc_getport(d, prog, vers);
135 if (port == -1)
138 d->destport = htons(port);
284 * dig out the IP address/port from the headers.
287 rpc_fromaddr(void *pkt, struct in_addr *addr, u_short *port) argument
294 u_int16_t uh_sport; /* source port */
295 u_int16_t uh_dport; /* destination port */
304 *port = hhdr->uh_sport;
309 #define rpc_pmap_putcache(addr, prog, vers, port)
322 int port; /* host order */ member in struct:pmap_list
355 rpc_pmap_putcache(struct in_addr addr, u_int prog, u_int vers, int port) argument
391 n_long port; /* call port (unused) */ member in struct:args
394 n_long port; member in struct:res
406 int port; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/pgp2ssh/
H A Dmain.c52 int port; local
59 port = 11371;
71 port = atoi(optarg);
81 if (!hkpc_get(&res, server, port, family, "get", argv[i])) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/demos/bio/
H A Dsaccept.c6 * saccept host:port
7 * host is the interface IP to use. If any interface, use *:port
32 char *port=NULL; local
40 port="*:4433";
42 port=argv[1];
68 if ((in=BIO_new_accept(port)) == NULL) goto err;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/database/ns1/
H A Dnamed.conf127 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
34 port 5300;
H A Dnamed.conf227 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
34 port 5300;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/inline/ns5/
H A Dnamed.conf.post23 controls { inet 10.53.0.5 port 9953 allow { any; } keys { rndc_key; }; };
29 port 5300;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/ixfr/
H A Dsetup.sh27 port 5300;
41 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/tkey/ns1/
H A Dnamed.conf.in26 port 5300;
43 inet 10.53.0.1 port 9953 allow { any; } keys { rndc_key; };
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/system/xfer/ns4/
H A Dnamed.conf.base23 port 5300;
47 inet 10.53.0.4 port 9953 allow { any; } keys { rndc_key; };

Completed in 238 milliseconds

1234567891011>>