├── .clang-format ├── .gitignore ├── .gitmodules ├── .travis.yml ├── CI └── travis │ ├── install-bmv2.sh │ ├── install-p4c-bmv2.sh │ ├── install-p4ofagent.sh │ ├── install-ptf.sh │ ├── run_of_tests.sh │ ├── run_switch_tests.sh │ └── veth_setup.sh ├── Makefile.am ├── README.md ├── autogen.sh ├── bmv2 ├── .gitignore ├── Makefile.am ├── bmv2_init.c ├── dummy.p4 ├── main.c ├── run_bm.sh.in ├── run_drivers.sh.in ├── run_of_tests.sh.in ├── run_tests.sh.in └── split_pd_thrift.py ├── configure.ac ├── docker ├── Dockerfile ├── bmv2 │ ├── Dockerfile │ ├── diffs │ │ └── mstpd.diff │ └── docker.mk ├── configure.sh.in ├── openflow_l2.py ├── p4_mininet.py ├── run_bm.sh.in ├── run_drivers.sh.in └── startup.sh ├── m4 ├── adl_recursive_eval.m4 ├── ax_cxx_compile_stdcxx_11.m4 ├── ax_prog_doxygen.m4 ├── ax_restore_flags.m4 └── ax_save_flags.m4 ├── openflow_mapping ├── l2.py └── mapping_common.py ├── p4src ├── .clang-format ├── LICENSE ├── README.md ├── acl.p4 ├── egress_filter.p4 ├── fabric.p4 ├── hashes.p4 ├── includes │ ├── cpu_reason_codes.h │ ├── defines.p4 │ ├── drop_reason_codes.h │ ├── headers.p4 │ ├── intrinsic.p4 │ ├── p4_table_sizes.h │ ├── p4features.h │ └── parser.p4 ├── int_transit.p4 ├── ipv4.p4 ├── ipv6.p4 ├── l2.p4 ├── l3.p4 ├── meter.p4 ├── mirror.p4 ├── multicast.p4 ├── nat.p4 ├── nexthop.p4 ├── openflow.p4 ├── p4_files.am ├── port.p4 ├── qos.p4 ├── rewrite.p4 ├── security.p4 ├── sflow.p4 ├── switch.p4 ├── switch_config.p4 └── tunnel.p4 ├── switchapi ├── .gitignore ├── Doxyfile ├── LICENSE ├── Makefile.am ├── README.md ├── autogen.sh ├── include │ └── switchapi │ │ ├── switch_INT.h │ │ ├── switch_acl.h │ │ ├── switch_base_types.h │ │ ├── switch_buffer.h │ │ ├── switch_capability.h │ │ ├── switch_config.h │ │ ├── switch_dox.h │ │ ├── switch_handle.h │ │ ├── switch_hostif.h │ │ ├── switch_id.h │ │ ├── switch_interface.h │ │ ├── switch_l2.h │ │ ├── switch_l3.h │ │ ├── switch_lag.h │ │ ├── switch_log.h │ │ ├── switch_mcast.h │ │ ├── switch_meter.h │ │ ├── switch_mirror.h │ │ ├── switch_nat.h │ │ ├── switch_neighbor.h │ │ ├── switch_nhop.h │ │ ├── switch_port.h │ │ ├── switch_porting.h │ │ ├── switch_protocol.h │ │ ├── switch_qos.h │ │ ├── switch_queue.h │ │ ├── switch_rmac.h │ │ ├── switch_scheduler.h │ │ ├── switch_sflow.h │ │ ├── switch_status.h │ │ ├── switch_stp.h │ │ ├── switch_tunnel.h │ │ ├── switch_utils.h │ │ ├── switch_vlan.h │ │ └── switch_vrf.h ├── main.dox ├── src │ ├── switch_INT.c │ ├── switch_acl.c │ ├── switch_acl_int.h │ ├── switch_api.thrift │ ├── switch_api_rpc_server.cpp │ ├── switch_bld_ver.h │ ├── switch_buffer.c │ ├── switch_buffer_int.h │ ├── switch_capability.c │ ├── switch_capability_int.h │ ├── switch_config.c │ ├── switch_config_int.h │ ├── switch_defines.h │ ├── switch_handle.c │ ├── switch_hostif.c │ ├── switch_hostif_int.h │ ├── switch_id.c │ ├── switch_init.c │ ├── switch_interface.c │ ├── switch_interface_int.h │ ├── switch_l2.c │ ├── switch_l2_int.h │ ├── switch_l3.c │ ├── switch_l3_int.h │ ├── switch_lag.c │ ├── switch_lag_int.h │ ├── switch_log.c │ ├── switch_log.h │ ├── switch_log_int.h │ ├── switch_lpm.c │ ├── switch_lpm_int.h │ ├── switch_mcast.c │ ├── switch_mcast_int.h │ ├── switch_meter.c │ ├── switch_meter_int.h │ ├── switch_mirror.c │ ├── switch_mirror_int.h │ ├── switch_nat.c │ ├── switch_nat_int.h │ ├── switch_neighbor.c │ ├── switch_neighbor_int.h │ ├── switch_nhop.c │ ├── switch_nhop_int.h │ ├── switch_packet.c │ ├── switch_packet_int.h │ ├── switch_pd.c │ ├── switch_pd.h │ ├── switch_pd_buffer.c │ ├── switch_pd_mcast.c │ ├── switch_pd_nat.c │ ├── switch_pd_ppg.c │ ├── switch_pd_qos.c │ ├── switch_pd_queue.c │ ├── switch_pd_types.h │ ├── switch_port.c │ ├── switch_port_int.h │ ├── switch_qos.c │ ├── switch_qos_int.h │ ├── switch_queue.c │ ├── switch_queue_int.h │ ├── switch_rmac.c │ ├── switch_rmac_int.h │ ├── switch_scheduler.c │ ├── switch_scheduler_int.h │ ├── switch_sflow.c │ ├── switch_sflow_int.h │ ├── switch_stp.c │ ├── switch_stp_int.h │ ├── switch_tunnel.c │ ├── switch_tunnel_int.h │ ├── switch_utils.c │ ├── switch_ver.h │ ├── switch_vlan.c │ ├── switch_vlan_int.h │ ├── switch_vrf.c │ ├── switch_vrf_int.h │ └── thrift_cache.h └── third-party │ └── tommyds │ ├── Makefile.am │ ├── include │ └── tommyds │ │ ├── tommy.h │ │ ├── tommyalloc.h │ │ ├── tommyarray.h │ │ ├── tommyarrayblk.h │ │ ├── tommyarrayblkof.h │ │ ├── tommyarrayof.h │ │ ├── tommychain.h │ │ ├── tommyhash.h │ │ ├── tommyhashdyn.h │ │ ├── tommyhashlin.h │ │ ├── tommyhashtbl.h │ │ ├── tommylist.h │ │ ├── tommytrie.h │ │ ├── tommytrieinp.h │ │ └── tommytypes.h │ └── src │ ├── tommyalloc.c │ ├── tommyarray.c │ ├── tommyarrayblk.c │ ├── tommyarrayblkof.c │ ├── tommyarrayof.c │ ├── tommyhash.c │ ├── tommyhashdyn.c │ ├── tommyhashlin.c │ ├── tommyhashtbl.c │ ├── tommylist.c │ ├── tommytrie.c │ └── tommytrieinp.c ├── switchlink ├── Makefile.am ├── README.md ├── autogen.sh ├── src │ ├── switchlink.h │ ├── switchlink_address.c │ ├── switchlink_db.c │ ├── switchlink_db.h │ ├── switchlink_db_int.h │ ├── switchlink_int.h │ ├── switchlink_link.c │ ├── switchlink_link.h │ ├── switchlink_main.c │ ├── switchlink_mdb.c │ ├── switchlink_neigh.c │ ├── switchlink_neigh.h │ ├── switchlink_netconf.c │ ├── switchlink_packet.c │ ├── switchlink_packet.h │ ├── switchlink_route.c │ ├── switchlink_route.h │ ├── switchlink_sai.c │ └── switchlink_sai.h └── third-party │ └── xxhash │ ├── Makefile.am │ ├── include │ └── xxhash.h │ └── src │ └── xxhash.c ├── switchsai ├── .gitignore ├── LICENSE ├── Makefile.am ├── README.md ├── autogen.sh ├── doc │ └── sai_support.pdf ├── json │ ├── saiacl.json │ ├── saifdb.json │ ├── saihostintf.json │ ├── sailag.json │ ├── saimirror.json │ ├── saineighbor.json │ ├── sainexthop.json │ ├── sainexthopgroup.json │ ├── saiport.json │ ├── sairoute.json │ ├── sairouter.json │ ├── sairouterintf.json │ ├── saistp.json │ ├── saiswitch.json │ └── saivlan.json ├── src │ ├── port.cfg.sample │ ├── sai-param-check.c │ ├── sai.c │ ├── sai_bmlib.c │ ├── saiacl.c │ ├── saibuffer.c │ ├── saifdb.c │ ├── saihash.c │ ├── saihostintf.c │ ├── saiinternal.h │ ├── saiipmc.c │ ├── sail2mc.c │ ├── sailag.c │ ├── saimirror.c │ ├── saineighbor.c │ ├── sainexthop.c │ ├── sainexthopgroup.c │ ├── saiobject.c │ ├── saipolicer.c │ ├── saiport.c │ ├── saiqosmaps.c │ ├── saiqueue.c │ ├── sairoute.c │ ├── sairouter.c │ ├── sairouterintf.c │ ├── saischeduler.c │ ├── saischedulergroup.c │ ├── saistp.c │ ├── saiswitch.c │ ├── saiudf.c │ ├── saiutils.c │ ├── saivlan.c │ ├── switch_sai.thrift │ └── switch_sai_rpc_server.cpp └── submodules │ └── .clang-format ├── tests ├── ntf-tests │ ├── configs │ │ ├── run_model_driver.sh │ │ ├── start.sh │ │ ├── sw1 │ │ │ ├── l2 │ │ │ │ └── startup_config.sh │ │ │ ├── l3_bgp │ │ │ │ ├── quagga │ │ │ │ │ ├── bgpd.conf │ │ │ │ │ ├── daemons │ │ │ │ │ └── zebra.conf │ │ │ │ └── startup_config.sh │ │ │ ├── l3_ospf │ │ │ │ ├── quagga │ │ │ │ │ ├── daemons │ │ │ │ │ ├── ospf6d.conf │ │ │ │ │ ├── ospfd.conf │ │ │ │ │ └── zebra.conf │ │ │ │ └── startup_config.sh │ │ │ ├── l3_static │ │ │ │ └── startup_config.sh │ │ │ ├── l3vi │ │ │ │ └── startup_config.sh │ │ │ └── stp │ │ │ │ └── startup_config.sh │ │ ├── sw2 │ │ │ ├── l2 │ │ │ │ └── startup_config.sh │ │ │ ├── l3_bgp │ │ │ │ ├── quagga │ │ │ │ │ ├── bgpd.conf │ │ │ │ │ ├── daemons │ │ │ │ │ └── zebra.conf │ │ │ │ └── startup_config.sh │ │ │ ├── l3_ospf │ │ │ │ ├── quagga │ │ │ │ │ ├── daemons │ │ │ │ │ ├── ospf6d.conf │ │ │ │ │ ├── ospfd.conf │ │ │ │ │ └── zebra.conf │ │ │ │ └── startup_config.sh │ │ │ ├── l3_static │ │ │ │ └── startup_config.sh │ │ │ └── stp │ │ │ │ └── startup_config.sh │ │ ├── sw3 │ │ │ └── stp │ │ │ │ └── startup_config.sh │ │ └── sw4 │ │ │ └── stp │ │ │ └── startup_config.sh │ ├── switch_tests.py │ └── topology │ │ ├── config.json │ │ ├── l2_topology.json │ │ ├── l3_bgp_topology.json │ │ ├── l3_ospf_topology.json │ │ ├── l3_static_topology.json │ │ ├── l3vi_topology.json │ │ └── stp_topology.json ├── of-tests │ ├── common │ │ └── utils.py │ ├── openflow.py │ └── openflow_base_tests.py ├── ptf-tests │ ├── api-tests │ │ ├── api_base_tests.py │ │ ├── switch.py │ │ ├── switch_acl.py │ │ ├── switch_int.py │ │ ├── switch_mcast.py │ │ ├── switch_qos.py │ │ └── switch_sflow.py │ ├── common │ │ ├── __init__.py │ │ ├── pd_utils.py │ │ ├── sai_utils.py │ │ └── utils.py │ ├── pd-tests │ │ ├── pd_base_tests.py │ │ └── switch.py │ └── sai-tests │ │ ├── README.txt │ │ ├── sai_base_test.py │ │ ├── switch.py │ │ └── switch_qos.py ├── run_of_tests.py └── run_tests.py.in ├── testutils ├── erspan3.py └── xnt.py ├── third-party ├── .clang-format └── ctypesgen │ ├── LICENSE │ ├── README │ ├── ctypesgen.py │ ├── ctypesgencore │ ├── __init__.py │ ├── ctypedescs.py │ ├── descriptions.py │ ├── expressions.py │ ├── libraryloader.py │ ├── messages.py │ ├── old libraryloader.py │ ├── options.py │ ├── parser │ │ ├── __init__.py │ │ ├── cdeclarations.py │ │ ├── cgrammar.py │ │ ├── cparser.py │ │ ├── ctypesparser.py │ │ ├── datacollectingparser.py │ │ ├── lex.py │ │ ├── lextab.py │ │ ├── parsetab.py │ │ ├── pplexer.py │ │ ├── preprocessor.py │ │ └── yacc.py │ ├── printer_json │ │ ├── __init__.py │ │ ├── printer.py │ │ └── test.py │ ├── printer_python │ │ ├── __init__.py │ │ ├── defaultheader.py │ │ ├── preamble.py │ │ ├── printer.py │ │ └── test.py │ └── processor │ │ ├── __init__.py │ │ ├── dependencies.py │ │ ├── operations.py │ │ └── pipeline.py │ ├── demo │ ├── demoapp.c │ ├── demoapp.py │ ├── demolib.c │ ├── demolib.h │ └── pydemolib.py │ ├── setup.py │ ├── test │ ├── ctypesgentest.py │ ├── gen-parser-outputs │ ├── test-headers │ │ ├── func_int_int.h │ │ ├── func_int_int.json │ │ ├── func_unnamed_param.h │ │ ├── func_unnamed_param.json │ │ ├── func_void_void.h │ │ ├── func_void_void.json │ │ ├── macro_constant.h │ │ ├── macro_constant.json │ │ ├── macro_divide.h │ │ ├── macro_divide.json │ │ ├── macro_mod.h │ │ ├── macro_mod.json │ │ ├── macro_multiply.h │ │ ├── macro_multiply.json │ │ ├── macro_params.h │ │ ├── macro_params.json │ │ ├── macro_stringify.h │ │ ├── macro_stringify.json │ │ ├── macro_subtract.h │ │ ├── macro_subtract.json │ │ ├── macro_ternary.h │ │ ├── macro_ternary.json │ │ ├── struct.h │ │ └── struct.json │ ├── test-parser │ └── testsuite.py │ └── todo.txt └── tools ├── veth_disable_ipv6.sh ├── veth_setup.sh └── veth_teardown.sh /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/.gitmodules -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/.travis.yml -------------------------------------------------------------------------------- /CI/travis/install-bmv2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/CI/travis/install-bmv2.sh -------------------------------------------------------------------------------- /CI/travis/install-p4c-bmv2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/CI/travis/install-p4c-bmv2.sh -------------------------------------------------------------------------------- /CI/travis/install-p4ofagent.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/CI/travis/install-p4ofagent.sh -------------------------------------------------------------------------------- /CI/travis/install-ptf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/CI/travis/install-ptf.sh -------------------------------------------------------------------------------- /CI/travis/run_of_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/CI/travis/run_of_tests.sh -------------------------------------------------------------------------------- /CI/travis/run_switch_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/CI/travis/run_switch_tests.sh -------------------------------------------------------------------------------- /CI/travis/veth_setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/CI/travis/veth_setup.sh -------------------------------------------------------------------------------- /Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/Makefile.am -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/README.md -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec autoreconf -fi 4 | -------------------------------------------------------------------------------- /bmv2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/.gitignore -------------------------------------------------------------------------------- /bmv2/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/Makefile.am -------------------------------------------------------------------------------- /bmv2/bmv2_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/bmv2_init.c -------------------------------------------------------------------------------- /bmv2/dummy.p4: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bmv2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/main.c -------------------------------------------------------------------------------- /bmv2/run_bm.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/run_bm.sh.in -------------------------------------------------------------------------------- /bmv2/run_drivers.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/run_drivers.sh.in -------------------------------------------------------------------------------- /bmv2/run_of_tests.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/run_of_tests.sh.in -------------------------------------------------------------------------------- /bmv2/run_tests.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/run_tests.sh.in -------------------------------------------------------------------------------- /bmv2/split_pd_thrift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/bmv2/split_pd_thrift.py -------------------------------------------------------------------------------- /configure.ac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/configure.ac -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/bmv2/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/bmv2/Dockerfile -------------------------------------------------------------------------------- /docker/bmv2/diffs/mstpd.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/bmv2/diffs/mstpd.diff -------------------------------------------------------------------------------- /docker/bmv2/docker.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/bmv2/docker.mk -------------------------------------------------------------------------------- /docker/configure.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/configure.sh.in -------------------------------------------------------------------------------- /docker/openflow_l2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/openflow_l2.py -------------------------------------------------------------------------------- /docker/p4_mininet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/p4_mininet.py -------------------------------------------------------------------------------- /docker/run_bm.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/run_bm.sh.in -------------------------------------------------------------------------------- /docker/run_drivers.sh.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/run_drivers.sh.in -------------------------------------------------------------------------------- /docker/startup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/docker/startup.sh -------------------------------------------------------------------------------- /m4/adl_recursive_eval.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/m4/adl_recursive_eval.m4 -------------------------------------------------------------------------------- /m4/ax_cxx_compile_stdcxx_11.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/m4/ax_cxx_compile_stdcxx_11.m4 -------------------------------------------------------------------------------- /m4/ax_prog_doxygen.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/m4/ax_prog_doxygen.m4 -------------------------------------------------------------------------------- /m4/ax_restore_flags.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/m4/ax_restore_flags.m4 -------------------------------------------------------------------------------- /m4/ax_save_flags.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/m4/ax_save_flags.m4 -------------------------------------------------------------------------------- /openflow_mapping/l2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/openflow_mapping/l2.py -------------------------------------------------------------------------------- /openflow_mapping/mapping_common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/openflow_mapping/mapping_common.py -------------------------------------------------------------------------------- /p4src/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | DisableFormat : true 3 | ... 4 | -------------------------------------------------------------------------------- /p4src/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/LICENSE -------------------------------------------------------------------------------- /p4src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/README.md -------------------------------------------------------------------------------- /p4src/acl.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/acl.p4 -------------------------------------------------------------------------------- /p4src/egress_filter.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/egress_filter.p4 -------------------------------------------------------------------------------- /p4src/fabric.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/fabric.p4 -------------------------------------------------------------------------------- /p4src/hashes.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/hashes.p4 -------------------------------------------------------------------------------- /p4src/includes/cpu_reason_codes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/cpu_reason_codes.h -------------------------------------------------------------------------------- /p4src/includes/defines.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/defines.p4 -------------------------------------------------------------------------------- /p4src/includes/drop_reason_codes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/drop_reason_codes.h -------------------------------------------------------------------------------- /p4src/includes/headers.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/headers.p4 -------------------------------------------------------------------------------- /p4src/includes/intrinsic.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/intrinsic.p4 -------------------------------------------------------------------------------- /p4src/includes/p4_table_sizes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/p4_table_sizes.h -------------------------------------------------------------------------------- /p4src/includes/p4features.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/p4features.h -------------------------------------------------------------------------------- /p4src/includes/parser.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/includes/parser.p4 -------------------------------------------------------------------------------- /p4src/int_transit.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/int_transit.p4 -------------------------------------------------------------------------------- /p4src/ipv4.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/ipv4.p4 -------------------------------------------------------------------------------- /p4src/ipv6.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/ipv6.p4 -------------------------------------------------------------------------------- /p4src/l2.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/l2.p4 -------------------------------------------------------------------------------- /p4src/l3.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/l3.p4 -------------------------------------------------------------------------------- /p4src/meter.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/meter.p4 -------------------------------------------------------------------------------- /p4src/mirror.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/mirror.p4 -------------------------------------------------------------------------------- /p4src/multicast.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/multicast.p4 -------------------------------------------------------------------------------- /p4src/nat.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/nat.p4 -------------------------------------------------------------------------------- /p4src/nexthop.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/nexthop.p4 -------------------------------------------------------------------------------- /p4src/openflow.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/openflow.p4 -------------------------------------------------------------------------------- /p4src/p4_files.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/p4_files.am -------------------------------------------------------------------------------- /p4src/port.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/port.p4 -------------------------------------------------------------------------------- /p4src/qos.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/qos.p4 -------------------------------------------------------------------------------- /p4src/rewrite.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/rewrite.p4 -------------------------------------------------------------------------------- /p4src/security.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/security.p4 -------------------------------------------------------------------------------- /p4src/sflow.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/sflow.p4 -------------------------------------------------------------------------------- /p4src/switch.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/switch.p4 -------------------------------------------------------------------------------- /p4src/switch_config.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/switch_config.p4 -------------------------------------------------------------------------------- /p4src/tunnel.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/p4src/tunnel.p4 -------------------------------------------------------------------------------- /switchapi/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/.gitignore -------------------------------------------------------------------------------- /switchapi/Doxyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/Doxyfile -------------------------------------------------------------------------------- /switchapi/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/LICENSE -------------------------------------------------------------------------------- /switchapi/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/Makefile.am -------------------------------------------------------------------------------- /switchapi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/README.md -------------------------------------------------------------------------------- /switchapi/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec autoreconf -fi 4 | -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_INT.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_INT.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_acl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_acl.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_base_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_base_types.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_buffer.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_capability.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_capability.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_config.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_dox.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_dox.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_handle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_handle.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_hostif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_hostif.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_id.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_id.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_interface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_interface.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_l2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_l2.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_l3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_l3.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_lag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_lag.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_log.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_mcast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_mcast.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_meter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_meter.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_mirror.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_mirror.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_nat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_nat.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_neighbor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_neighbor.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_nhop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_nhop.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_port.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_port.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_porting.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_porting.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_protocol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_protocol.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_qos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_qos.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_queue.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_rmac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_rmac.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_scheduler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_scheduler.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_sflow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_sflow.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_status.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_status.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_stp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_stp.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_tunnel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_tunnel.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_utils.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_vlan.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_vlan.h -------------------------------------------------------------------------------- /switchapi/include/switchapi/switch_vrf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/include/switchapi/switch_vrf.h -------------------------------------------------------------------------------- /switchapi/main.dox: -------------------------------------------------------------------------------- 1 | /** 2 | \mainpage 3 | 4 | The Switch API Library Repository 5 | 6 | */ 7 | 8 | -------------------------------------------------------------------------------- /switchapi/src/switch_INT.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_INT.c -------------------------------------------------------------------------------- /switchapi/src/switch_acl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_acl.c -------------------------------------------------------------------------------- /switchapi/src/switch_acl_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_acl_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_api.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_api.thrift -------------------------------------------------------------------------------- /switchapi/src/switch_api_rpc_server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_api_rpc_server.cpp -------------------------------------------------------------------------------- /switchapi/src/switch_bld_ver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_bld_ver.h -------------------------------------------------------------------------------- /switchapi/src/switch_buffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_buffer.c -------------------------------------------------------------------------------- /switchapi/src/switch_buffer_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_buffer_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_capability.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_capability.c -------------------------------------------------------------------------------- /switchapi/src/switch_capability_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_capability_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_config.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_config.c -------------------------------------------------------------------------------- /switchapi/src/switch_config_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_config_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_defines.h -------------------------------------------------------------------------------- /switchapi/src/switch_handle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_handle.c -------------------------------------------------------------------------------- /switchapi/src/switch_hostif.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_hostif.c -------------------------------------------------------------------------------- /switchapi/src/switch_hostif_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_hostif_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_id.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_id.c -------------------------------------------------------------------------------- /switchapi/src/switch_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_init.c -------------------------------------------------------------------------------- /switchapi/src/switch_interface.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_interface.c -------------------------------------------------------------------------------- /switchapi/src/switch_interface_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_interface_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_l2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_l2.c -------------------------------------------------------------------------------- /switchapi/src/switch_l2_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_l2_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_l3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_l3.c -------------------------------------------------------------------------------- /switchapi/src/switch_l3_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_l3_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_lag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_lag.c -------------------------------------------------------------------------------- /switchapi/src/switch_lag_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_lag_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_log.c -------------------------------------------------------------------------------- /switchapi/src/switch_log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_log.h -------------------------------------------------------------------------------- /switchapi/src/switch_log_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_log_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_lpm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_lpm.c -------------------------------------------------------------------------------- /switchapi/src/switch_lpm_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_lpm_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_mcast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_mcast.c -------------------------------------------------------------------------------- /switchapi/src/switch_mcast_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_mcast_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_meter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_meter.c -------------------------------------------------------------------------------- /switchapi/src/switch_meter_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_meter_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_mirror.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_mirror.c -------------------------------------------------------------------------------- /switchapi/src/switch_mirror_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_mirror_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_nat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_nat.c -------------------------------------------------------------------------------- /switchapi/src/switch_nat_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_nat_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_neighbor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_neighbor.c -------------------------------------------------------------------------------- /switchapi/src/switch_neighbor_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_neighbor_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_nhop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_nhop.c -------------------------------------------------------------------------------- /switchapi/src/switch_nhop_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_nhop_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_packet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_packet.c -------------------------------------------------------------------------------- /switchapi/src/switch_packet_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_packet_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_pd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd.c -------------------------------------------------------------------------------- /switchapi/src/switch_pd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd.h -------------------------------------------------------------------------------- /switchapi/src/switch_pd_buffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd_buffer.c -------------------------------------------------------------------------------- /switchapi/src/switch_pd_mcast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd_mcast.c -------------------------------------------------------------------------------- /switchapi/src/switch_pd_nat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd_nat.c -------------------------------------------------------------------------------- /switchapi/src/switch_pd_ppg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd_ppg.c -------------------------------------------------------------------------------- /switchapi/src/switch_pd_qos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd_qos.c -------------------------------------------------------------------------------- /switchapi/src/switch_pd_queue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd_queue.c -------------------------------------------------------------------------------- /switchapi/src/switch_pd_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_pd_types.h -------------------------------------------------------------------------------- /switchapi/src/switch_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_port.c -------------------------------------------------------------------------------- /switchapi/src/switch_port_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_port_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_qos.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_qos.c -------------------------------------------------------------------------------- /switchapi/src/switch_qos_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_qos_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_queue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_queue.c -------------------------------------------------------------------------------- /switchapi/src/switch_queue_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_queue_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_rmac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_rmac.c -------------------------------------------------------------------------------- /switchapi/src/switch_rmac_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_rmac_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_scheduler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_scheduler.c -------------------------------------------------------------------------------- /switchapi/src/switch_scheduler_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_scheduler_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_sflow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_sflow.c -------------------------------------------------------------------------------- /switchapi/src/switch_sflow_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_sflow_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_stp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_stp.c -------------------------------------------------------------------------------- /switchapi/src/switch_stp_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_stp_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_tunnel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_tunnel.c -------------------------------------------------------------------------------- /switchapi/src/switch_tunnel_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_tunnel_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_utils.c -------------------------------------------------------------------------------- /switchapi/src/switch_ver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_ver.h -------------------------------------------------------------------------------- /switchapi/src/switch_vlan.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_vlan.c -------------------------------------------------------------------------------- /switchapi/src/switch_vlan_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_vlan_int.h -------------------------------------------------------------------------------- /switchapi/src/switch_vrf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_vrf.c -------------------------------------------------------------------------------- /switchapi/src/switch_vrf_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/switch_vrf_int.h -------------------------------------------------------------------------------- /switchapi/src/thrift_cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/src/thrift_cache.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/Makefile.am -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommy.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommy.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyalloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyalloc.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyarray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyarray.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyarrayblk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyarrayblk.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyarrayblkof.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyarrayblkof.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyarrayof.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyarrayof.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommychain.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommychain.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyhash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyhash.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyhashdyn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyhashdyn.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyhashlin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyhashlin.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommyhashtbl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommyhashtbl.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommylist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommylist.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommytrie.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommytrie.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommytrieinp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommytrieinp.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/include/tommyds/tommytypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/include/tommyds/tommytypes.h -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyalloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyalloc.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyarray.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyarray.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyarrayblk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyarrayblk.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyarrayblkof.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyarrayblkof.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyarrayof.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyarrayof.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyhash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyhash.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyhashdyn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyhashdyn.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyhashlin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyhashlin.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommyhashtbl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommyhashtbl.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommylist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommylist.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommytrie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommytrie.c -------------------------------------------------------------------------------- /switchapi/third-party/tommyds/src/tommytrieinp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchapi/third-party/tommyds/src/tommytrieinp.c -------------------------------------------------------------------------------- /switchlink/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/Makefile.am -------------------------------------------------------------------------------- /switchlink/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/README.md -------------------------------------------------------------------------------- /switchlink/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec autoreconf -fi 4 | -------------------------------------------------------------------------------- /switchlink/src/switchlink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_address.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_address.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_db.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_db.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_db.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_db.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_db_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_db_int.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_int.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_link.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_link.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_link.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_link.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_main.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_mdb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_mdb.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_neigh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_neigh.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_neigh.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_neigh.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_netconf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_netconf.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_packet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_packet.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_packet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_packet.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_route.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_route.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_route.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_route.h -------------------------------------------------------------------------------- /switchlink/src/switchlink_sai.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_sai.c -------------------------------------------------------------------------------- /switchlink/src/switchlink_sai.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/src/switchlink_sai.h -------------------------------------------------------------------------------- /switchlink/third-party/xxhash/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/third-party/xxhash/Makefile.am -------------------------------------------------------------------------------- /switchlink/third-party/xxhash/include/xxhash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/third-party/xxhash/include/xxhash.h -------------------------------------------------------------------------------- /switchlink/third-party/xxhash/src/xxhash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchlink/third-party/xxhash/src/xxhash.c -------------------------------------------------------------------------------- /switchsai/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/.gitignore -------------------------------------------------------------------------------- /switchsai/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/LICENSE -------------------------------------------------------------------------------- /switchsai/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/Makefile.am -------------------------------------------------------------------------------- /switchsai/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/README.md -------------------------------------------------------------------------------- /switchsai/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec autoreconf -fi 4 | -------------------------------------------------------------------------------- /switchsai/doc/sai_support.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/doc/sai_support.pdf -------------------------------------------------------------------------------- /switchsai/json/saiacl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saiacl.json -------------------------------------------------------------------------------- /switchsai/json/saifdb.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saifdb.json -------------------------------------------------------------------------------- /switchsai/json/saihostintf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saihostintf.json -------------------------------------------------------------------------------- /switchsai/json/sailag.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/sailag.json -------------------------------------------------------------------------------- /switchsai/json/saimirror.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saimirror.json -------------------------------------------------------------------------------- /switchsai/json/saineighbor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saineighbor.json -------------------------------------------------------------------------------- /switchsai/json/sainexthop.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/sainexthop.json -------------------------------------------------------------------------------- /switchsai/json/sainexthopgroup.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/sainexthopgroup.json -------------------------------------------------------------------------------- /switchsai/json/saiport.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saiport.json -------------------------------------------------------------------------------- /switchsai/json/sairoute.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/sairoute.json -------------------------------------------------------------------------------- /switchsai/json/sairouter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/sairouter.json -------------------------------------------------------------------------------- /switchsai/json/sairouterintf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/sairouterintf.json -------------------------------------------------------------------------------- /switchsai/json/saistp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saistp.json -------------------------------------------------------------------------------- /switchsai/json/saiswitch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saiswitch.json -------------------------------------------------------------------------------- /switchsai/json/saivlan.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/json/saivlan.json -------------------------------------------------------------------------------- /switchsai/src/port.cfg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/port.cfg.sample -------------------------------------------------------------------------------- /switchsai/src/sai-param-check.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sai-param-check.c -------------------------------------------------------------------------------- /switchsai/src/sai.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sai.c -------------------------------------------------------------------------------- /switchsai/src/sai_bmlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sai_bmlib.c -------------------------------------------------------------------------------- /switchsai/src/saiacl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiacl.c -------------------------------------------------------------------------------- /switchsai/src/saibuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saibuffer.c -------------------------------------------------------------------------------- /switchsai/src/saifdb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saifdb.c -------------------------------------------------------------------------------- /switchsai/src/saihash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saihash.c -------------------------------------------------------------------------------- /switchsai/src/saihostintf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saihostintf.c -------------------------------------------------------------------------------- /switchsai/src/saiinternal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiinternal.h -------------------------------------------------------------------------------- /switchsai/src/saiipmc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiipmc.c -------------------------------------------------------------------------------- /switchsai/src/sail2mc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sail2mc.c -------------------------------------------------------------------------------- /switchsai/src/sailag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sailag.c -------------------------------------------------------------------------------- /switchsai/src/saimirror.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saimirror.c -------------------------------------------------------------------------------- /switchsai/src/saineighbor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saineighbor.c -------------------------------------------------------------------------------- /switchsai/src/sainexthop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sainexthop.c -------------------------------------------------------------------------------- /switchsai/src/sainexthopgroup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sainexthopgroup.c -------------------------------------------------------------------------------- /switchsai/src/saiobject.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiobject.c -------------------------------------------------------------------------------- /switchsai/src/saipolicer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saipolicer.c -------------------------------------------------------------------------------- /switchsai/src/saiport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiport.c -------------------------------------------------------------------------------- /switchsai/src/saiqosmaps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiqosmaps.c -------------------------------------------------------------------------------- /switchsai/src/saiqueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiqueue.c -------------------------------------------------------------------------------- /switchsai/src/sairoute.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sairoute.c -------------------------------------------------------------------------------- /switchsai/src/sairouter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sairouter.c -------------------------------------------------------------------------------- /switchsai/src/sairouterintf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/sairouterintf.c -------------------------------------------------------------------------------- /switchsai/src/saischeduler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saischeduler.c -------------------------------------------------------------------------------- /switchsai/src/saischedulergroup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saischedulergroup.c -------------------------------------------------------------------------------- /switchsai/src/saistp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saistp.c -------------------------------------------------------------------------------- /switchsai/src/saiswitch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiswitch.c -------------------------------------------------------------------------------- /switchsai/src/saiudf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiudf.c -------------------------------------------------------------------------------- /switchsai/src/saiutils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saiutils.c -------------------------------------------------------------------------------- /switchsai/src/saivlan.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/saivlan.c -------------------------------------------------------------------------------- /switchsai/src/switch_sai.thrift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/switch_sai.thrift -------------------------------------------------------------------------------- /switchsai/src/switch_sai_rpc_server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/switchsai/src/switch_sai_rpc_server.cpp -------------------------------------------------------------------------------- /switchsai/submodules/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | DisableFormat : true 3 | ... 4 | -------------------------------------------------------------------------------- /tests/ntf-tests/configs/run_model_driver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/run_model_driver.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/start.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l2/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l2/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_bgp/quagga/bgpd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_bgp/quagga/bgpd.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_bgp/quagga/daemons: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_bgp/quagga/daemons -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_bgp/quagga/zebra.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_bgp/quagga/zebra.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_bgp/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_bgp/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_ospf/quagga/daemons: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_ospf/quagga/daemons -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_ospf/quagga/ospf6d.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_ospf/quagga/ospf6d.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_ospf/quagga/ospfd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_ospf/quagga/ospfd.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_ospf/quagga/zebra.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_ospf/quagga/zebra.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_ospf/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_ospf/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3_static/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3_static/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/l3vi/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/l3vi/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw1/stp/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw1/stp/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l2/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l2/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_bgp/quagga/bgpd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_bgp/quagga/bgpd.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_bgp/quagga/daemons: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_bgp/quagga/daemons -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_bgp/quagga/zebra.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_bgp/quagga/zebra.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_bgp/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_bgp/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_ospf/quagga/daemons: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_ospf/quagga/daemons -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_ospf/quagga/ospf6d.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_ospf/quagga/ospf6d.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_ospf/quagga/ospfd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_ospf/quagga/ospfd.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_ospf/quagga/zebra.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_ospf/quagga/zebra.conf -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_ospf/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_ospf/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/l3_static/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/l3_static/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw2/stp/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw2/stp/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw3/stp/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw3/stp/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/configs/sw4/stp/startup_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/configs/sw4/stp/startup_config.sh -------------------------------------------------------------------------------- /tests/ntf-tests/switch_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/switch_tests.py -------------------------------------------------------------------------------- /tests/ntf-tests/topology/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/topology/config.json -------------------------------------------------------------------------------- /tests/ntf-tests/topology/l2_topology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/topology/l2_topology.json -------------------------------------------------------------------------------- /tests/ntf-tests/topology/l3_bgp_topology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/topology/l3_bgp_topology.json -------------------------------------------------------------------------------- /tests/ntf-tests/topology/l3_ospf_topology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/topology/l3_ospf_topology.json -------------------------------------------------------------------------------- /tests/ntf-tests/topology/l3_static_topology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/topology/l3_static_topology.json -------------------------------------------------------------------------------- /tests/ntf-tests/topology/l3vi_topology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/topology/l3vi_topology.json -------------------------------------------------------------------------------- /tests/ntf-tests/topology/stp_topology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ntf-tests/topology/stp_topology.json -------------------------------------------------------------------------------- /tests/of-tests/common/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/of-tests/common/utils.py -------------------------------------------------------------------------------- /tests/of-tests/openflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/of-tests/openflow.py -------------------------------------------------------------------------------- /tests/of-tests/openflow_base_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/of-tests/openflow_base_tests.py -------------------------------------------------------------------------------- /tests/ptf-tests/api-tests/api_base_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/api-tests/api_base_tests.py -------------------------------------------------------------------------------- /tests/ptf-tests/api-tests/switch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/api-tests/switch.py -------------------------------------------------------------------------------- /tests/ptf-tests/api-tests/switch_acl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/api-tests/switch_acl.py -------------------------------------------------------------------------------- /tests/ptf-tests/api-tests/switch_int.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/api-tests/switch_int.py -------------------------------------------------------------------------------- /tests/ptf-tests/api-tests/switch_mcast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/api-tests/switch_mcast.py -------------------------------------------------------------------------------- /tests/ptf-tests/api-tests/switch_qos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/api-tests/switch_qos.py -------------------------------------------------------------------------------- /tests/ptf-tests/api-tests/switch_sflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/api-tests/switch_sflow.py -------------------------------------------------------------------------------- /tests/ptf-tests/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/ptf-tests/common/pd_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/common/pd_utils.py -------------------------------------------------------------------------------- /tests/ptf-tests/common/sai_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/common/sai_utils.py -------------------------------------------------------------------------------- /tests/ptf-tests/common/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/common/utils.py -------------------------------------------------------------------------------- /tests/ptf-tests/pd-tests/pd_base_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/pd-tests/pd_base_tests.py -------------------------------------------------------------------------------- /tests/ptf-tests/pd-tests/switch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/pd-tests/switch.py -------------------------------------------------------------------------------- /tests/ptf-tests/sai-tests/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/sai-tests/README.txt -------------------------------------------------------------------------------- /tests/ptf-tests/sai-tests/sai_base_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/sai-tests/sai_base_test.py -------------------------------------------------------------------------------- /tests/ptf-tests/sai-tests/switch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/sai-tests/switch.py -------------------------------------------------------------------------------- /tests/ptf-tests/sai-tests/switch_qos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/ptf-tests/sai-tests/switch_qos.py -------------------------------------------------------------------------------- /tests/run_of_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/run_of_tests.py -------------------------------------------------------------------------------- /tests/run_tests.py.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tests/run_tests.py.in -------------------------------------------------------------------------------- /testutils/erspan3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/testutils/erspan3.py -------------------------------------------------------------------------------- /testutils/xnt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/testutils/xnt.py -------------------------------------------------------------------------------- /third-party/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | DisableFormat : true 3 | ... 4 | -------------------------------------------------------------------------------- /third-party/ctypesgen/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/LICENSE -------------------------------------------------------------------------------- /third-party/ctypesgen/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/README -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgen.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/__init__.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/ctypedescs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/ctypedescs.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/descriptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/descriptions.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/expressions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/expressions.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/libraryloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/libraryloader.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/messages.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/old libraryloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/old libraryloader.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/options.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/__init__.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/cdeclarations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/cdeclarations.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/cgrammar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/cgrammar.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/cparser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/cparser.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/ctypesparser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/ctypesparser.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/datacollectingparser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/datacollectingparser.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/lex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/lex.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/lextab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/lextab.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/parsetab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/parsetab.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/pplexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/pplexer.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/preprocessor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/preprocessor.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/parser/yacc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/parser/yacc.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_json/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_json/__init__.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_json/printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_json/printer.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_json/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_json/test.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_python/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_python/__init__.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_python/defaultheader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_python/defaultheader.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_python/preamble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_python/preamble.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_python/printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_python/printer.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/printer_python/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/printer_python/test.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/processor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/processor/__init__.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/processor/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/processor/dependencies.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/processor/operations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/processor/operations.py -------------------------------------------------------------------------------- /third-party/ctypesgen/ctypesgencore/processor/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/ctypesgencore/processor/pipeline.py -------------------------------------------------------------------------------- /third-party/ctypesgen/demo/demoapp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/demo/demoapp.c -------------------------------------------------------------------------------- /third-party/ctypesgen/demo/demoapp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/demo/demoapp.py -------------------------------------------------------------------------------- /third-party/ctypesgen/demo/demolib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/demo/demolib.c -------------------------------------------------------------------------------- /third-party/ctypesgen/demo/demolib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/demo/demolib.h -------------------------------------------------------------------------------- /third-party/ctypesgen/demo/pydemolib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/demo/pydemolib.py -------------------------------------------------------------------------------- /third-party/ctypesgen/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/setup.py -------------------------------------------------------------------------------- /third-party/ctypesgen/test/ctypesgentest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/ctypesgentest.py -------------------------------------------------------------------------------- /third-party/ctypesgen/test/gen-parser-outputs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/gen-parser-outputs -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/func_int_int.h: -------------------------------------------------------------------------------- 1 | int bar2(int a); 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/func_int_int.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/func_int_int.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/func_unnamed_param.h: -------------------------------------------------------------------------------- 1 | int bar(int); 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/func_unnamed_param.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/func_unnamed_param.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/func_void_void.h: -------------------------------------------------------------------------------- 1 | void foo(void); 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/func_void_void.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/func_void_void.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_constant.h: -------------------------------------------------------------------------------- 1 | #define A 1 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_constant.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_constant.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_divide.h: -------------------------------------------------------------------------------- 1 | #define divide_macro(x,y) x/y 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_divide.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_divide.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_mod.h: -------------------------------------------------------------------------------- 1 | #define mod_macro(x,y) x%y 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_mod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_mod.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_multiply.h: -------------------------------------------------------------------------------- 1 | #define multipler_macro(x,y) x*y 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_multiply.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_multiply.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_params.h: -------------------------------------------------------------------------------- 1 | #define B(x,y) x+y 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_params.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_stringify.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_stringify.h -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_stringify.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_stringify.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_subtract.h: -------------------------------------------------------------------------------- 1 | #define minus_macro(x,y) x-y 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_subtract.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_subtract.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_ternary.h: -------------------------------------------------------------------------------- 1 | #define C(a,b,c) a?b:c 2 | -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/macro_ternary.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/macro_ternary.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/struct.h -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-headers/struct.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-headers/struct.json -------------------------------------------------------------------------------- /third-party/ctypesgen/test/test-parser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/test-parser -------------------------------------------------------------------------------- /third-party/ctypesgen/test/testsuite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/test/testsuite.py -------------------------------------------------------------------------------- /third-party/ctypesgen/todo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/third-party/ctypesgen/todo.txt -------------------------------------------------------------------------------- /tools/veth_disable_ipv6.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tools/veth_disable_ipv6.sh -------------------------------------------------------------------------------- /tools/veth_setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tools/veth_setup.sh -------------------------------------------------------------------------------- /tools/veth_teardown.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/p4lang/switch/HEAD/tools/veth_teardown.sh --------------------------------------------------------------------------------