6#ifndef NETLINK_CLS_EMATCH_TEXT_H_
7#define NETLINK_CLS_EMATCH_TEXT_H_
9#include <netlink/netlink.h>
10#include <netlink/route/cls/ematch.h>
11#include <linux/tc_ematch/tc_em_text.h>
17extern void rtnl_ematch_text_set_from(
struct rtnl_ematch *,
19extern uint16_t rtnl_ematch_text_get_from_offset(
struct rtnl_ematch *);
20extern uint8_t rtnl_ematch_text_get_from_layer(
struct rtnl_ematch *);
21extern void rtnl_ematch_text_set_to(
struct rtnl_ematch *,
23extern uint16_t rtnl_ematch_text_get_to_offset(
struct rtnl_ematch *);
24extern uint8_t rtnl_ematch_text_get_to_layer(
struct rtnl_ematch *);
25extern void rtnl_ematch_text_set_pattern(
struct rtnl_ematch *,
27extern char * rtnl_ematch_text_get_pattern(
struct rtnl_ematch *);
28extern size_t rtnl_ematch_text_get_len(
struct rtnl_ematch *);
29extern void rtnl_ematch_text_set_algo(
struct rtnl_ematch *,
const char *);
30extern char * rtnl_ematch_text_get_algo(
struct rtnl_ematch *);