mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
![Pedro Tammela](/assets/img/avatar_default.png)
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>
26 lines
614 B
C
26 lines
614 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* net/sched/cls_rsvp6.c Special RSVP packet classifier for IPv6.
|
|
*
|
|
* 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/ipv6.h>
|
|
#include <linux/skbuff.h>
|
|
#include <net/act_api.h>
|
|
#include <net/pkt_cls.h>
|
|
#include <net/netlink.h>
|
|
#include <net/tc_wrapper.h>
|
|
|
|
#define RSVP_DST_LEN 4
|
|
#define RSVP_ID "rsvp6"
|
|
#define RSVP_OPS cls_rsvp6_ops
|
|
#define RSVP_CLS rsvp6_classify
|
|
|
|
#include "cls_rsvp.h"
|
|
MODULE_LICENSE("GPL");
|