mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +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
614 B
C
27 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");
|