HomeSort by: relevance | last modified time | path
    Searched defs:port (Results 1 - 25 of 256) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /src/usr.bin/rsh/
getport.c 47 long port; local in function:getport
57 port = strtol(service, &ep, 0);
60 (port == LONG_MAX || port == LONG_MIN)) ||
61 (port <= 0 || port >= IPPORT_ANONMAX))
62 errx(1,"port must be between 1 and %d",
64 sp->s_port = htons((uint16_t)port);
  /src/libexec/identd/
npf.c 57 in_port_t port[2]; local in function:npf_natlookup
67 port[0] = csatosin(&ss[0])->sin_port;
68 port[1] = csatosin(&ss[1])->sin_port;
73 port[0] = csatosin6(&ss[0])->sin6_port;
74 port[1] = csatosin6(&ss[1])->sin6_port;
87 if (npf_nat_lookup(dev, af, addr, port, IPPROTO_TCP, PFIL_OUT) == -1) {
96 * in the rest, family, port (ident), len....
110 /* Put the originating port into nat_lport. */
111 *nat_lport = ntohs(port[0]);
  /src/sys/net/agr/
ieee8023ad_marker.c 60 struct agr_port *port; local in function:ieee8023ad_marker_input
63 port = ifp->if_lagg; /* XXX race with agr_remport. */
64 KASSERT(port);
65 if (__predict_false(port->port_flags & AGRPORT_DETACHING)) {
106 &port->port_origlladdr, ETHER_ADDR_LEN);
  /src/lib/libc/rpc/
pmap_getport.c 73 * Find the mapped port for program,version.
79 remote_pmap_getport(CLIENT *client, struct pmap *parms, u_short *port)
82 parms, (xdrproc_t)xdr_u_short, port, tottimeout) != RPC_SUCCESS) {
85 } else if (*port == 0) {
107 u_short port = 0; local in function:pmap_getport
122 remote_pmap_getport(client, &parms, &port);
124 if (port == 0) {
127 remote_pmap_getport(client, &parms, &port);
131 return port;
  /src/tests/lib/libc/net/
h_servent.c 42 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 in function:main
72 port = optarg;
82 if (port && name)
84 if (port) {
85 if ((svp = getservbyport(htons(atoi(port)), proto)) != NULL)
  /src/tests/net/inpcb/
broadcast_bind.c 35 test_bind(char *paddr, struct in_addr *addr, u_int16_t port, int type,
44 sin.sin_port = htons(port);
60 warn("bind(%s,%d) (type %d) expected %d, got %d", paddr, port, type,
72 int port = 30000; local in function:main
102 rc |= test_bind(argv[1], &uc_addr, port, SOCK_STREAM, 0);
103 rc |= test_bind(argv[2], &err_addr, port, SOCK_STREAM, EADDRNOTAVAIL);
105 rc |= test_bind(argv[3], &bc_addr, port, SOCK_STREAM, 0);
107 rc |= test_bind(argv[3], &bc_addr, port, SOCK_STREAM, EADDRNOTAVAIL);
110 rc |= test_bind(argv[2], &err_addr, port, SOCK_STREAM, EADDRNOTAVAIL);
111 rc |= test_bind(argv[3], &bc_addr, port, SOCK_DGRAM, 0)
    [all...]
  /src/lib/libc/compat/net/
compat_ns_ntoa.c 54 uint16_t port = htons(addr.x_port); local in function:ns_ntoa
67 if (port) {
79 if (port) {
80 sprintf(cp, ".%x", port);
  /src/lib/libcompat/4.3/
rexec.c 69 u_short port; local in function:rexec
112 port = 0;
135 port = ntohs((u_short)sin2.sin_port);
136 (void)snprintf(num, sizeof(num), "%u", port);
144 port = 0;
167 if (port)
  /src/sbin/mount_portal/
pt_tcp.c 59 * Key will be tcp/host/port[/"priv"]
61 * requested host and port.
69 char port[MAXHOSTNAMELEN]; local in function:portal_tcp
88 if (strlcpy(port, p, sizeof(port)) >= sizeof(port))
106 if (getaddrinfo(host, port, &hints, &res) != 0)
  /src/sys/arch/xen/include/
xenio3.h 37 * Bind a fresh port to VIRQ @virq.
38 * Return allocated port.
44 unsigned int port; member in struct:ioctl_evtchn_bind_virq
48 * Bind a fresh port to remote <@remote_domain, @remote_port>.
49 * Return allocated port.
55 unsigned int port; member in struct:ioctl_evtchn_bind_interdomain
59 * Allocate a fresh port for binding to @remote_domain.
60 * Return allocated port.
66 unsigned int port; member in struct:ioctl_evtchn_bind_unbound_port
70 * Unbind previously allocated @port
75 unsigned int port; member in struct:ioctl_evtchn_unbind
84 unsigned int port; member in struct:ioctl_evtchn_notify
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
intel_lpe_audio.h 44 int port; member in struct:intel_hdmi_lpe_audio_port_pdata
51 struct intel_hdmi_lpe_audio_port_pdata port[3]; /* for ports B,C,D */ member in struct:intel_hdmi_lpe_audio_pdata
55 void (*notify_audio_lpe)(struct platform_device *pdev, int port); /* port: 0==B,1==C,2==D */
  /src/tests/net/ipsec/
natt_terminator.c 49 fprintf(stderr, "Usage: %s [-46] <addr> <port>\n", prog);
58 const char *addr, *port; local in function:main
84 port = argv[1];
92 e = getaddrinfo(addr, port, &hints, &res);
  /src/usr.sbin/ypset/
ypset.c 115 int sock, port; local in function:bind_tohost
118 port = htons(getrpcport(server, YPPROG, YPPROC_NULL, IPPROTO_UDP));
119 if (port == 0)
127 ypsd.ypsetdom_port = port;
  /src/sys/arch/hp300/stand/common/
dcm.c 92 int port = DCMCONUNIT; local in function:dcminit
95 while (dcm->dcm_thead[port].ptr != dcm->dcm_ttail[port].ptr)
97 dcm->dcm_data[port].dcm_baud = BR_9600;
98 dcm->dcm_data[port].dcm_conf = LC_8BITS | LC_1STOP;
100 dcm->dcm_cmdtab[port].dcm_data |= CT_CON;
101 dcm->dcm_cr |= (1 << port);
114 int c, port; local in function:dcmgetchar
116 port = DCMCONUNIT;
117 pp = dcm_preg(dcm, port);
146 int port; local in function:dcmputchar
    [all...]
  /src/sys/arch/alpha/jensenio/
jensenio_bus_intio.c 218 register uint32_t *port; local in function:jensenio_intio_read_1
222 port = (uint32_t *)(ioh + (off << 9));
223 return (*port & 0xff);
242 register uint32_t *port; local in function:jensenio_intio_write_1
244 port = (uint32_t *)(ioh + (off << 9));
245 *port = val;
  /src/sys/arch/arm/sunxi/
sunxi_gpio.h 41 uint8_t port; member in struct:sunxi_gpio_pins
  /src/sys/arch/sparc64/dev/
com_ebus.c 113 int node, port; local in function:com_ebus_attach
126 * ignore that for now. We should enable the com port in
155 * serial port on each I/O board and a pseudo console that is
157 * of the serial port in question is encoded in the "tty-port#"
166 port = prom_getpropint(node, "tty-port#", -1);
168 com_is_input = (prom_getpropint(node, "board#", -2) == port);
175 port = prom_getpropint(node, "tty-port#", -1)
    [all...]
  /src/sys/arch/x86/x86/
i8259.c 195 unsigned port; local in function:i8259_hwmask
203 port = IO_ICU2 + PIC_OCW1;
206 port = IO_ICU1 + PIC_OCW1;
209 outb(port, byte);
215 unsigned port; local in function:i8259_hwunmask
224 port = IO_ICU2 + PIC_OCW1;
227 port = IO_ICU1 + PIC_OCW1;
230 outb(port, byte);
  /src/sys/dev/ic/
ugvar.h 43 int port; member in struct:ug2_sensor_info
  /src/sys/dev/ppbus/
ppbus_gpio.c 51 #define PORT(r, b, i) { PPBUS_R##r##TR, PPBUS_W##r##TR, b, i}
57 } ppbus_port[PPBUS_NPINS] = { /* parallel port wiring: */
58 PORT(C, 0, 1), /* 1: /C0 Output */
59 PORT(D, 0, 0), /* 2: D0 Output */
60 PORT(D, 1, 0), /* 3: D1 Output */
61 PORT(D, 2, 0), /* 4: D2 Output */
62 PORT(D, 3, 0), /* 5: D3 Output */
63 PORT(D, 4, 0), /* 6: D4 Output */
64 PORT(D, 5, 0), /* 7: D5 Output */
65 PORT(D, 6, 0), /* 8: D6 Output *
136 u_char port = ppbus_io(sc->sc_dev, ppbus_port[pin].rreg, NULL, 0, 0); local in function:gpio_ppbus_pin_read
145 u_char port = ppbus_io(sc->sc_dev, ppbus_port[pin].rreg, NULL, 0, 0); local in function:gpio_ppbus_pin_write
    [all...]
  /src/usr.bin/eject/
am_glue.c 60 u_short port = 0; local in function:ping_pmap
84 (xdrproc_t)xdr_u_short, &port, pingtv) == RPC_SUCCESS ? 0 : -1;
  /src/lib/libarch/alpha/
alpha_pci_io.c 150 uint32_t *port; local in function:alpha_pci_io_swiz
153 port = (uint32_t *) ((char *)abw->abw_addr +
158 return (port);
164 uint32_t *port = alpha_pci_io_swiz(ioaddr, 0); local in function:alpha_pci_io_swiz_inb
169 return ((*port >> (8 * offset)) & 0xff);
175 uint32_t *port = alpha_pci_io_swiz(ioaddr, 1); local in function:alpha_pci_io_swiz_inw
180 return ((*port >> (8 * offset)) & 0xffff);
186 uint32_t *port = alpha_pci_io_swiz(ioaddr, 3); local in function:alpha_pci_io_swiz_inl
190 return (*port);
196 uint32_t *port = alpha_pci_io_swiz(ioaddr, 0) local in function:alpha_pci_io_swiz_outb
207 uint32_t *port = alpha_pci_io_swiz(ioaddr, 1); local in function:alpha_pci_io_swiz_outw
218 uint32_t *port = alpha_pci_io_swiz(ioaddr, 3); local in function:alpha_pci_io_swiz_outl
236 uint8_t *port = (uint8_t *) ((char *)abw->abw_addr + local in function:alpha_pci_io_bwx_inb
249 uint16_t *port = (uint16_t *) ((char *)abw->abw_addr + local in function:alpha_pci_io_bwx_inw
262 uint32_t *port = (uint32_t *) ((char *)abw->abw_addr + local in function:alpha_pci_io_bwx_inl
274 uint8_t *port = (uint8_t *) ((char *)abw->abw_addr + local in function:alpha_pci_io_bwx_outb
286 uint16_t *port = (uint16_t *) ((char *)abw->abw_addr + local in function:alpha_pci_io_bwx_outw
298 uint32_t *port = (uint32_t *) ((char *)abw->abw_addr + local in function:alpha_pci_io_bwx_outl
    [all...]
  /src/sbin/ifconfig/
agr.c 95 const char *port; local in function:agrsetport
104 if (!prop_dictionary_get_string(env, "agrport", &port)) {
109 strlcpy(buf, port, sizeof(buf));
  /src/sys/arch/x86/include/
pci_machdep_common.h 71 uint16_t port; member in struct:x86_pci_tag_u::__anon603dddbb0108
  /src/sys/dev/eisa/
bha_eisa.c 67 int port; local in function:bha_eisa_address
71 port = 0x330;
74 port = 0x334;
77 port = 0x230;
80 port = 0x234;
83 port = 0x130;
86 port = 0x134;
92 *portp = port;
113 int port; local in function:bha_eisa_match
124 if (bha_eisa_address(iot, ioh, &port) ||
149 int port; local in function:bha_eisa_attach
    [all...]

Completed in 51 milliseconds

1 2 3 4 5 6 7 8 91011