/freebsd-11-stable/sys/dev/scd/ |
H A D | scdvar.h | 40 struct resource * port; member in struct:scd_softc 58 bus_read_1(_sc->port, _reg) 60 bus_read_multi_1(_sc->port, _reg, _addr, _count) 62 bus_write_1(_sc->port, _reg, _val)
|
/freebsd-11-stable/sys/dev/joy/ |
H A D | joyvar.h | 33 bus_space_handle_t port; member in struct:joy_softc
|
/freebsd-11-stable/usr.sbin/bsdconfig/mouse/ |
H A D | Makefile | 9 SCRIPTS= disable enable flags mouse port type
|
/freebsd-11-stable/tools/test/net/ |
H A D | listen.c | 40 #define PORT 6969 /* Default port */ 48 err(EX_USAGE, "listen [-p port] [-l limit]\n"); 55 int port = PORT; local 62 port = atoi(optarg); 76 localaddr.sin_port = htons(port); 83 err(EX_OSERR, "Could not bind to INADDR_ANY:%d", port);
|
/freebsd-11-stable/contrib/bsnmp/snmpd/ |
H A D | trans_lsock.h | 44 struct lsock_port *port; /* parent port */ member in struct:lsock_peer 51 enum locp type; /* type of port */
|
H A D | trans_lsock.c | 80 struct lsock_port *port = (struct lsock_port *)tp; local 82 (void)remove(port->name); 107 * Open a local port. If this is a datagram socket create also the 114 struct lsock_port *port; local 149 if ((port = calloc(1, sizeof(*port))) == NULL) 154 free(port); 158 if ((port->name = malloc(namelen + 1)) == NULL) { 159 free(port); 164 strncpy(port 219 struct lsock_port *port = (struct lsock_port *)tp; local 500 struct lsock_port *port; member in struct:lsock_dep [all...] |
/freebsd-11-stable/contrib/ofed/libibverbs/examples/ |
H A D | pingpong.h | 39 int pp_get_port_info(struct ibv_context *context, int port,
|
/freebsd-11-stable/contrib/ofed/libibumad/ |
H A D | umad.c | 114 static int release_port(umad_port_t * port) argument 116 free(port->pkeys); 117 port->pkeys = NULL; 118 port->pkeys_size = 0; 130 static int get_port(const char *ca_name, const char *dir, int portnum, umad_port_t * port) argument 138 strncpy(port->ca_name, ca_name, sizeof port->ca_name - 1); 139 port->portnum = portnum; 140 port->pkeys = NULL; 141 port 240 resolve_ca_port(const char *ca_name, int *port) argument 326 int phys_found = -1, port_found = 0, port, port_type; local 465 umad_id_to_dev(int umad_id, char *dev, unsigned *port) argument 482 dev_to_umad_id(const char *dev, unsigned port) argument 687 umad_get_port(const char *ca_name, int portnum, umad_port_t * port) argument 702 umad_release_port(umad_port_t * port) argument [all...] |
/freebsd-11-stable/tests/sys/netinet/ |
H A D | tcp_user_cookie.c | 52 * Setup a TCP server listening on a port for connections, all of 59 int sock, accepted, port, cookie; local 64 fprintf(stderr, "Usage: %s port cookie\n", argv[0]); 68 port = atoi(argv[1]); 78 srv.sin_port = htons(port); 82 err(EX_OSERR, "failed to bind to port %d", port);
|
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | vpmtmr.h | 41 int vpmtmr_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes,
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | post.c | 42 post_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, argument
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UriParser.h | 20 // scheme/hostname/port/path are set to the parsed values 21 // port it set to -1 if it is not included in the URL 26 llvm::StringRef &hostname, int &port,
|
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic7xxx_inline.h | 242 ahc_inw(struct ahc_softc *ahc, u_int port); 243 static __inline void ahc_outw(struct ahc_softc *ahc, u_int port, 246 ahc_inl(struct ahc_softc *ahc, u_int port); 247 static __inline void ahc_outl(struct ahc_softc *ahc, u_int port, 250 ahc_inq(struct ahc_softc *ahc, u_int port); 251 static __inline void ahc_outq(struct ahc_softc *ahc, u_int port, 301 ahc_inw(struct ahc_softc *ahc, u_int port) argument 303 return ((ahc_inb(ahc, port+1) << 8) | ahc_inb(ahc, port)); 307 ahc_outw(struct ahc_softc *ahc, u_int port, u_in argument 314 ahc_inl(struct ahc_softc *ahc, u_int port) argument 323 ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value) argument 332 ahc_inq(struct ahc_softc *ahc, u_int port) argument 345 ahc_outq(struct ahc_softc *ahc, u_int port, uint64_t value) argument [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | pmc.c | 64 #define sc_inw(sc, port) \ 66 rman_get_bushandle((sc)->port_res), (port)) 68 #define sc_outw(sc, port, value) \ 70 rman_get_bushandle((sc)->port_res), (port), (value)) 127 u_int port; local 139 port = isa_get_port(dev); 140 if (port == -1) { 141 port = PMC_ISA_PORT; 144 device_printf(dev, "port = 0x%x\n", port); [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | tcp.c | 64 tcp_OpenConnection(const char *name, char *host, char *port) argument 76 dest.sin_port = htons(atoi(port)); 78 sp = getservbyname(port, "tcp"); 82 log_Printf(LogWARN, "%s: %s: unknown service\n", name, port); 86 log_Printf(LogPHASE, "%s: Connecting to %s:%s/tcp\n", name, host, port); 139 char *cp, *host, *port, *svc; local 145 port = cp + 1; 146 svc = strchr(port, '/'); 155 if (*host && *port) { 156 p->fd = tcp_OpenConnection(p->link.name, host, port); [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | sockaddr.h | 49 #define ISC_SOCKADDR_CMPPORT 0x0002 /*%< compare the port 94 * is ISC_TRUE, the hash value will not depend on the port. 124 in_port_t port); 126 * Construct an isc_sockaddr_t from an IPv4 address and port. 131 in_port_t port); 133 * Construct an isc_sockaddr_t from an IPv6 address and port. 138 in_port_t port); 145 in_port_t port); 147 * Construct an isc_sockaddr_t from an isc_netaddr_t and port. 166 isc_sockaddr_setport(isc_sockaddr_t *sockaddr, in_port_t port); [all...] |
/freebsd-11-stable/usr.sbin/ctld/ |
H A D | discovery.c | 170 struct port *port; local 178 TAILQ_FOREACH(port, &targ->t_ports, p_ts) { 179 if (port->p_portal_group == NULL) 181 TAILQ_FOREACH(portal, &port->p_portal_group->pg_portals, p_next) { 195 port->p_portal_group->pg_tag); 201 port->p_portal_group->pg_tag); 216 const struct port *port) 224 targ = port 215 discovery_target_filtered_out(const struct connection *conn, const struct port *port) argument 282 const struct port *port; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerPlatform.h | 35 // a port chosen by the OS. 38 // If we are using a port map where we can only use certain ports, 39 // get the next available port. 41 // If we are using a port map and we are out of ports, return UINT16_MAX 43 // If we aren't using a port map, return 0 to indicate we should bind to 44 // port 0 and then figure out which port we used. 47 bool AssociatePortWithProcess(uint16_t port, lldb::pid_t pid); 49 bool FreePort(uint16_t port); 58 lldb::pid_t &pid, uint16_t &port, 74 uint16_t port; member in struct:lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::__anon1560 [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-rgmii.c | 145 * out will be received back again on the same port. Externally 148 * @param port IPD port number to loop. 150 void cvmx_helper_rgmii_internal_loopback(int port) argument 152 int interface = (port >> 4) & 1; 153 int index = port & 0xf; 188 int port; local 210 for (port=0; port<num_ports; port [all...] |
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_perfmgr_db.c | 102 static inline perfmgr_db_err_t bad_node_port(db_node_t * node, uint8_t port) argument 106 if (port >= node->num_ports || (!node->esp0 && port == 0)) 112 static inline void mark_port_valid(db_node_t * node, uint8_t port) argument 114 node->ports[port].valid = TRUE; 286 db_port_t * port, perfmgr_db_err_reading_t * cur) 297 cur->symbol_err_cnt, port->err_previous.symbol_err_cnt, 298 port->err_total.symbol_err_cnt); 301 cur->link_err_recover, port->err_previous.link_err_recover, 302 port 285 debug_dump_err_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port_num, db_port_t * port, perfmgr_db_err_reading_t * cur) argument 354 perfmgr_db_add_err_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_err_reading_t * reading) argument 434 perfmgr_db_get_prev_err(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_err_reading_t * reading) argument 455 perfmgr_db_clear_prev_err(perfmgr_db_t * db, uint64_t guid, uint8_t port) argument 477 debug_dump_dc_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port_num, db_port_t * port, perfmgr_db_data_cnt_reading_t * cur) argument 504 perfmgr_db_add_dc_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_data_cnt_reading_t * reading, int ietf_sup) argument 569 perfmgr_db_get_prev_dc(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_data_cnt_reading_t * reading) argument 590 perfmgr_db_clear_prev_dc(perfmgr_db_t * db, uint64_t guid, uint8_t port) argument 796 dump_node_hr(db_node_t * node, FILE * fp, char *port, int err_only) argument 970 perfmgr_db_print_by_name(perfmgr_db_t * db, char *nodename, FILE *fp, char *port, int err_only) argument 998 perfmgr_db_print_by_guid(perfmgr_db_t * db, uint64_t nodeguid, FILE *fp, char *port, int err_only) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_alias_GUID.c | 55 u8 port; member in struct:mlx4_alias_guid_work_context 67 u8 port; member in struct:mlx4_next_alias_guid_work 73 static int get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port, 90 pr_debug("port: %d, guid_indexes: 0x%llx\n", port_num, 113 static __be64 get_cached_alias_guid(struct mlx4_ib_dev *dev, int port, int index) argument 119 return *(__be64 *)&dev->sriov.demux[port - 1].guid_cache[index]; 129 int port, int slave_init) 134 int port_index = port - 1; 152 required_guid = mlx4_get_admin_guid(dev->dev, slave, port); 183 * updated; in this case it waits for the smp_snoop or the port managemen 128 mlx4_ib_slave_alias_guid_event(struct mlx4_ib_dev *dev, int slave, int port, int slave_init) argument 455 invalidate_guid_record(struct mlx4_ib_dev *dev, u8 port, int index) argument 499 u8 port = rec->port + 1; local 584 mlx4_ib_guid_port_init(struct mlx4_ib_dev *dev, int port) argument 608 mlx4_ib_invalidate_all_guid_record(struct mlx4_ib_dev *dev, int port) argument 643 set_required_record(struct mlx4_ib_dev *dev, u8 port, struct mlx4_next_alias_guid_work *next_rec, int record_index) argument 693 get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port, int *resched_delay_sec) argument 725 get_next_record_to_update(struct mlx4_ib_dev *dev, u8 port, struct mlx4_next_alias_guid_work *rec) argument 779 mlx4_ib_init_alias_guid_work(struct mlx4_ib_dev *dev, int port) argument [all...] |
/freebsd-11-stable/sys/dev/etherswitch/ukswitch/ |
H A D | ukswitch.c | 67 int media; /* cpu port media */ 115 int phy, port = 0, err = 0; local 123 sc->ifpport[phy] = port; 124 sc->portphy[port] = phy; 125 sc->ifp[port] = if_alloc(IFT_ETHER); 126 sc->ifp[port]->if_softc = sc; 127 sc->ifp[port]->if_flags |= IFF_UP | IFF_BROADCAST | 129 sc->ifname[port] = malloc(strlen(name)+1, M_UKSWITCH, M_WAITOK); 130 bcopy(name, sc->ifname[port], strlen(name)+1); 131 if_initname(sc->ifp[port], s 225 int i, port; local 263 ukswitch_miiforport(struct ukswitch_softc *sc, int port) argument 272 ukswitch_ifpforport(struct ukswitch_softc *sc, int port) argument 286 int i, port; local [all...] |
/freebsd-11-stable/contrib/ofed/libibnetdisc/ |
H A D | chassis.c | 210 /* Is there a peer port ? */ 214 /* If peer port is Leaf 1, use its chassis GUID */ 385 /* LB slot = table[spine port] */ 390 /* LB asic num = table[spine port] */ 397 /* LB slot = table[spine port] */ 402 /* LB asic num = table[spine port] */ 409 /* LB slot = table[spine port] */ 414 /* LB asic num = table[spine port] */ 421 /* IPR FCR modules connectivity while using sFB4 port as reference */ 451 /* FB slot = table[line port] */ 607 ibnd_port_t *port; local 770 ibnd_port_t *port; local 912 ibnd_port_t *port; local 949 ibnd_port_t *port; local 1014 ibnd_port_t *port = 0; local 1158 voltaire_portmap(ibnd_port_t * port) argument [all...] |
/freebsd-11-stable/contrib/ipfilter/rules/ |
H A D | BASIC_1.FW | 60 pass in quick proto udp from any to any port = 53 keep state group 202 65 #pass in quick proto udp from any to w.x.y.z/32 port = 53 keep state group 202 66 #pass out quick on ppp0 proto udp from a.b.c.d/32 to any port = 53 keep state 70 pass in quick proto tcp from any to any port = ftp keep state group 201 71 pass in quick proto tcp from any to any port = ftp-data keep state group 201 72 pass in quick proto tcp from any port = ftp-data to any port > 1023 keep state group 101 76 pass in quick proto udp from any to any port = ntp keep state group 202 80 pass in quick proto tcp from any to any port = 22 keep state group 201 81 pass in quick proto tcp from any to any port [all...] |
/freebsd-11-stable/tools/tools/netrate/netsend/ |
H A D | netsend.c | 51 int port, port_max; member in struct:_a 64 "netsend [ip] [port[-port_max]] [payloadsize] [packet_rate] [duration]\n"); 134 * We sweep the ports from a->port to a->port_max included. 191 cur_port = a->port; 192 if (a->port == a->port_max) { 223 * The counter is incremented only on the initial port number, 226 if (cur_port == a->port && a->packet_len >= 4) { 230 if (a->port == a->port_max) { /* socket already bound */ 235 cur_port = a->port; 284 long rate, payloadsize, port; local [all...] |