Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions backends/bmv2/run-bmv2-test.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
#!/usr/bin/env python3

# SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
# Copyright 2013-present Barefoot Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

# Runs the compiler on a sample P4 program generating code for the BMv2
# behavioral model simulator
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/codeGen.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
// Copyright 2013-present Barefoot Networks, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "codeGen.h"

Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/codeGen.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_CODEGEN_H_
#define BACKENDS_EBPF_CODEGEN_H_
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/ebpfBackend.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
// Copyright 2013-present Barefoot Networks, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "ebpfBackend.h"

Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/ebpfBackend.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_EBPFBACKEND_H_
#define BACKENDS_EBPF_EBPFBACKEND_H_
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/ebpfControl.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
// Copyright 2013-present Barefoot Networks, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "ebpfControl.h"

Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/ebpfControl.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_EBPFCONTROL_H_
#define BACKENDS_EBPF_EBPFCONTROL_H_
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/ebpfModel.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
// Copyright 2013-present Barefoot Networks, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "ebpfModel.h"

Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/ebpfModel.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_EBPFMODEL_H_
#define BACKENDS_EBPF_EBPFMODEL_H_
Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/ebpfObject.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_EBPFOBJECT_H_
#define BACKENDS_EBPF_EBPFOBJECT_H_
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/ebpfOptions.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2022 VMware Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Copyright 2022 VMware Inc.
// SPDX-FileCopyrightText: 2022 VMware, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "ebpfOptions.h"

Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/ebpfOptions.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_EBPFOPTIONS_H_
#define BACKENDS_EBPF_EBPFOPTIONS_H_
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/ebpfParser.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
// Copyright 2013-present Barefoot Networks, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "ebpfParser.h"

Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/ebpfParser.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_EBPFPARSER_H_
#define BACKENDS_EBPF_EBPFPARSER_H_
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/ebpfTable.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
// Copyright 2013-present Barefoot Networks, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "ebpfTable.h"

Expand Down
19 changes: 5 additions & 14 deletions backends/ebpf/ebpfTable.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
* Copyright 2013-present Barefoot Networks, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef BACKENDS_EBPF_EBPFTABLE_H_
#define BACKENDS_EBPF_EBPFTABLE_H_
Expand Down
19 changes: 4 additions & 15 deletions backends/ebpf/ebpfType.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
/*
Copyright 2013-present Barefoot Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
// Copyright 2013-present Barefoot Networks, Inc.
//
// SPDX-License-Identifier: Apache-2.0

#include "ebpfType.h"

Expand Down
Loading
Loading