Home
last modified time | relevance | path

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

123

/linux/net/netfilter/
H A Dutils.c10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
43 static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum_partial()
64 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum()
97 static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum_partial()
123 __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook, in nf_checksum()
142 __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_checksum_partial()
H A Dnft_reject_netdev.c30 int hook) in nft_reject_netdev_send_v4_tcp_reset()
44 int hook, u8 code) in nft_reject_netdev_send_v4_unreach()
58 int hook) in nft_reject_netdev_send_v6_tcp_reset()
73 int hook, u8 code) in nft_reject_netdev_send_v6_unreach()
H A Dnf_conntrack_pptp.c92 const struct nf_nat_pptp_hook *hook; in pptp_expectfn() local
190 const struct nf_nat_pptp_hook *hook; in exp_gre() local
260 const struct nf_nat_pptp_hook *hook; in pptp_inbound_pkt() local
387 const struct nf_nat_pptp_hook *hook; in pptp_outbound_pkt() local
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()
H A Dnf_dup_netdev.c33 enum nf_dev_hooks hook) in nf_do_netdev_egress()
H A Dnf_tables_api.c304 struct nft_hook *hook; in nft_netdev_register_hooks() local
331 static void nft_netdev_hook_free_ops(struct nft_hook *hook) in nft_netdev_hook_free_ops()
341 static void nft_netdev_hook_free(struct nft_hook *hook) in nft_netdev_hook_free()
349 struct nft_hook *hook = container_of(rcu, struct nft_hook, rcu); in __nft_netdev_hook_free_rcu() local
354 static void nft_netdev_hook_free_rcu(struct nft_hook *hook) in nft_netdev_hook_free_rcu()
363 struct nft_hook *hook, *next; in nft_netdev_unregister_hooks() local
1968 struct nft_hook *hook, *first = NULL; in nft_dump_basechain_hook() local
2279 struct nft_hook *hook, *next; in nf_tables_chain_destroy() local
2317 struct nft_hook *hook; in nft_netdev_hook_alloc() local
2358 struct nft_hook *hook; in nft_hook_list_find() local
[all …]
/linux/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c15 static bool nf_reject_v6_csum_ok(struct sk_buff *skb, int hook) in nf_reject_v6_csum_ok()
62 int hook) in nf_reject_skb_v6_tcp_reset()
97 int hook, u8 code) in nf_reject_skb_v6_unreach()
151 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get()
269 int hook) in nf_send_reset6()
369 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok()
/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c42 int hook) in nf_reject_skb_v4_tcp_reset()
77 int hook, u8 code) in nf_reject_skb_v4_unreach()
140 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get()
240 int hook) in nf_send_reset()
315 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/tools/lib/bpf/
H A Dnetlink.c534 static int clsact_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in clsact_config()
542 static int qdisc_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in qdisc_config()
552 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
595 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
619 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
624 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
629 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
645 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
732 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
806 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
[all …]
/linux/include/linux/
H A Dnetfilter.h79 u8 hook; member
103 nf_hookfn *hook; member
114 nf_hookfn *hook; member
162 unsigned int hook, in nf_hook_state_init()
227 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
298 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
312 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
323 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
409 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
418 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]
H A Dnetfilter_ipv4.h29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum()
/linux/fs/xfs/
H A Dxfs_hooks.c27 struct xfs_hook *hook) in xfs_hooks_add()
39 struct xfs_hook *hook) in xfs_hooks_del()
H A Dxfs_trans_dquot.c182 struct xfs_dqtrx_hook *hook) in xfs_dqtrx_hook_add()
214 struct xfs_dqtrx_hook *hook) in xfs_dqtrx_hook_del()
228 struct xfs_dqtrx_hook *hook, in xfs_dqtrx_hook_setup()
/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/gpu/drm/i915/display/
H A Dintel_quirks.c87 void (*hook)(struct intel_display *display); member
96 void (*hook)(struct intel_dp *intel_dp); member
107 void (*hook)(struct intel_display *display); member
/linux/drivers/acpi/
H A Dbattery.c706 static void battery_hook_unregister_unlocked(struct acpi_battery_hook *hook) in battery_hook_unregister_unlocked()
723 void battery_hook_unregister(struct acpi_battery_hook *hook) in battery_hook_unregister()
738 void battery_hook_register(struct acpi_battery_hook *hook) in battery_hook_register()
773 struct acpi_battery_hook *hook = data; in devm_battery_hook_unregister() local
778 int devm_battery_hook_register(struct device *dev, struct acpi_battery_hook *hook) in devm_battery_hook_register()
821 struct acpi_battery_hook *hook; in battery_hook_remove_battery() local
838 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.c221 static int cros_chctl_add_battery(struct power_supply *battery, struct acpi_battery_hook *hook) in cros_chctl_add_battery()
232 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/thunderbolt/
H A Dquirks.c57 void (*hook)(struct tb_switch *sw); member
/linux/fs/xfs/libxfs/
H A Dxfs_dir2.c815 struct xfs_dir_hook *hook) in xfs_dir_hook_add()
824 struct xfs_dir_hook *hook) in xfs_dir_hook_del()
832 struct xfs_dir_hook *hook, in xfs_dir_hook_setup()
/linux/arch/arm/kernel/
H A Dtraps.c410 void register_undef_hook(struct undef_hook *hook) in register_undef_hook()
419 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook()
431 struct undef_hook *hook; in call_undef_hook() local
/linux/security/ipe/
H A Deval.h42 enum ipe_hook_type hook; member

123