Home
last modified time | relevance | path

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

12345678910>>...96

/freebsd/contrib/netbsd-tests/ipf/regress/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/freebsd/sbin/pfctl/tests/files/
H A Dpf0004.ok10 block drop in proto tcp from any port = ssh to any
11 block drop in proto tcp from any port = ssh to any port 1024:2048
12 block drop in proto tcp from any port 21 >< 2048 to any port 1024:2048
13 block drop in proto tcp from any port != 1234 to any port 1024:2048
14 block drop in proto tcp from any port >= 80 to any port 1024:2048
15 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = ircd
16 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = 6668
17 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port 6669:65535
18 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = ircd
19 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = 6668
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A 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/contrib/libevent/
H A 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/sys/cam/ctl/
H A Dctl_frontend.c143 ctl_port_register(struct ctl_port *port) in ctl_port_register() argument
152 port->ctl_softc = softc; in ctl_port_register()
155 if (port->targ_port >= 0) in ctl_port_register()
156 port_num = port->targ_port; in ctl_port_register()
171 port->max_initiators = CTL_MAX_INIT_PER_PORT; in ctl_port_register()
172 port->wwpn_iid = malloc(sizeof(*port->wwpn_iid) * port->max_initiators, in ctl_port_register()
174 if (port->wwpn_iid == NULL) { in ctl_port_register()
187 retval = ctl_pool_create(softc, port->port_name, in ctl_port_register()
188 port->num_requested_ctl_io + 20, &pool); in ctl_port_register()
190 free(port->wwpn_iid, M_CTL); in ctl_port_register()
[all …]
/freebsd/contrib/netbsd-tests/ipf/expected/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfman_port.c52 static int init_bmi_rx(struct fman_port *port, in init_bmi_rx() argument
56 struct fman_port_rx_bmi_regs *regs = &port->bmi_regs->rx; in init_bmi_rx()
61 if (port->im_en) in init_bmi_rx()
112 if (!port->im_en) in init_bmi_rx()
124 if (!port->im_en) in init_bmi_rx()
134 if (port->im_en) in init_bmi_rx()
147 if (!port->im_en) in init_bmi_rx()
164 fman_port_set_perf_cnt_params(port, &cfg->perf_cnt_params); in init_bmi_rx()
173 static int init_bmi_tx(struct fman_port *port, in init_bmi_tx() argument
177 struct fman_port_tx_bmi_regs *regs = &port->bmi_regs->tx; in init_bmi_tx()
[all …]
/freebsd/sys/dev/sfxge/
H A Dsfxge_port.c59 struct sfxge_port *port = &sc->port; in sfxge_mac_stat_update() local
60 efsys_mem_t *esmp = &(port->mac_stats.dma_buf); in sfxge_mac_stat_update()
66 SFXGE_PORT_LOCK_ASSERT_OWNED(port); in sfxge_mac_stat_update()
68 if (__predict_false(port->init_state != SFXGE_PORT_STARTED)) { in sfxge_mac_stat_update()
73 min_ticks = (unsigned int)hz * port->stats_update_period_ms / 1000; in sfxge_mac_stat_update()
76 if ((unsigned int)(now - port->mac_stats.update_time) < min_ticks) { in sfxge_mac_stat_update()
81 port->mac_stats.update_time = now; in sfxge_mac_stat_update()
90 port->mac_stats.decode_buf, NULL)) != EAGAIN) in sfxge_mac_stat_update()
108 SFXGE_PORT_LOCK(&sc->port); in sfxge_get_counter()
113 mac_stats = (uint64_t *)sc->port.mac_stats.decode_buf; in sfxge_get_counter()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/
H A Dtegra186-p2771-0000.dts26 port@0 {
34 i2s1_port: port@1 {
52 port@0 {
60 i2s2_port: port@1 {
78 port@0 {
86 i2s3_port: port@1 {
104 port@0 {
112 i2s4_port: port@1 {
130 port@0 {
138 i2s5_port: port@1 {
[all …]
H A Dtegra234-p3737-0000+p3701-0000.dts95 port {
106 port {
127 port {
138 port {
217 port@0 {
225 port@1 {
245 port@0 {
253 port@1 {
H A Dtegra194-p3509-0000.dtsi22 port@0 {
30 i2s3_port: port@1 {
48 port@0 {
56 i2s5_port: port@1 {
74 port@0 {
83 sfc1_out_port: port@1 {
101 port@0 {
109 sfc2_out_port: port@1 {
126 port@0 {
134 sfc3_out_port: port@1 {
[all …]
H A Dtegra194-p2972-0000.dts27 port@0 {
35 i2s1_port: port@1 {
53 port@0 {
61 i2s2_port: port@1 {
79 port@0 {
87 i2s4_port: port@1 {
105 port@0 {
113 i2s6_port: port@1 {
131 port@0 {
139 sfc1_out_port: port@1 {
[all …]
H A Dtegra210-p2371-2180.dts131 port@0 {
139 i2s1_port: port@1 {
157 port@0 {
165 i2s2_port: port@1 {
183 port@0 {
191 i2s3_port: port@1 {
209 port@0 {
217 i2s4_port: port@1 {
235 port@0 {
243 i2s5_port: port
[all...]
/freebsd/usr.sbin/ctladm/tests/
H A Dport.sh57 if [ -e port-create.txt ]; then
60 PORTNUM=`awk '/port:/ {print $2}' port-create.txt`
61 ctladm port -r -d $driver -p $PORTNUM
64 TARGET=`awk '/target:/ {print $2}' port-create.txt`
65 ctladm port -r -d $driver -O cfiscsi_portal_group_tag=$PGTAG -O cfiscsi_target=$TARGET
74 atf_set "descr" "ctladm can create a new ioctl port"
81 atf_check -o save:port-create.txt ctladm port -c -d "ioctl"
82 atf_check egrep -q "Port created successfully" port
[all...]
/freebsd/sys/dev/puc/
H A Dpuc.c133 struct puc_port *port; in puc_intr() local
157 * lead to false positives on 8-port boards. in puc_intr()
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 in puc_intr()
214 struct puc_port *port; puc_bfe_attach() local
405 struct puc_port *port; puc_bfe_detach() local
478 struct puc_port *port; puc_bus_alloc_resource() local
531 struct puc_port *port; puc_bus_release_resource() local
565 struct puc_port *port; puc_bus_get_resource() local
600 struct puc_port *port; puc_bus_setup_intr() local
657 struct puc_port *port; puc_bus_teardown_intr() local
698 struct puc_port *port; puc_bus_read_ivar() local
728 struct puc_port *port; puc_bus_print_child() local
744 struct puc_port *port; puc_bus_child_location() local
754 struct puc_port *port; puc_bus_child_pnpinfo() local
[all...]
/freebsd/sys/dev/virtio/console/
H A Dvirtio_console.c569 struct vtcon_port *port; in vtcon_destroy_ports() local
580 port = scport->vcsp_port; in vtcon_destroy_ports()
581 if (port != NULL) { in vtcon_destroy_ports()
583 VTCON_PORT_LOCK(port); in vtcon_destroy_ports()
585 vtcon_port_teardown(port); in vtcon_destroy_ports()
744 struct vtcon_port *port; in vtcon_ctrl_port_remove_event() local
750 port = scport->vcsp_port; in vtcon_ctrl_port_remove_event()
751 if (port == NULL) { in vtcon_ctrl_port_remove_event()
759 VTCON_PORT_LOCK(port); in vtcon_ctrl_port_remove_event()
761 vtcon_port_teardown(port); in vtcon_ctrl_port_remove_event()
[all …]
/freebsd/sys/xen/evtchn/
H A Devtchnvar.h40 #define EVTCHN_PTR(type, port) ({ \ argument
41 KASSERT(port < nitems(HYPERVISOR_shared_info->evtchn_##type) * \
43 (HYPERVISOR_shared_info->evtchn_##type + ((port) / __LONG_BIT));\
45 #define EVTCHN_BIT(port) ((port) & (__LONG_BIT - 1)) argument
46 #define EVTCHN_MASK(port) (1UL << EVTCHN_BIT(port)) argument
57 evtchn_test_and_set_mask(evtchn_port_t port) in evtchn_test_and_set_mask() argument
60 return (atomic_testandset_xen_ulong(EVTCHN_PTR(mask, port), in evtchn_test_and_set_mask()
61 EVTCHN_BIT(port))); in evtchn_test_and_set_mask()
70 evtchn_clear_port(evtchn_port_t port) in evtchn_clear_port() argument
73 atomic_clear_xen_ulong(EVTCHN_PTR(pending, port), EVTCHN_MASK(port)); in evtchn_clear_port()
[all …]

12345678910>>...96