Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 1746) sorted by relevance

12345678910>>...70

/freebsd-10-stable/contrib/netbsd-tests/ipf/regress/
Din21 rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1 port 0 tcp
2 rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1 port 0 255
3 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp
7 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp
8 rdr le0 9.8.7.6/32 port 80 -> 0/0 port 80 tcp
9 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 udp
10 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp/udp
11 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 icmp
12 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp
13 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1 port 80 tcp round-robin
[all …]
Din2_61 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 tcp
2 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 255
3 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp
7 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp
8 rdr le0 inet6 9:8:7::6/128 port 80 -> 0/0 port 80 tcp
9 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 udp
10 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp/udp
11 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp
12 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp
13 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 tcp round-robin
[all …]
Din51 map le0 from 9.8.7.6/32 port > 1024 to any -> 1.1.1.1 portmap 10000:20000 tcp
2 map le0 from 9.8.7.6/32 port > 1024 to ! 1.2.3.4 -> 1.1.1.1 portmap 10000:20000 tcp
3 rdr le0 from any to 9.8.7.6/32 port = 0 -> 1.1.1.1 port 0 tcp
4 rdr le0 from any to 9.8.7.6/0xffffffff port = 0 -> 1.1.1.1 port 0 ip
5 rdr le0 ! from 1.2.3.4 to 9.8.7.6 port = 8888 -> 1.1.1.1 port 888 tcp
6 rdr le0 from any to 9.8.7.6/255.255.255.255 port = 8888 -> 1.1.1.1 port 888 ip
7 rdr le0 from any to 9.8.7.6 mask 0xffffffff port = 8888 -> 1.1.1.1 port 888 tcp
8 rdr le0 from any to 9.8.7.6 mask 255.255.255.255 port = 8888 -> 1.1.1.1 port 888 udp
9 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp/udp
10 rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 port 888 icmp
[all …]
Din5_61 map le0 inet6 from 9:8:7::6/128 port > 1024 to any -> 1:1:1::1 portmap 10000:20000 tcp
2 map le0 inet6 from 9:8:7::6/128 port > 1024 to ! 1:2:3::4 -> 1:1:1::1 portmap 10000:20000 tcp
3 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1 port 0 tcp
4 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1 port 0 ip
5 rdr le0 inet6 ! from 1:2:3::4 to 9:8:7::6 port = 8888 -> 1:1:1::1 port 888 tcp
6 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 ip
7 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 tcp
8 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 udp
9 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 tcp/udp
10 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1 port 888 icmp
[all …]
Df61 block in proto tcp from any to any port = 23
2 block in proto udp from any to any port = 23
3 block in proto tcp/udp from any to any port = 23
4 pass in proto tcp from any to any port <= 1023
5 pass in proto udp from any to any port <= 1023
6 pass in proto tcp/udp from any to any port <= 1023
7 block in proto tcp from any to any port >= 1024
8 block in proto udp from any to any port >= 1024
9 block in proto tcp/udp from any to any port >= 1024
10 pass in proto tcp from any to any port >= 1024
[all …]
Df51 block in proto tcp from any port = 23 to any
2 block in proto udp from any port = 23 to any
3 block in proto tcp/udp from any port = 23 to any
4 pass in proto tcp from any port <= 1023 to any
5 pass in proto udp from any port <= 1023 to any
6 pass in proto tcp/udp from any port <= 1023 to any
7 block in proto tcp from any port >= 1024 to any
8 block in proto udp from any port >= 1024 to any
9 block in proto tcp/udp from any port >= 1024 to any
10 pass in proto tcp from any port >= 1024 to any
[all …]
/freebsd-10-stable/contrib/ntp/sntp/libevent/
Devent_iocp.c66 struct event_iocp_port *port = port_; in loop() local
67 long ms = port->ms; in loop()
68 HANDLE p = port->port; in loop()
79 EnterCriticalSection(&port->lock); in loop()
80 if (port->shutdown) { in loop()
81 if (--port->n_live_threads == 0) in loop()
82 ReleaseSemaphore(port->shutdownSemaphore, 1, in loop()
84 LeaveCriticalSection(&port->lock); in loop()
87 LeaveCriticalSection(&port->lock); in loop()
95 EnterCriticalSection(&port->lock); in loop()
[all …]
/freebsd-10-stable/sys/cam/ctl/
Dctl_frontend.c144 ctl_port_register(struct ctl_port *port) in ctl_port_register() argument
153 port->ctl_softc = softc; in ctl_port_register()
156 if (port->targ_port >= 0) in ctl_port_register()
157 port_num = port->targ_port; in ctl_port_register()
172 port->max_initiators = CTL_MAX_INIT_PER_PORT; in ctl_port_register()
173 port->wwpn_iid = malloc(sizeof(*port->wwpn_iid) * port->max_initiators, in ctl_port_register()
175 if (port->wwpn_iid == NULL) { in ctl_port_register()
188 retval = ctl_pool_create(softc, port->port_name, in ctl_port_register()
189 port->num_requested_ctl_io + 20, &pool); in ctl_port_register()
191 free(port->wwpn_iid, M_CTL); in ctl_port_register()
[all …]
/freebsd-10-stable/contrib/netbsd-tests/ipf/expected/
Din21 rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1/32 port 0 tcp
3 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp
7 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp
8 rdr le0 9.8.7.6/32 port 80 -> 0/0 port 80 tcp
9 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 udp
10 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp/udp
12 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp
13 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1/32 port 80 tcp round-robin
14 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp round-robin
17 rdr le0 9.8.7.6/32 port 80 -> 1.1.1.1,1.1.1.2 port 80 tcp/udp frag
[all …]
Din2_61 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1/128 port 0 tcp
3 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp
7 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp
8 rdr le0 inet6 9:8:7::6/128 port 80 -> any port 80 tcp
9 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 udp
10 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp/udp
12 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp
13 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1/128 port 80 tcp round-robin
14 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp round-robin
17 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1,1:1:1::2 port 80 tcp/udp frag
[all …]
Din51 map le0 from 9.8.7.6/32 port > 1024 to 0/0 -> 1.1.1.1/32 portmap tcp 10000:20000
2 map le0 from 9.8.7.6/32 port > 1024 ! to 1.2.3.4/32 -> 1.1.1.1/32 portmap tcp 10000:20000
3 rdr le0 from 0/0 to 9.8.7.6/32 port = 0 -> 1.1.1.1/32 port 0 tcp
5 rdr le0 ! from 1.2.3.4/32 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp
7 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp
8 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 udp
9 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp/udp
11 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp
12 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp round-robin
13 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp round-robin
[all …]
Din5_61 map le0 inet6 from 9:8:7::6/128 port > 1024 to any -> 1:1:1::1/128 portmap tcp 10000:20000
2 map le0 inet6 from 9:8:7::6/128 port > 1024 ! to 1:2:3::4/128 -> 1:1:1::1/128 portmap tcp 10000:200…
3 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1/128 port 0 tcp
5 rdr le0 inet6 ! from 1:2:3::4/128 to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp
7 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp
8 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 udp
9 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp/udp
11 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1,1:1:1::2 port 888 tcp
12 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp round-robin
13 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1,1:1:1::2 port 888 tcp round-robin
[all …]
/freebsd-10-stable/sys/contrib/ngatm/netnatm/api/
Dcc_port.c54 struct ccport *port; in find_port() local
56 TAILQ_FOREACH(port, &cc->port_list, node_link) in find_port()
57 if (port->param.port == portno) in find_port()
58 return (port); in find_port()
69 struct ccport *port, *p1; in cc_port_create() local
74 TAILQ_FOREACH(port, &cc->port_list, node_link) in cc_port_create()
75 if (port->param.port == portno) in cc_port_create()
78 port = CCZALLOC(sizeof(*port)); in cc_port_create()
79 if (port == NULL) in cc_port_create()
82 port->uarg = uarg; in cc_port_create()
[all …]
/freebsd-10-stable/sys/contrib/octeon-sdk/
Dcvmx-mgmt-port.c97 …int port; /* Port to use. (This is the 'fake' IPD port number */ member
151 cvmx_mgmt_port_result_t cvmx_mgmt_port_initialize(int port) in cvmx_mgmt_port_initialize() argument
157 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_initialize()
172 …tf("ERROR: cvmx_mgmt_port_initialize: Unable to get named block %s on MIX%d.\n", alloc_name, port); in cvmx_mgmt_port_initialize()
179 mix_ctl.u64 = cvmx_read_csr(CVMX_MIXX_CTL(port)); in cvmx_mgmt_port_initialize()
182 oring1.u64 = cvmx_read_csr(CVMX_MIXX_ORING1(port)); in cvmx_mgmt_port_initialize()
183 …if (oring1.s.osize != CVMX_MGMT_PORT_NUM_TX_BUFFERS || cvmx_mgmt_port_state_ptr[port].tx_ring[0].u… in cvmx_mgmt_port_initialize()
185 mix_ctl.u64 = cvmx_read_csr(CVMX_MIXX_CTL(port)); in cvmx_mgmt_port_initialize()
187 cvmx_write_csr(CVMX_MIXX_CTL(port), mix_ctl.u64); in cvmx_mgmt_port_initialize()
190 mix_ctl.u64 = cvmx_read_csr(CVMX_MIXX_CTL(port)); in cvmx_mgmt_port_initialize()
[all …]
Dcvmx-spi4000.c186 static void __cvmx_spi4000_mdio_write(int interface, int port, int location, int val) in __cvmx_spi4000_mdio_write() argument
194 mdio.s.phy_address = port; in __cvmx_spi4000_mdio_write()
218 static int __cvmx_spi4000_mdio_read(int interface, int port, int location) in __cvmx_spi4000_mdio_read() argument
225 mdio.s.phy_address = port; in __cvmx_spi4000_mdio_read()
244 int port; in __cvmx_spi4000_configure_mac() local
272 for (port=0; port < 10; port++) in __cvmx_spi4000_configure_mac()
274 int port_offset = port << 7; in __cvmx_spi4000_configure_mac()
335 for (port=0; port < 10; port++) in __cvmx_spi4000_configure_mac()
338 __cvmx_spi4000_write(interface, port + 0x0600, 0x0900); // TXFIFO High watermark in __cvmx_spi4000_configure_mac()
339 __cvmx_spi4000_write(interface, port + 0x060a, 0x0800); // TXFIFO Low watermark in __cvmx_spi4000_configure_mac()
[all …]
/freebsd-10-stable/contrib/gdb/gdb/
Dser-go32.c184 struct dos_ttystate *port; member
248 dos_getc (volatile struct dos_ttystate *port) in dos_getc() argument
252 if (port->count == 0) in dos_getc()
255 c = port->cbuf[port->first]; in dos_getc()
257 port->first = (port->first + 1) & (CBSIZE - 1); in dos_getc()
258 port->count--; in dos_getc()
265 dos_putc (int c, struct dos_ttystate *port) in dos_putc() argument
267 if (port->count >= CBSIZE - 1) in dos_putc()
269 port->cbuf[(port->first + port->count) & (CBSIZE - 1)] = c; in dos_putc()
270 port->count++; in dos_putc()
[all …]
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/src/
Dibnetdiscover.c133 decode_port_info(void *pi, Port *port) in decode_port_info() argument
135 mad_decode_field(pi, IB_PORT_LID_F, &port->lid); in decode_port_info()
136 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc); in decode_port_info()
137 mad_decode_field(pi, IB_PORT_STATE_F, &port->state); in decode_port_info()
138 mad_decode_field(pi, IB_PORT_PHYS_STATE_F, &port->physstate); in decode_port_info()
139 mad_decode_field(pi, IB_PORT_LINK_WIDTH_ACTIVE_F, &port->linkwidth); in decode_port_info()
140 mad_decode_field(pi, IB_PORT_LINK_SPEED_ACTIVE_F, &port->linkspeed); in decode_port_info()
145 get_port(Port *port, int portnum, ib_portid_t *portid) in get_port() argument
150 port->portnum = portnum; in get_port()
154 decode_port_info(pi, port); in get_port()
[all …]
/freebsd-10-stable/sys/ia64/ia64/
Dbus_machdep.c37 #define __PIO_ADDR(port) \ argument
38 (void *)(ia64_port_base | (((port) & 0xfffc) << 10) | ((port) & 0xFFF))
60 bus_space_read_io_1(u_long port) in bus_space_read_io_1() argument
65 v = ia64_ld1(__PIO_ADDR(port)); in bus_space_read_io_1()
72 bus_space_read_io_2(u_long port) in bus_space_read_io_2() argument
77 v = ia64_ld2(__PIO_ADDR(port)); in bus_space_read_io_2()
84 bus_space_read_io_4(u_long port) in bus_space_read_io_4() argument
89 v = ia64_ld4(__PIO_ADDR(port)); in bus_space_read_io_4()
97 bus_space_read_io_8(u_long port)
103 bus_space_write_io_1(u_long port, uint8_t val) in bus_space_write_io_1() argument
[all …]
/freebsd-10-stable/sys/dev/sfxge/
Dsfxge_port.c60 struct sfxge_port *port = &sc->port; in sfxge_mac_stat_update() local
61 efsys_mem_t *esmp = &(port->mac_stats.dma_buf); in sfxge_mac_stat_update()
67 SFXGE_PORT_LOCK_ASSERT_OWNED(port); in sfxge_mac_stat_update()
69 if (__predict_false(port->init_state != SFXGE_PORT_STARTED)) { in sfxge_mac_stat_update()
74 min_ticks = (unsigned int)hz * port->stats_update_period_ms / 1000; in sfxge_mac_stat_update()
77 if ((unsigned int)(now - port->mac_stats.update_time) < min_ticks) { in sfxge_mac_stat_update()
82 port->mac_stats.update_time = now; in sfxge_mac_stat_update()
91 port->mac_stats.decode_buf, NULL)) != EAGAIN) in sfxge_mac_stat_update()
108 SFXGE_PORT_LOCK(&sc->port); in sfxge_port_update_stats()
114 mac_stats = (uint64_t *)sc->port.mac_stats.decode_buf; in sfxge_port_update_stats()
[all …]
/freebsd-10-stable/sys/dev/cx/
Dcsigma.c74 port_t port = CCR(base); in cx_cmd() local
78 for (count=0; inb(port) && count<20000; ++count) in cx_cmd()
82 outb (port, cmd); in cx_cmd()
85 for (count=0; inb(port) && count<20000; ++count) in cx_cmd()
92 static int cx_reset (port_t port) in cx_reset() argument
98 if (inb(GFRCR(port)) != 0) in cx_reset()
101 cx_cmd (port, CCR_RSTALL); in cx_reset()
106 if (inb(GFRCR(port)) != 0) in cx_reset()
113 int cx_download (port_t port, const unsigned char *firmware, long bits, in cx_download() argument
120 inb (BDET(port)); in cx_download()
[all …]
Dmachdep.h27 # define inb(port) inportb(port) argument
28 # define inw(port) inport(port) argument
29 # define outb(port,b) outportb(port,b) argument
30 # define outw(port,w) outport(port,w) argument
39 # define inb(port) inp((unsigned short)(port)) argument
40 # define inw(port) inpw((unsigned short)(port)) argument
41 # define outb(port,b) outp((unsigned short)(port),b) argument
42 # define outw(port,w) outpw((unsigned short)(port),(unsigned short)(w)) argument
57 static inline void __ddk_outb (unsigned port, unsigned char byte) in __ddk_outb() argument
58 { outb (byte, port); } in __ddk_outb()
[all …]
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
Dlocal_sa.c113 struct sa_db_port port[0]; member
170 static void process_updates(struct sa_db_port *port);
374 static void update_path_db(struct sa_db_port *port, in update_path_db() argument
387 port->update_id += (type == SA_UPDATE_FULL); in update_path_db()
394 ret = insert_attr(&port->paths, port->update_id, in update_path_db()
404 remove_old_attrs(&port->paths, port->update_id); in update_path_db()
407 static struct ib_mad_send_buf *get_sa_msg(struct sa_db_port *port, in get_sa_msg() argument
413 msg = ib_create_send_mad(port->agent, 1, 0, 0, IB_MGMT_SA_HDR, in get_sa_msg()
419 ah_attr.dlid = port->sm_lid; in get_sa_msg()
420 ah_attr.sl = port->sm_sl; in get_sa_msg()
[all …]
/freebsd-10-stable/sys/dev/puc/
Dpuc.c133 struct puc_port *port; in puc_intr() local
177 port = &sc->sc_port[idx]; in puc_intr()
178 port->p_ipend = SERDEV_IPEND(port->p_dev); in puc_intr()
179 ipend |= port->p_ipend; in puc_intr()
196 port = &sc->sc_port[idx]; in puc_intr()
197 if (!(port->p_ipend & isrc)) in puc_intr()
199 if (port->p_ihsrc[i] != NULL) in puc_intr()
200 (*port->p_ihsrc[i])(port->p_iharg); in puc_intr()
214 struct puc_port *port; in puc_bfe_attach() local
272 port = &sc->sc_port[idx]; in puc_bfe_attach()
[all …]
/freebsd-10-stable/sys/dev/virtio/console/
Dvirtio_console.c550 struct vtcon_port *port; in vtcon_destroy_ports() local
561 port = scport->vcsp_port; in vtcon_destroy_ports()
562 if (port != NULL) { in vtcon_destroy_ports()
564 VTCON_PORT_LOCK(port); in vtcon_destroy_ports()
566 vtcon_port_teardown(port); in vtcon_destroy_ports()
727 struct vtcon_port *port; in vtcon_ctrl_port_remove_event() local
733 port = scport->vcsp_port; in vtcon_ctrl_port_remove_event()
734 if (port == NULL) { in vtcon_ctrl_port_remove_event()
742 VTCON_PORT_LOCK(port); in vtcon_ctrl_port_remove_event()
744 vtcon_port_teardown(port); in vtcon_ctrl_port_remove_event()
[all …]
/freebsd-10-stable/sys/dev/digi/
Ddigi.c74 static void fepcmd(struct digi_p *port, int cmd, int op, int ncmds);
84 #define fepcmd_b(port, cmd, op1, op2, ncmds) \ argument
85 fepcmd(port, cmd, (op2 << 8) | op1, ncmds)
217 struct digi_p *port; in digi_init() local
273 outb(sc->port, FEPCLR); in digi_init()
292 outb(sc->port, FEPRST | FEPMEM); in digi_init()
294 for (i = 0; ((sc->pcibus ? PCIPORT : inb(sc->port)) & in digi_init()
343 outb(sc->port, FEPCLR); in digi_init()
346 outb(sc->port, FEPCLR | FEPMEM); in digi_init()
350 for (i = 0; ((sc->pcibus ? PCIPORT : inb(sc->port)) & FEPMASK) in digi_init()
[all …]

12345678910>>...70