mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 08:31:39 +00:00
9f3101dca3
Expose the necessary tc classifier functions and wire up cls_api to use direct calls in retpoline kernels. Signed-off-by: Pedro Tammela <pctammela@mojatatu.com> Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com> Reviewed-by: Victor Nogueira <victor@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
27 lines
606 B
C
27 lines
606 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* net/sched/cls_rsvp.c Special RSVP packet classifier for IPv4.
|
|
*
|
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
#include <linux/types.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/string.h>
|
|
#include <linux/errno.h>
|
|
#include <linux/skbuff.h>
|
|
#include <net/ip.h>
|
|
#include <net/netlink.h>
|
|
#include <net/act_api.h>
|
|
#include <net/pkt_cls.h>
|
|
#include <net/tc_wrapper.h>
|
|
|
|
#define RSVP_DST_LEN 1
|
|
#define RSVP_ID "rsvp"
|
|
#define RSVP_OPS cls_rsvp_ops
|
|
#define RSVP_CLS rsvp_classify
|
|
|
|
#include "cls_rsvp.h"
|
|
MODULE_LICENSE("GPL");
|