/freebsd-11-stable/lib/libc/rpc/ |
H A D | pmap_clnt.c | 63 pmap_set(u_long program, u_long version, int protocol, int port) argument 78 (((u_int32_t)port) >> 8) & 0xff, port & 0xff); 91 * Remove the mapping between program, version and port.
|
/freebsd-11-stable/tools/regression/sockets/listenclose/ |
H A D | listenclose.c | 60 u_short port; local 84 port = sin.sin_port; 103 sin.sin_port = port;
|
/freebsd-11-stable/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 46 u_short port; local 75 port = sock.sin_port; 89 sock.sin_port = port;
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | sockutils.h | 128 int sock_initaddress(const char *address, const char *port, 145 int sock_getmyinfo(SOCKET sock, char *address, int addrlen, char *port, int portlen, int flags, char *errbuf, int errbuflen); 147 int sock_getascii_addrport(const struct sockaddr_storage *sockaddr, char *address, int addrlen, char *port, int portlen, int flags, char *errbuf, int errbuflen);
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | tegra_pcie.c | 204 /* Wait 50 ms (per port) for link. */ 267 int port_idx; /* chip port index */ 270 phy_t phy; /* port phy */ 792 tegra_pcib_pex_ctrl(struct tegra_pcib_softc *sc, int port) argument 794 if (port >= TEGRA_PCIB_MAX_PORTS) 795 panic("invalid port number: %d\n", port); 797 if (port == 0) 799 else if (port == 1) 801 else if (port 908 struct tegra_pcib_port *port; local 984 struct tegra_pcib_port *port; local 1141 tegra_pcib_wait_for_link(struct tegra_pcib_softc *sc, struct tegra_pcib_port *port) argument 1183 struct tegra_pcib_port *port; local 1220 struct tegra_pcib_port *port; local 1455 struct tegra_pcib_port *port; local [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | bench_http.c | 93 unsigned short port = 8080; local 118 fprintf(stderr, "Missing port\n"); 121 port = (int)strtol(argv[i+1], &endptr, 10); 123 fprintf(stderr, "Bad port\n"); 175 fprintf(stderr, "Serving %d bytes on port %d using %s\n", 176 (int)content_len, port, 179 evhttp_bind_socket(http, "0.0.0.0", port);
|
H A D | regress_testutils.h | 46 /* Helper: return the port that a socket is bound on, in host order. */ 54 int regress_dnsserver(struct event_base *base, ev_uint16_t *port,
|
/freebsd-11-stable/share/mk/ |
H A D | bsd.port.mk | 8 .if !defined(_PORTSDIR) && exists(${.CURDIR}/${RELPATH}/Mk/bsd.port.mk) 20 BSDPORTMK?= ${PORTSDIR}/Mk/bsd.port.mk
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | http_server.h | 26 struct http_server * http_server_init(struct in_addr *addr, int port,
|
/freebsd-11-stable/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-11-stable/sys/i386/include/ |
H A D | pcaudioio.h | 43 unsigned port; /* input/output device */ member in struct:audio_prinfo
|
/freebsd-11-stable/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-11-stable/contrib/ofed/infiniband-diags/src/ |
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)
|
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...] |
/freebsd-11-stable/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-11-stable/sbin/pfctl/ |
H A D | pf_print_state.c | 172 print_host(struct pf_addr *addr, u_int16_t port, sa_family_t af, int opts) argument 190 if (port) { 192 printf(":%u", ntohs(port)); 194 printf("[%u]", ntohs(port)); 231 sk->port[0] = nk->port[0]; 238 sk->port[1] = nk->port[1]; 246 print_host(&nk->addr[1], nk->port[1], s->af, opts); 248 nk->port[ [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | server.h | 43 u_short port; /* tcp socket */ member in struct:server::__anon8894
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | if_fdir.c | 114 common.port.dst ^= th->th_sport; 115 common.port.src ^= th->th_dport; 121 common.port.dst ^= uh->uh_sport; 122 common.port.src ^= uh->uh_dport;
|
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | Acceptor.cpp | 87 int port; local 90 if (UriParser::Parse(name, scheme, host, port, path)) { 99 int32_t port = INT32_MIN; local 100 // Try to match socket name as $host:port - e.g., localhost:5555 101 if (Socket::DecodeHostAndPort(name, host_str, port_str, port, nullptr))
|
/freebsd-11-stable/sys/dev/bhnd/siba/ |
H A D | siba_subr.c | 154 * Map an addrspace index to its corresponding bhnd(4) port number. 199 * Return the number of bhnd(4) regions to advertise on @p port 206 siba_addrspace_region_count(struct siba_devinfo *dinfo, u_int port) argument 211 if (port == 0) 215 if (port == 1 && num_addrspace >= 2) 223 * Return true if @p port is defined on @p dinfo, false otherwise. 226 * mapping of bhnd(4) port and region identifiers. 228 * @param dinfo The device info to verify the port against. 229 * @param type The bhnd(4) port type. 230 * @param port Th 233 siba_is_port_valid(struct siba_devinfo *dinfo, bhnd_port_type type, u_int port) argument 267 siba_find_addrspace(struct siba_devinfo *dinfo, bhnd_port_type type, u_int port, u_int region) argument [all...] |
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic7xxx_osm.h | 168 #define ahc_inb(ahc, port) \ 169 bus_space_read_1((ahc)->tag, (ahc)->bsh, port) 171 #define ahc_outb(ahc, port, value) \ 172 bus_space_write_1((ahc)->tag, (ahc)->bsh, port, value) 174 #define ahc_outsb(ahc, port, valp, count) \ 175 bus_space_write_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count) 177 #define ahc_insb(ahc, port, valp, count) \ 178 bus_space_read_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count) 228 int aic7770_map_registers(struct ahc_softc *ahc, u_int port);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 163 bool SocketAddress::SetPort(uint16_t port) { argument 166 m_socket_addr.sa_ipv4.sin_port = htons(port); 170 m_socket_addr.sa_ipv6.sin6_port = htons(port); 247 bool SocketAddress::SetToLocalhost(sa_family_t family, uint16_t port) { argument 251 if (SetPort(port)) { 259 if (SetPort(port)) { 269 bool SocketAddress::SetToAnyAddress(sa_family_t family, uint16_t port) { argument 273 if (SetPort(port)) { 281 if (SetPort(port)) {
|
/freebsd-11-stable/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 = 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-11-stable/sys/dev/ctau/ |
H A D | ctddk.c | 50 static short porttab [] = { /* standard base port set */ 65 int ct_open_board (ct_board_t *b, int num, port_t port, int irq, int dma) argument 72 if (num >= NBRD || ! ct_probe_board (port, irq, dma)) 93 ct_init (b, num, port, irq, dma, ctau_fw_data, 136 outb (BCR0(b->port), 0); 295 cte_out2 (c->board->port, c->num ? AM_IMR : AM_IMR | AM_A, 297 cte_out2 (c->board->port, AM_MICR, MICR_MIE); 372 ier0 = inb (IER0(c->board->port)); 374 outb (IER0(c->board->port), ier0); 404 ier0 = inb (IER0(c->board->port)); 724 unsigned short port; local [all...] |
/freebsd-11-stable/sys/mips/nlm/dev/net/ |
H A D | nae.c | 82 int rx_slots = 0, port; local 86 for (port = 0; port < total_num_ports; port++) { 87 if (cfg[port].rx_slots_reqd) 88 rx_slots += cfg[port].rx_slots_reqd; 101 for (port = 0; port < total_num_ports; port++) { 102 if (cfg[port] 119 int tx_slots = 0, port; local 358 nlm_program_flow_cfg(uint64_t nae_base, int port, uint32_t cur_flow_base, uint32_t flow_mask) argument 750 nlm_config_freein_fifo_uniq_cfg(uint64_t nae_base, int port, int nblock_free_desc) argument 763 nlm_config_ucore_iface_mask_cfg(uint64_t nae_base, int port, int nblock_ucore_mask) argument 936 nlm_setup_l4ctable_even(uint64_t nae_base, int entry, uint32_t im, uint32_t l3cm, uint32_t l4pm, uint32_t port, uint32_t l3camaddr, uint32_t l4proto) argument 1191 nlm_enable_hardware_parser_per_port(uint64_t nae_base, int block, int port) argument 1261 nlm_mac_enable(uint64_t nae_base, int nblock, int port_type, int port) argument 1298 nlm_mac_disable(uint64_t nae_base, int nblock, int port_type, int port) argument 1356 nlm_nae_open_if(uint64_t nae_base, int nblock, int port_type, int port, uint32_t desc_size) argument [all...] |