Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/net/sched/cls_rsvp.c
15109 views
1
/*
2
* net/sched/cls_rsvp.c Special RSVP packet classifier for IPv4.
3
*
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License
6
* as published by the Free Software Foundation; either version
7
* 2 of the License, or (at your option) any later version.
8
*
9
* Authors: Alexey Kuznetsov, <[email protected]>
10
*/
11
12
#include <linux/module.h>
13
#include <linux/types.h>
14
#include <linux/kernel.h>
15
#include <linux/string.h>
16
#include <linux/errno.h>
17
#include <linux/skbuff.h>
18
#include <net/ip.h>
19
#include <net/netlink.h>
20
#include <net/act_api.h>
21
#include <net/pkt_cls.h>
22
23
#define RSVP_DST_LEN 1
24
#define RSVP_ID "rsvp"
25
#define RSVP_OPS cls_rsvp_ops
26
27
#include "cls_rsvp.h"
28
MODULE_LICENSE("GPL");
29
30