/freebsd-current/usr.bin/tftp/ |
H A D | tftp.c | 64 xmitfile(int peer, char *port, int fd, char *name, char *mode) argument 69 struct sockaddr_storage serv; /* valid server port number */ 78 if (port == NULL) { 85 htons(atoi(port)); 101 * The first packet we receive has the new destination port 166 recvfile(int peer, char *port, int fd, char *name, char *mode) argument 178 if (port == NULL) { 185 htons(atoi(port)); 201 * The first packet we receive has the new destination port
|
/freebsd-current/sys/dev/tdfx/ |
H A D | tdfx_pci.c | 508 /* We must restrict the size reads from the port, since to high or low of a 511 switch(piod->port) { 550 piod->port, 1); 554 piod->port, 2); 558 piod->port, 4); 597 switch(piod->port) { 617 retval = pci_read_config(tdfx_info->dev, piod->port & ~3, 4); 626 preval = ret_byte << (8 * (piod->port & 0x3)); 627 mask = 0xff << (8 * (piod->port & 0x3)); 633 preval = ret_word << (8 * (piod->port [all...] |
/freebsd-current/sbin/nvmecontrol/ |
H A D | reconnect.c | 59 const char *address, const char *port) 85 error = connect_nvm_queues(&aparams, trtype, adrfam, address, port, 107 const char *address, *port; local 119 nvmf_parse_address(opt.address, &address, &port, &tofree); 122 if (port == NULL) 123 errx(EX_USAGE, "Explicit port required"); 125 error = reconnect_nvm_controller(fd, trtype, AF_UNSPEC, address, port); 58 reconnect_nvm_controller(int fd, enum nvmf_trtype trtype, int adrfam, const char *address, const char *port) argument
|
/freebsd-current/sys/amd64/include/ |
H A D | cpufunc.h | 131 inb(u_int port) argument 135 __asm __volatile("inb %w1, %0" : "=a" (data) : "Nd" (port)); 140 inl(u_int port) argument 144 __asm __volatile("inl %w1, %0" : "=a" (data) : "Nd" (port)); 149 insb(u_int port, void *addr, size_t count) argument 153 : "d" (port) 158 insw(u_int port, void *addr, size_t count) argument 162 : "d" (port) 167 insl(u_int port, void *addr, size_t count) argument 171 : "d" (port) 182 inw(u_int port) argument 191 outb(u_int port, u_char data) argument 197 outl(u_int port, u_int data) argument 203 outsb(u_int port, const void *addr, size_t count) argument 211 outsw(u_int port, const void *addr, size_t count) argument 219 outsl(u_int port, const void *addr, size_t count) argument 227 outw(u_int port, u_short data) argument [all...] |
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | krbhst.c | 53 * if `port' != 0, force that port number 59 const char *proto, const char *service, int port) 81 else if(port == 0) 84 def_port = port; 134 if (port != 0) 135 hi->port = port; 137 hi->port = rr->u.srv->port; 57 srv_find_realm(krb5_context context, krb5_krbhst_info ***res, int *count, const char *realm, const char *dns_type, const char *proto, const char *service, int port) argument 153 int port; /* hardwired port number if != 0 */ member in struct:krb5_krbhst_data 204 parse_hostspec(krb5_context context, struct krb5_krbhst_data *kd, const char *spec, int def_port, int port) argument 312 append_host_string(krb5_context context, struct krb5_krbhst_data *kd, const char *host, int def_port, int port) argument 492 fallback_get_hosts(krb5_context context, struct krb5_krbhst_data *kd, const char *serv_string, int port, int proto) argument 560 char host[NI_MAXHOST], port[NI_MAXSERV]; local [all...] |
/freebsd-current/sys/dev/isci/scil/ |
H A D | scif_sas_domain.c | 151 "Domain:0x%x no associated core port found\n", 277 SCI_PORT_HANDLE_T port, 282 sci_base_object_get_logger((SCIF_SAS_DOMAIN_T*)sci_object_get_association(port)), 285 controller, port, completion_status 293 SCI_PORT_HANDLE_T port 297 sci_object_get_association(port); 303 controller, port 306 // The controller supplied with the port should match the controller 319 SCI_PORT_HANDLE_T port, 324 sci_object_get_association(port); 275 scic_cb_port_stop_complete( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_STATUS completion_status ) argument 317 scic_cb_port_not_ready( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, U32 reason_code ) argument 350 scic_cb_port_hard_reset_complete( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_STATUS completion_status ) argument 398 scic_cb_port_bc_change_primitive_recieved( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_PHY_HANDLE_T phy ) argument 436 scic_cb_port_bc_ses_primitive_recieved( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_PHY_HANDLE_T phy ) argument 452 scic_cb_port_bc_expander_primitive_recieved( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_PHY_HANDLE_T phy ) argument 468 scic_cb_port_bc_aen_primitive_recieved( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_PHY_HANDLE_T phy ) argument 484 scic_cb_port_link_up( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_PHY_HANDLE_T phy ) argument 505 scic_cb_port_link_down( SCI_CONTROLLER_HANDLE_T controller, SCI_PORT_HANDLE_T port, SCI_PHY_HANDLE_T phy ) argument [all...] |
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | ib_device.c | 179 * In IB_DEV_UNINITIALIZED state, cache or port table 180 * is not even created. Free cache and port table only when 270 static int verify_immutable(const struct ib_device *dev, u8 port) argument 272 return WARN_ON(!rdma_cap_ib_mad(dev, port) && 273 rdma_max_mad_size(dev, port) != 0); 281 u8 port; local 284 * device->port_immutable is indexed directly by the port number to make 296 for (port = start_port; port <= end_port; ++port) { 728 u8 port; local 783 u8 port; local 880 int ret, port, i; local 960 ib_get_net_dev_by_params(struct ib_device *dev, u8 port, u16 pkey, const union ib_gid *gid, const struct sockaddr *addr) argument [all...] |
/freebsd-current/sys/dev/ata/chipsets/ |
H A D | ata-intel.c | 62 static int ata_intel_sata_ahci_read(device_t dev, int port, 64 static int ata_intel_sata_cscr_read(device_t dev, int port, 66 static int ata_intel_sata_sidpr_read(device_t dev, int port, 68 static int ata_intel_sata_ahci_write(device_t dev, int port, 70 static int ata_intel_sata_cscr_write(device_t dev, int port, 72 static int ata_intel_sata_sidpr_write(device_t dev, int port, 600 ata_intel_sata_ahci_read(device_t dev, int port, int reg, u_int32_t *result) argument 611 port = (port == 1) ? 1 : 0; 613 offset = 0x100 + smap[port] * 632 ata_intel_sata_cscr_read(device_t dev, int port, int reg, u_int32_t *result) argument 666 ata_intel_sata_sidpr_read(device_t dev, int port, int reg, u_int32_t *result) argument 697 ata_intel_sata_ahci_write(device_t dev, int port, int reg, u_int32_t value) argument 729 ata_intel_sata_cscr_write(device_t dev, int port, int reg, u_int32_t value) argument 763 ata_intel_sata_sidpr_write(device_t dev, int port, int reg, u_int32_t value) argument 797 int port; local [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/ |
H A D | tst.tcp.ksh | 41 port=2000 91 my \$addr = sockaddr_in($port, INADDR_ANY); 112 my \$peer = sockaddr_in($port, INADDR_ANY);
|
/freebsd-current/crypto/openssh/regress/unittests/misc/ |
H A D | test_parse.c | 28 int port; local 78 &user, &host, &port, &path), 0); 81 ASSERT_INT_EQ(port, 22);
|
/freebsd-current/tools/regression/sockets/listenclose/ |
H A D | listenclose.c | 58 u_short port; local 82 port = sin.sin_port; 101 sin.sin_port = port;
|
/freebsd-current/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 44 u_short port; local 73 port = sock.sin_port; 87 sock.sin_port = port;
|
/freebsd-current/sys/amd64/pci/ |
H A D | pci_cfgreg.c | 66 * For amd64 we assume that type 1 I/O port-based access always works. 178 /* enable configuration space accesses and return data port address */ 200 * Do nothing. Writing a 0 to the address port can apparently 209 int port; local 212 port = pci_cfgenable(bus, slot, func, reg, bytes); 213 if (port != 0) { 216 data = inb(port); 219 data = inw(port); 222 data = inl(port); 234 int port; local [all...] |
/freebsd-current/contrib/libevent/test/ |
H A D | regress_testutils.h | 47 /* Helper: return the port that a socket is bound on, in host order. */ 55 int regress_dnsserver(struct event_base *base, ev_uint16_t *port,
|
/freebsd-current/contrib/wpa/src/wps/ |
H A D | http_server.h | 26 struct http_server * http_server_init(struct in_addr *addr, int port,
|
/freebsd-current/contrib/netbsd-tests/net/mcast/ |
H A D | mcast.c | 187 getsocket(const char *host, const char *port, argument 198 e = getaddrinfo(host, port, &hints, &ai0); 200 ERRX(EXIT_FAILURE, "Can't resolve %s:%s (%s)", host, port, 267 sender(const int fd, const char *host, const char *port, size_t n, bool conn, argument 276 s = getsocket(host, port, conn ? connect : connector, &slen, bug); 310 receiver(const int fd, const char *host, const char *port, size_t n, bool conn, argument 320 s = getsocket(host, port, bind, &slen, bug); 346 run(const char *host, const char *port, size_t n, bool conn, bool bug) argument 358 receiver(syncfds[0], host, port, n, conn, bug); 363 error = sender(syncfds[1], host, port, 410 const char *host, *port; local [all...] |
/freebsd-current/crypto/heimdal/appl/test/ |
H A D | tcp_server.c | 156 doit (int port, const char *service) argument 158 mini_inetd (port, NULL); 166 int port = server_setup(&context, argc, argv); local 167 return doit (port, service);
|
/freebsd-current/contrib/ofed/librdmacm/examples/ |
H A D | rdma_xclient.c | 42 static char port[6] = "7471"; variable 83 ret = rdma_getaddrinfo(server, port, &hints, &res); 146 strncpy(port, optarg, sizeof port - 1);
|
/freebsd-current/contrib/ofed/infiniband-diags/src/ |
H A D | ibcacheedit.c | 170 ibnd_port_t *port; local 174 port = node->ports[p]; 175 if (port) 176 port->guid = node->guid; 190 /* port guids are identical to switch guids on 191 * switches, so update port guids too 227 /* port guids are identical to switch guids on 237 ibnd_port_t *port; local 241 port = node->ports[p]; 242 if (port [all...] |
H A D | ibaddr.c | 117 int port = 0; local 127 "\t\t# local port's address", 143 port = strtoul(argv[1], 0, 0); 150 IBEXIT("Failed to open '%s' port '%d'", ibd_ca, ibd_ca_port); 157 IBEXIT("can't resolve destination port %s", argv[0]); 159 if (resolve_self(ibd_ca, ibd_ca_port, &portid, &port, NULL) < 0) 160 IBEXIT("can't resolve self port %s", argv[0]); 163 if (ib_resolve_addr(&portid, port, show_lid, show_gid) < 0)
|
/freebsd-current/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_main.c | 104 static void *mlx4_en_get_netdev(struct mlx4_dev *dev, void *ctx, u8 port) argument 108 return endev->pndev[port]; 112 enum mlx4_dev_event event, unsigned long port) 120 if (!mdev->pndev[port]) 122 priv = mlx4_netdev_priv(mdev->pndev[port]); 137 if (port < 1 || port > dev->caps.num_ports || 138 !mdev->pndev[port]) 140 mlx4_warn(mdev, "Unhandled event %d for port %d\n", event, 141 (int) port); 111 mlx4_en_event(struct mlx4_dev *dev, void *endev_ptr, enum mlx4_dev_event event, unsigned long port) argument [all...] |
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_usb.h | 17 int mt76x02u_skb_dma_info(struct sk_buff *skb, int port, u32 flags);
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | regress_testutils.h | 47 /* Helper: return the port that a socket is bound on, in host order. */ 55 int regress_dnsserver(struct event_base *base, ev_uint16_t *port,
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | iocp-internal.h | 72 Internal use only. Stores a Windows IO Completion port, along with 76 /** The port itself */ 77 HANDLE port; member in struct:event_iocp_port 80 /** Number of threads ever open on the port. */ 82 /** True iff we're shutting down all the threads on this port */ 84 /** How often the threads on this port check for shutdown and other 89 /** Number of threads currently open on this port. */ 114 socket. The socket must be associated with an IO completion port using 172 int event_iocp_port_associate_(struct event_iocp_port *port, evutil_socket_t fd, 177 as long as required. If all the threads are done, free the port an [all...] |
/freebsd-current/sys/dev/aic7xxx/ |
H A D | aic7xxx_osm.h | 146 #define ahc_inb(ahc, port) \ 147 bus_space_read_1((ahc)->tag, (ahc)->bsh, port) 149 #define ahc_outb(ahc, port, value) \ 150 bus_space_write_1((ahc)->tag, (ahc)->bsh, port, value) 152 #define ahc_outsb(ahc, port, valp, count) \ 153 bus_space_write_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count) 155 #define ahc_insb(ahc, port, valp, count) \ 156 bus_space_read_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count) 206 int aic7770_map_registers(struct ahc_softc *ahc, u_int port);
|