Home
last modified time | relevance | path

Searched defs:hook (Results 1 – 25 of 61) 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_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
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.c224 struct nft_hook *hook; nft_chain_offload_support() local
459 struct nft_hook *hook; nft_flow_block_chain() local
625 struct nft_hook *hook, *found; __nft_offload_get_chain() local
[all...]
H A Dnf_dup_netdev.c21 nf_do_netdev_egress(struct sk_buff * skb,struct net_device * dev,enum nf_dev_hooks hook) nf_do_netdev_egress() argument
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_tables_api.c321 struct nft_hook *hook; in nft_netdev_register_hooks() local
348 static void nft_netdev_hook_free_ops(struct nft_hook *hook) in nft_netdev_hook_free_ops()
358 static void nft_netdev_hook_free(struct nft_hook *hook) in nft_netdev_hook_free()
366 struct nft_hook *hook = container_of(rcu, struct nft_hook, rcu); in __nft_netdev_hook_free_rcu() local
371 static void nft_netdev_hook_free_rcu(struct nft_hook *hook) in nft_netdev_hook_free_rcu()
380 struct nft_hook *hook, *next; in nft_netdev_unregister_hooks() local
1980 static bool hook_is_prefix(struct nft_hook *hook) in hook_is_prefix()
1985 static int nft_nla_put_hook_dev(struct sk_buff *skb, struct nft_hook *hook) in nft_nla_put_hook_dev()
1998 struct nft_hook *hook, *first = NULL; in nft_dump_basechain_hook() local
2308 struct nft_hook *hook, *next; in nf_tables_chain_destroy() local
[all …]
/linux/net/bridge/netfilter/
H A Dnft_reject_bridge.c48 int hook) in nft_reject_br_send_v4_tcp_reset()
64 int hook, u8 code) in nft_reject_br_send_v4_unreach()
80 int hook) in nft_reject_br_send_v6_tcp_reset()
97 int hook, u8 code) in nft_reject_br_send_v6_unreach()
/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 Dpci.h2312 void (*hook)(struct pci_dev *dev); member
2329 class_shift, hook) \ argument
2345 class_shift, hook, stub) \ argument
2355 class_shift, hook, stub) \ argument
2361 class_shift, hook) \ argument
2367 class_shift, hook) \ argument
2374 class_shift, hook) \ argument
2378 class_shift, hook) \ argument
2382 class_shift, hook) \ argument
2386 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/tools/lib/bpf/
H A Dnetlink.c542 static int qdisc_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in attach_point_to_config() argument
582 tc_qdisc_modify(struct bpf_tc_hook * hook,int cmd,int flags) tc_qdisc_modify() argument
606 tc_qdisc_create_excl(struct bpf_tc_hook * hook) tc_qdisc_create_excl() argument
611 tc_qdisc_delete(struct bpf_tc_hook * hook) tc_qdisc_delete() argument
616 bpf_tc_hook_create(struct bpf_tc_hook * hook) bpf_tc_hook_create() argument
632 bpf_tc_hook_destroy(struct bpf_tc_hook * hook) bpf_tc_hook_destroy() argument
718 bpf_tc_attach(const struct bpf_tc_hook * hook,struct bpf_tc_opts * opts) bpf_tc_attach() argument
792 __bpf_tc_detach(const struct bpf_tc_hook * hook,const struct bpf_tc_opts * opts,const bool flush) __bpf_tc_detach() argument
853 bpf_tc_detach(const struct bpf_tc_hook * hook,const struct bpf_tc_opts * opts) bpf_tc_detach() argument
865 bpf_tc_query(const struct bpf_tc_hook * hook,struct bpf_tc_opts * opts) bpf_tc_query() argument
[all...]
/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_hooks.h46 static inline void xfs_hook_setup(struct xfs_hook *hook, notifier_fn_t fn) in xfs_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/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/net/ipv4/netfilter/
H A Dipt_REJECT.c34 int hook = xt_hooknum(par); in reject_tg() local
/linux/drivers/platform/x86/
H A Dmsi-ec.c1269 struct acpi_battery_hook *hook) in msi_battery_add()
1275 struct acpi_battery_hook *hook) in msi_battery_remove()
/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/security/ipe/
H A Deval.h42 enum ipe_hook_type hook; member
/linux/kernel/sched/
H A Dcpufreq_schedutil.c419 static void sugov_update_single_freq(struct update_util_data *hook, u64 time, in sugov_update_single_freq()
460 static void sugov_update_single_perf(struct update_util_data *hook, u64 time, in sugov_update_single_perf()
514 sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) in sugov_update_shared()
/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()

123