Home
last modified time | relevance | path

Searched defs:hook (Results 1 – 25 of 58) sorted by relevance

123

/linux/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c29 static bool nf_reject_v6_csum_ok(struct sk_buff *skb, int hook) in nf_reject_v6_csum_ok()
76 int hook) in nf_reject_skb_v6_tcp_reset()
137 int hook, u8 code) in nf_reject_skb_v6_unreach()
196 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get()
314 int hook) in nf_send_reset6()
416 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok()
/linux/tools/lib/bpf/
H A Dnetlink.c536 static int clsact_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in clsact_config()
544 static int qdisc_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in qdisc_config()
554 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
597 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
621 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
626 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
631 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
647 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
734 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
808 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
[all …]
/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c52 int hook) in nf_reject_skb_v4_tcp_reset()
108 int hook, u8 code) in nf_reject_skb_v4_unreach()
176 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get()
274 int hook) in nf_send_reset()
348 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach()
H A Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg() local
/linux/include/linux/
H A Dnetfilter.h79 u8 hook; member
104 nf_hookfn *hook; member
115 nf_hookfn *hook; member
169 unsigned int hook, in nf_hook_state_init()
234 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
305 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
319 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
330 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
416 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
425 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]
H A Dpci.h2416 void (*hook)(struct pci_dev *dev); member
2433 class_shift, hook) \ argument
2449 class_shift, hook, stub) \ argument
2459 class_shift, hook, stub) \ argument
2465 class_shift, hook) \ argument
2471 class_shift, hook) \ argument
2478 class_shift, hook) \ argument
2482 class_shift, hook) \ argument
2486 class_shift, hook) \ argument
2490 class_shift, hook) \ argument
[all …]
H A Dnetfilter_ipv4.h29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
/linux/net/netfilter/
H A Dnf_bpf_link.c38 const struct nf_defrag_hook *hook; in get_proto_defrag_hook() local
77 const struct nf_defrag_hook __maybe_unused *hook; in bpf_nf_enable_defrag() local
105 const struct nf_defrag_hook *hook = link->defrag_hook; in bpf_nf_disable_defrag() local
155 const struct nf_defrag_hook *hook = nf_link->defrag_hook; in bpf_nf_link_fill_link_info() local
H A Dnf_conntrack_pptp.c92 const struct nf_nat_pptp_hook *hook; in pptp_expectfn() local
131 const struct nf_nat_pptp_hook *hook; in exp_gre() local
197 const struct nf_nat_pptp_hook *hook; in pptp_inbound_pkt() local
327 const struct nf_nat_pptp_hook *hook; in pptp_outbound_pkt() local
H A Dnf_tables_api.c320 struct nft_hook *hook; in nft_netdev_register_hooks() local
347 static void nft_netdev_hook_free_ops(struct nft_hook *hook) in nft_netdev_hook_free_ops() argument
357 static void nft_netdev_hook_free(struct nft_hook *hook) in nft_netdev_hook_free() argument
365 struct nft_hook *hook = container_of(rcu, struct nft_hook, rcu); __nft_netdev_hook_free_rcu() local
370 nft_netdev_hook_free_rcu(struct nft_hook * hook) nft_netdev_hook_free_rcu() argument
375 nft_netdev_hook_unlink_free_rcu(struct nft_hook * hook) nft_netdev_hook_unlink_free_rcu() argument
393 struct nft_hook *hook; nft_netdev_unregister_trans_hook() local
412 struct nft_hook *hook, *next; nft_netdev_unregister_hooks() local
1976 hook_is_prefix(struct nft_hook * hook) hook_is_prefix() argument
1981 nft_nla_put_hook_dev(struct sk_buff * skb,struct nft_hook * hook) nft_nla_put_hook_dev() argument
1994 nft_dump_basechain_hook_one(struct sk_buff * skb,struct nft_hook * hook,struct nft_hook_dump_ctx * dump_ctx) nft_dump_basechain_hook_one() argument
2013 struct nft_hook *hook; nft_dump_basechain_hook_list() local
2361 struct nft_hook *hook, *next; nf_tables_chain_destroy() local
2398 struct nft_hook *hook; nft_netdev_hook_alloc() local
2440 struct nft_hook *hook; nft_hook_list_find() local
2460 struct nft_hook *hook, *next; nf_tables_parse_netdev_hooks() local
2520 struct nft_hook *hook; nft_chain_parse_netdev() local
2549 nft_chain_parse_hook(struct net * net,struct nft_base_chain * basechain,const struct nlattr * const nla[],struct nft_chain_hook * hook,u8 family,u32 flags,struct netlink_ext_ack * extack) nft_chain_parse_hook() argument
2641 nft_chain_release_hook(struct nft_chain_hook * hook) nft_chain_release_hook() argument
2685 nft_basechain_hook_init(struct nf_hook_ops * ops,u8 family,const struct nft_chain_hook * hook,struct nft_chain * chain) nft_basechain_hook_init() argument
2697 nft_basechain_init(struct nft_base_chain * basechain,u8 family,struct nft_chain_hook * hook,u32 flags) nft_basechain_init() argument
2760 struct nft_chain_hook hook = {}; nf_tables_addchain() local
2899 struct nft_chain_hook hook = {}; nf_tables_updchain() local
3208 nft_trans_delhook(struct nft_hook * hook,struct list_head * del_list) nft_trans_delhook() argument
3241 struct nft_hook *this, *hook; nft_delchain_hook() local
8874 struct nft_hook *hook; nft_flowtable_parse_hook() local
8991 struct nft_hook *hook, *next; __nft_unregister_flowtable_net_hooks() local
9034 struct nft_hook *hook, *next; nft_register_flowtable_net_hooks() local
9077 struct nft_hook *hook, *next; nft_hooks_destroy() local
9089 struct nft_hook *hook; nft_flowtable_unregister_trans_hook() local
9108 struct nft_hook *hook, *next; nft_flowtable_update() local
9344 struct nft_hook *this, *hook; nft_delflowtable_hook() local
9453 struct nft_hook *hook; nf_tables_fill_flowtable_info() local
9739 nft_hook_find_ops(const struct nft_hook * hook,const struct net_device * dev) nft_hook_find_ops() argument
9752 nft_hook_find_ops_rcu(const struct nft_hook * hook,const struct net_device * dev) nft_hook_find_ops_rcu() argument
9769 struct nft_hook *hook; nft_flowtable_event() local
[all...]
H A Dnf_tables_offload.c225 struct nft_hook *hook; in nft_chain_offload_support() local
463 struct nft_hook *hook; in nft_flow_block_chain() local
632 struct nft_hook *hook, *found; in __nft_offload_get_chain() local
H A Dnfnetlink_hook.c58 u8 hook; member
279 nfnl_hook_entries_head(u8 pf, unsigned int hook, struct net *net, const char *dev) in nfnl_hook_entries_head()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_bpf.c26 static int test_tc_bpf_basic(const struct bpf_tc_hook *hook, int fd) in test_tc_bpf_basic()
69 static int test_tc_bpf_api(struct bpf_tc_hook *hook, int fd) in test_tc_bpf_api()
/linux/drivers/acpi/
H A Dbattery.c760 static void battery_hook_unregister_unlocked(struct acpi_battery_hook *hook) in battery_hook_unregister_unlocked()
777 void battery_hook_unregister(struct acpi_battery_hook *hook) in battery_hook_unregister()
792 void battery_hook_register(struct acpi_battery_hook *hook) in battery_hook_register()
827 struct acpi_battery_hook *hook = data; in devm_battery_hook_unregister() local
832 int devm_battery_hook_register(struct device *dev, struct acpi_battery_hook *hook) in devm_battery_hook_register()
875 struct acpi_battery_hook *hook; in battery_hook_remove_battery() local
892 struct acpi_battery_hook *hook; in battery_hook_exit() local
/linux/arch/csky/kernel/
H A Dftrace.c70 static int ftrace_check_current_nop(unsigned long hook) in ftrace_check_current_nop()
91 static int ftrace_modify_code(unsigned long hook, unsigned long target, in ftrace_modify_code()
/linux/drivers/power/supply/
H A Dcros_charge-control.c220 static int cros_chctl_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_add_battery()
231 static int cros_chctl_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_remove_battery()
/linux/arch/arm64/mm/
H A Dioremap.c8 int arm64_ioremap_prot_hook_register(ioremap_prot_hook_t hook) in arm64_ioremap_prot_hook_register()
/linux/drivers/platform/x86/
H A Dmsi-ec.c1353 struct acpi_battery_hook *hook) in msi_battery_add()
1359 struct acpi_battery_hook *hook) in msi_battery_remove()
H A Dayaneo-ec.c353 struct acpi_battery_hook *hook) in ayaneo_add_battery()
363 struct acpi_battery_hook *hook) in ayaneo_remove_battery()
H A Doxpec.c627 static int oxp_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in oxp_add_battery()
632 static int oxp_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in oxp_remove_battery()
/linux/security/ipe/
H A Deval.h42 enum ipe_hook_type hook; member
/linux/fs/xfs/
H A Dxfs_hooks.h46 static inline void xfs_hook_setup(struct xfs_hook *hook, notifier_fn_t fn) in xfs_hook_setup()
/linux/scripts/gcc-plugins/
H A Dgcc-common.h267 … struct cgraph_node_hook_list *cgraph_add_function_insertion_hook(cgraph_node_hook hook, void *dat… in cgraph_add_function_insertion_hook()
277 static inline struct cgraph_node_hook_list *cgraph_add_node_removal_hook(cgraph_node_hook hook, voi… in cgraph_add_node_removal_hook()
287 … struct cgraph_2node_hook_list *cgraph_add_node_duplication_hook(cgraph_2node_hook hook, void *dat… in cgraph_add_node_duplication_hook()
/linux/kernel/sched/
H A Dcpufreq_schedutil.c432 static void sugov_update_single_freq(struct update_util_data *hook, u64 time, in sugov_update_single_freq()
473 static void sugov_update_single_perf(struct update_util_data *hook, u64 time, in sugov_update_single_perf()
529 sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) in sugov_update_shared()
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-ddv.c140 struct acpi_battery_hook hook; member
921 static int dell_wmi_ddv_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_add_battery()
946 static int dell_wmi_ddv_remove_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in dell_wmi_ddv_remove_battery()

123