| /freebsd-13.1/contrib/netbsd-tests/ipf/regress/ |
| H A D | in2 | 1 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 15 rdr le0 9.8.7.6/32 port 0 -> 1.1.1.1 port 0 ip frag [all …]
|
| H A D | in2_6 | 1 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 15 rdr le0 inet6 9:8:7::6/128 port 0 -> 1:1:1::1 port 0 ip frag 16 rdr le0 inet6 9:8:7::6/128 port 80 -> 1:1:1::1 port 80 icmp frag [all …]
|
| H A D | in5 | 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 9 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp/udp 11 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp 12 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp round-robin 15 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 icmp frag 16 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp frag [all …]
|
| H A D | in5_6 | 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 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 port 888 tcp round-robin 15 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 icmp frag [all …]
|
| H A D | f5 | 1 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 7 block in proto tcp from any port >= 1024 to any 8 block in proto udp from any port >= 1024 to any 10 pass in proto tcp from any port >= 1024 to any 11 pass in proto udp from any port >= 1024 to any 25 pass in proto tcp from any port = 23 to any [all …]
|
| H A D | f6 | 1 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 7 block in proto tcp from any to any port >= 1024 8 block in proto udp from any to any port >= 1024 10 pass in proto tcp from any to any port >= 1024 11 pass in proto udp from any to any port >= 1024 25 pass in proto tcp from any to any port = 23 [all …]
|
| /freebsd-13.1/sbin/pfctl/tests/files/ |
| H A D | pf0004.ok | 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 18 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = ircd 19 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 12.34.56.78 port = 6668 21 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 192.168.0.0/16 port = ircd 24 block drop in inet proto tcp from 10.0.0.0/8 port = ftp to 12.34.56.78 port = ircd [all …]
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | event_iocp.c | 68 HANDLE p = port->port; in loop() 106 h = CreateIoCompletionPort((HANDLE)fd, port->port, key, port->n_threads); in event_iocp_port_associate_() 190 port->threads = mm_calloc(port->n_threads, sizeof(HANDLE)); in event_iocp_port_launch_() 196 port->ms = -1; in event_iocp_port_launch_() 197 if (!port->port) in event_iocp_port_launch_() 214 return port; in event_iocp_port_launch_() 216 if (port->port) in event_iocp_port_launch_() 217 CloseHandle(port->port); in event_iocp_port_launch_() 222 mm_free(port); in event_iocp_port_launch_() 230 CloseHandle(port->port); in event_iocp_port_unlock_and_free_() [all …]
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | event_iocp.c | 68 HANDLE p = port->port; in loop() 106 h = CreateIoCompletionPort((HANDLE)fd, port->port, key, port->n_threads); in event_iocp_port_associate_() 190 port->threads = mm_calloc(port->n_threads, sizeof(HANDLE)); in event_iocp_port_launch_() 196 port->ms = -1; in event_iocp_port_launch_() 197 if (!port->port) in event_iocp_port_launch_() 214 return port; in event_iocp_port_launch_() 216 if (port->port) in event_iocp_port_launch_() 217 CloseHandle(port->port); in event_iocp_port_launch_() 222 mm_free(port); in event_iocp_port_launch_() 230 CloseHandle(port->port); in event_iocp_port_unlock_and_free_() [all …]
|
| /freebsd-13.1/sys/cam/ctl/ |
| H A D | ctl_frontend.c | 177 port->wwpn_iid = malloc(sizeof(*port->wwpn_iid) * port->max_initiators, in ctl_port_register() 211 STAILQ_INSERT_TAIL(&port->frontend->port_list, port, fe_links); in ctl_port_register() 220 softc->ctl_ports[port->targ_port] = port; in ctl_port_register() 238 STAILQ_REMOVE(&port->frontend->port_list, port, ctl_port, fe_links); in ctl_port_deregister() 279 port->wwnn = wwnn; in ctl_port_set_wwns() 327 port->lun_enable(port->targ_lun_arg, l); in ctl_port_online() 331 port->lun_enable(port->targ_lun_arg, lun->lun); in ctl_port_online() 335 port->port_online(port->onoff_arg); in ctl_port_online() 364 port->port_offline(port->onoff_arg); in ctl_port_offline() 371 port->lun_disable(port->targ_lun_arg, l); in ctl_port_offline() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/ipf/expected/ |
| H A D | in2 | 1 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 D | in2_6 | 1 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 D | in5 | 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 16 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1,1.1.1.2 port 888 tcp frag 17 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp round-robin frag [all …]
|
| H A D | in5_6 | 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 16 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1,1:1:1::2 port 888 tcp frag 17 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp round-robin frag [all …]
|
| H A D | i21 | 1 pass in from any port = 10101 to any 2 pass out from any to any port != 22 3 block in from any port 20:21 to any 5 pass out from any to any port = 3 6 pass out from any to any port = 5 11 pass in from any port 11:12 to any port 1:2 12 pass in from any port 21:22 to any port 1:2 13 pass in from any port 11:12 to any port 4:5 14 pass in from any port 21:22 to any port 4:5 15 pass in from any port 11:12 to any port 8:9 [all …]
|
| /freebsd-13.1/sys/contrib/ngatm/netnatm/api/ |
| H A D | cc_port.c | 57 if (port->param.port == portno) in find_port() 75 if (port->param.port == portno) in cc_port_create() 78 port = CCZALLOC(sizeof(*port)); in cc_port_create() 87 port->param.port = portno; in cc_port_create() 120 TAILQ_REMOVE(&port->cc->port_list, port, node_link); in cc_port_destroy() 226 *pports++ = port->param.port; in cc_get_addrs() 240 return (port->param.port); in cc_port_no() 317 if ((port = find_port(cc, param->port)) == NULL) in cc_port_set_param() 367 cc->funcs->send_uni_glob(port, port->uarg, in cc_port_start() 617 port->cc->funcs->send_uni_glob(port, port->uarg, in cc_uni_signal() [all …]
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-mgmt-port.c | 157 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_initialize() 427 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_shutdown() 455 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_enable() 503 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_disable() 534 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_send() 594 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_sendm() 651 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_receive() 768 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_set_mac() 805 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_get_mac() 824 if ((port < 0) || (port >= __cvmx_mgmt_port_num_ports())) in cvmx_mgmt_port_set_multicast_list() [all …]
|
| H A D | cvmx-spi4000.c | 194 mdio.s.phy_address = port; in __cvmx_spi4000_mdio_write() 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() 335 for (port=0; port < 10; port++) in __cvmx_spi4000_configure_mac() 364 int port; in __cvmx_spi4000_configure_phy() local 373 for (port=0; port < 10; port++) in __cvmx_spi4000_configure_phy() 376 for (port=0; port < 10; port++) in __cvmx_spi4000_configure_phy() 379 for (port=0; port < 10; port++) in __cvmx_spi4000_configure_phy() 382 for (port=0; port < 10; port++) in __cvmx_spi4000_configure_phy() [all …]
|
| /freebsd-13.1/sys/contrib/ncsw/Peripherals/FM/Port/ |
| H A D | fman_port.c | 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() 182 if (port->im_en) in init_bmi_tx() 211 if (!port->im_en) in init_bmi_tx() 222 if (port->im_en) in init_bmi_tx() 232 if (port->im_en) in init_bmi_tx() 255 if (!port->im_en) in init_bmi_tx() [all …]
|
| /freebsd-13.1/sys/dev/sfxge/ |
| H A D | sfxge_port.c | 62 struct sfxge_port *port = &sc->port; in sfxge_mac_stat_update() local 249 port = &sc->port; in sfxge_port_wanted_fc_handler() 286 port = &sc->port; in sfxge_port_link_fc_handler() 321 port = &sc->port; in sfxge_mac_link_update() 344 port = &sc->port; in sfxge_mac_poll_work() 377 struct sfxge_port *port = &sc->port; in sfxge_mac_multicast_list_set() local 454 port = &sc->port; in sfxge_port_stop() 493 port = &sc->port; in sfxge_port_start() 664 port = &sc->port; in sfxge_port_fini() 715 port = &sc->port; in sfxge_port_stats_update_period_ms_handler() [all …]
|
| /freebsd-13.1/sys/dev/ce/ |
| H A D | machdep.h | 27 # 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 58 { outb (byte, port); } in __ddk_outb() 63 # define outb(port,val) __ddk_outb(port, val) argument [all …]
|
| /freebsd-13.1/sys/dev/cp/ |
| H A D | machdep.h | 27 # 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 58 { outb (byte, port); } in __ddk_outb() 63 # define outb(port,val) __ddk_outb(port, val) argument [all …]
|
| /freebsd-13.1/sys/dev/puc/ |
| H A D | puc.c | 136 struct puc_port *port; in puc_intr() local 181 port->p_ipend = SERDEV_IPEND(port->p_dev); in puc_intr() 203 (*port->p_ihsrc[i])(port->p_iharg); in puc_intr() 280 port->p_type = res; in puc_bfe_attach() 289 port->p_bar = bar; in puc_bfe_attach() 310 port->p_ires = rman_reserve_resource(&sc->sc_irq, port->p_nr, in puc_bfe_attach() 319 port->p_rclk = res; in puc_bfe_attach() 323 device_set_ivars(port->p_dev, (void *)port); in puc_bfe_attach() 504 res = port->p_rres; in puc_bus_alloc_resource() 658 *cookiep = port; in puc_bus_setup_intr() [all …]
|
| /freebsd-13.1/sys/dev/isci/scil/ |
| H A D | scic_sds_port_registers.h | 74 #define scu_port_task_scheduler_read(port, reg) \ argument 76 scic_sds_port_get_controller(port), \ 86 scic_sds_port_get_controller(port), \ 93 scic_sds_port_get_controller(port), \ 94 (port)->viit_registers->reg, \ 105 #define SCU_PTSxCR_READ(port) \ argument 106 scu_port_task_scheduler_read(port, control) 111 #define SCU_PTSxCR_WRITE(port, value) \ argument 123 scic_sds_port_get_controller(port), \ 131 #define SCU_PCSPExCR_READ(port, phy_id) \ argument [all …]
|
| /freebsd-13.1/sys/dev/virtio/console/ |
| H A D | virtio_console.c | 756 if (port == NULL) { in vtcon_ctrl_port_remove_event() 781 if (port == NULL) { in vtcon_ctrl_port_console_event() 807 if (port == NULL) { in vtcon_ctrl_port_open_event() 845 if (port == NULL) { in vtcon_ctrl_port_name_event() 1139 if (port == NULL) in vtcon_port_create() 1146 port->vtcport_tty = tty_alloc_mutex(&vtcon_tty_class, port, in vtcon_port_create() 1275 if (port != NULL) { in vtcon_port_update_console_size() 1353 if (port == NULL) { in vtcon_port_intr() 1448 port = xport; in vtcon_tty_free() 1484 if (port == NULL) in vtcon_enable_interrupts() [all …]
|