libnl: N-Byte Comparison

libnl 3.12.0

N-Byte Comparison
Routing Library (libnl-route) » Traffic Control » Classifiers » Extended Match

## Data Structures
struct | nbyte_data

## Functions
void | rtnl_ematch_nbyte_set_offset (struct rtnl_ematch *e, uint8_t layer, uint16_t offset)
uint16_t | rtnl_ematch_nbyte_get_offset (struct rtnl_ematch *e)
uint8_t | rtnl_ematch_nbyte_get_layer (struct rtnl_ematch *e)
void | rtnl_ematch_nbyte_set_pattern (struct rtnl_ematch *e, uint8_t *pattern, size_t len)
uint8_t * | rtnl_ematch_nbyte_get_pattern (struct rtnl_ematch *e)
size_t | rtnl_ematch_nbyte_get_len (struct rtnl_ematch *e)

## Detailed Description

## Function Documentation

## ◆ rtnl_ematch_nbyte_set_offset()

void rtnl_ematch_nbyte_set_offset | ( | struct rtnl_ematch * | e,
|  | uint8_t | layer,
|  | uint16_t | offset )

Definition at line 27 of file nbyte.c.

## ◆ rtnl_ematch_nbyte_get_offset()

uint16_t rtnl_ematch_nbyte_get_offset | ( | struct rtnl_ematch * | e | ) |

Definition at line 35 of file nbyte.c.

## ◆ rtnl_ematch_nbyte_get_layer()

uint8_t rtnl_ematch_nbyte_get_layer | ( | struct rtnl_ematch * | e | ) |

Definition at line 40 of file nbyte.c.

## ◆ rtnl_ematch_nbyte_set_pattern()

void rtnl_ematch_nbyte_set_pattern | ( | struct rtnl_ematch * | e,
|  | uint8_t * | pattern,
|  | size_t | len )

Definition at line 45 of file nbyte.c.

## ◆ rtnl_ematch_nbyte_get_pattern()

uint8_t * rtnl_ematch_nbyte_get_pattern | ( | struct rtnl_ematch * | e | ) |

Definition at line 57 of file nbyte.c.

## ◆ rtnl_ematch_nbyte_get_len()

size_t rtnl_ematch_nbyte_get_len | ( | struct rtnl_ematch * | e | ) |

Definition at line 62 of file nbyte.c.