Trait portus::DatapathTrait[][src]

pub trait DatapathTrait {
    fn install(
        &self,
        src: &[u8],
        fields: Option<&[(&str, u32)]>
    ) -> Result<Scope>;
fn update_field(&self, sc: &Scope, update: &[(&str, u32)]) -> Result<()>;
fn get_sock_id(&self) -> u32; }

A collection of methods to interact with the datapath.

Required Methods

Install a fold function in the datapath.

Update the value of a register in an already-installed fold function.

Implementors