Skip to content
Snippets Groups Projects
Select Git revision
  • d23b8ad8ab23f5a18b91e2396fb63d10f66b08d6
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

tc_bpf.h

Blame
  • tc_bpf.h 634 B
    /*
     * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     */
    
    #ifndef __NET_TC_BPF_H
    #define __NET_TC_BPF_H
    
    #include <linux/filter.h>
    #include <net/act_api.h>
    
    struct tcf_bpf {
    	struct tcf_common	common;
    	struct bpf_prog		*filter;
    	struct sock_filter	*bpf_ops;
    	u16			bpf_num_ops;
    };
    #define to_bpf(a) \
    	container_of(a->priv, struct tcf_bpf, common)
    
    #endif /* __NET_TC_BPF_H */