sch_generic.h (d0bd684dddab51ed017ece0359f26b038ec31940) | sch_generic.h (a38a98821c939e67e5906bddbed1d15af5ca860d) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NET_SCHED_GENERIC_H 3#define __NET_SCHED_GENERIC_H 4 5#include <linux/netdevice.h> 6#include <linux/types.h> 7#include <linux/rcupdate.h> 8#include <linux/pkt_sched.h> --- 460 unchanged lines hidden (view full) --- 469void qdisc_reset(struct Qdisc *qdisc); 470void qdisc_destroy(struct Qdisc *qdisc); 471void qdisc_tree_reduce_backlog(struct Qdisc *qdisc, unsigned int n, 472 unsigned int len); 473struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, 474 const struct Qdisc_ops *ops, 475 struct netlink_ext_ack *extack); 476struct Qdisc *qdisc_create_dflt(struct netdev_queue *dev_queue, | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NET_SCHED_GENERIC_H 3#define __NET_SCHED_GENERIC_H 4 5#include <linux/netdevice.h> 6#include <linux/types.h> 7#include <linux/rcupdate.h> 8#include <linux/pkt_sched.h> --- 460 unchanged lines hidden (view full) --- 469void qdisc_reset(struct Qdisc *qdisc); 470void qdisc_destroy(struct Qdisc *qdisc); 471void qdisc_tree_reduce_backlog(struct Qdisc *qdisc, unsigned int n, 472 unsigned int len); 473struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, 474 const struct Qdisc_ops *ops, 475 struct netlink_ext_ack *extack); 476struct Qdisc *qdisc_create_dflt(struct netdev_queue *dev_queue, |
477 const struct Qdisc_ops *ops, u32 parentid); | 477 const struct Qdisc_ops *ops, u32 parentid, 478 struct netlink_ext_ack *extack); |
478void __qdisc_calculate_pkt_len(struct sk_buff *skb, 479 const struct qdisc_size_table *stab); 480int skb_do_redirect(struct sk_buff *); 481 482static inline void skb_reset_tc(struct sk_buff *skb) 483{ 484#ifdef CONFIG_NET_CLS_ACT 485 skb->tc_redirected = 0; --- 524 unchanged lines hidden --- | 479void __qdisc_calculate_pkt_len(struct sk_buff *skb, 480 const struct qdisc_size_table *stab); 481int skb_do_redirect(struct sk_buff *); 482 483static inline void skb_reset_tc(struct sk_buff *skb) 484{ 485#ifdef CONFIG_NET_CLS_ACT 486 skb->tc_redirected = 0; --- 524 unchanged lines hidden --- |