P4C
The P4 Compiler
|
#include <pseudoheader.h>
Public Member Functions | |
Pseudoheader (const PovBitSet pov_bits, const std::vector< const PHV::Field * > fields) | |
bool | operator< (const Pseudoheader &other) const |
Ordering on id. | |
Public Member Functions inherited from LiftLess< Pseudoheader > | |
OPERATOR (equal, Equal) | |
OPERATOR (greater, Greater) | |
OPERATOR (greater_equal, GreaterEqual) | |
OPERATOR (less, Less) | |
OPERATOR (less_equal, LessEqual) | |
OPERATOR (not_equal, NotEqual) | |
bool | operator!= (const Pseudoheader &other) const |
bool | operator<= (const Pseudoheader &other) const |
bool | operator== (const Pseudoheader &other) const |
bool | operator> (const Pseudoheader &other) const |
bool | operator>= (const Pseudoheader &other) const |
Public Attributes | |
const std::vector< const PHV::Field * > | fields |
The sequence of fields that constitute this pseudoheader. | |
const int | id |
const PovBitSet | pov_bits |
The set of all POV bits under which this pseudoheader is emitted. | |
Friends | |
class | ClotInfo |
Copyright (C) 2024 Intel Corporation
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 Represents a sequence of fields that are always contiguously emitted by the deparser. A pseudoheader may be emitted multiple times by the deparser, each time with a different POV bit.
|
inlinevirtual |
Ordering on id.
Implements LiftLess< Pseudoheader >.