| /kernel/uniproton/src/om/hook/ |
| D | prt_hook_init.c | 104 OS_SEC_L4_TEXT U32 OsMhookAdd(U32 hookType, OsVoidFunc hook) in OsMhookAdd() 167 OS_SEC_L4_TEXT U32 OsMhookDel(U32 hookType, OsVoidFunc hook) in OsMhookDel() 227 OS_SEC_L4_TEXT U32 OsHookAdd(enum HookType hookType, OsVoidFunc hook) in OsHookAdd() 243 OS_SEC_L4_TEXT U32 OsHookDel(enum HookType hookType, OsVoidFunc hook) in OsHookDel() 259 OS_SEC_L4_TEXT U32 OsShookReg(U32 hookType, OsVoidFunc hook) in OsShookReg() 305 OS_SEC_L4_TEXT U32 PRT_IdleAddPrefixHook(IdleHook hook) in PRT_IdleAddPrefixHook()
|
| /kernel/linux/linux-6.6/arch/arm64/kernel/ |
| D | debug-monitors.c | 179 void register_user_step_hook(struct step_hook *hook) in register_user_step_hook() 184 void unregister_user_step_hook(struct step_hook *hook) in unregister_user_step_hook() 189 void register_kernel_step_hook(struct step_hook *hook) in register_kernel_step_hook() 194 void unregister_kernel_step_hook(struct step_hook *hook) in unregister_kernel_step_hook() 207 struct step_hook *hook; in call_step_hook() local 282 void register_user_break_hook(struct break_hook *hook) in register_user_break_hook() 287 void unregister_user_break_hook(struct break_hook *hook) in unregister_user_break_hook() 292 void register_kernel_break_hook(struct break_hook *hook) in register_kernel_break_hook() 297 void unregister_kernel_break_hook(struct break_hook *hook) in unregister_kernel_break_hook() 304 struct break_hook *hook; in call_break_hook() local
|
| /kernel/linux/linux-5.10/arch/arm64/kernel/ |
| D | debug-monitors.c | 179 void register_user_step_hook(struct step_hook *hook) in register_user_step_hook() 184 void unregister_user_step_hook(struct step_hook *hook) in unregister_user_step_hook() 189 void register_kernel_step_hook(struct step_hook *hook) in register_kernel_step_hook() 194 void unregister_kernel_step_hook(struct step_hook *hook) in unregister_kernel_step_hook() 207 struct step_hook *hook; in call_step_hook() local 283 void register_user_break_hook(struct break_hook *hook) in register_user_break_hook() 288 void unregister_user_break_hook(struct break_hook *hook) in unregister_user_break_hook() 293 void register_kernel_break_hook(struct break_hook *hook) in register_kernel_break_hook() 298 void unregister_kernel_break_hook(struct break_hook *hook) in unregister_kernel_break_hook() 305 struct break_hook *hook; in call_break_hook() local
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | utils.c | 10 __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()
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | utils.c | 10 __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()
|
| D | nft_reject_netdev.c | 30 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()
|
| D | nf_bpf_link.c | 38 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
|
| D | nf_conntrack_pptp.c | 92 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
|
| /kernel/linux/linux-6.6/net/ipv6/netfilter/ |
| D | nf_reject_ipv6.c | 15 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()
|
| /kernel/uniproton/src/arch/cpu/armv7-m/common/hwi/ |
| D | prt_hwi.c | 229 OS_SEC_L4_TEXT U32 PRT_HwiDelExitHook(HwiExitHook hook) in PRT_HwiDelExitHook() 233 OS_SEC_L4_TEXT U32 PRT_HwiAddExitHook(HwiExitHook hook) in PRT_HwiAddExitHook() 237 OS_SEC_L4_TEXT U32 PRT_HwiDelEntryHook(HwiEntryHook hook) in PRT_HwiDelEntryHook() 241 OS_SEC_L4_TEXT U32 PRT_HwiAddEntryHook(HwiEntryHook hook) in PRT_HwiAddEntryHook()
|
| /kernel/linux/linux-6.6/net/ipv4/netfilter/ |
| D | nf_reject_ipv4.c | 42 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()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | netfilter.h | 68 unsigned int hook; member 82 nf_hookfn *hook; member 92 nf_hookfn *hook; member 140 unsigned int hook, in nf_hook_state_init() 205 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() 276 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 290 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK() 301 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST() 391 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 400 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK() [all …]
|
| /kernel/linux/linux-6.6/net/bridge/netfilter/ |
| D | nft_reject_bridge.c | 48 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()
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | netfilter.h | 69 u8 hook; member 89 nf_hookfn *hook; member 100 nf_hookfn *hook; member 148 unsigned int hook, in nf_hook_state_init() 213 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() 284 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 298 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK() 309 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST() 400 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 409 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK() [all …]
|
| /kernel/linux/linux-5.10/net/bridge/netfilter/ |
| D | nft_reject_bridge.c | 72 int hook) in nft_reject_br_send_v4_tcp_reset() 106 int hook, u8 code) in nft_reject_br_send_v4_unreach() 187 int hook) in nft_reject_br_send_v6_tcp_reset() 218 static bool reject6_br_csum_ok(struct sk_buff *skb, int hook) in reject6_br_csum_ok() 246 int hook, u8 code) in nft_reject_br_send_v6_unreach()
|
| /kernel/linux/linux-5.10/net/ipv4/netfilter/ |
| D | nf_reject_ipv4.c | 16 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get() 116 int hook) in nf_send_reset() 188 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach()
|
| /kernel/linux/linux-6.6/tools/lib/bpf/ |
| D | netlink.c | 542 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config() 582 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify() 606 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl() 611 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete() 616 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create() 632 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy() 718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach() 792 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach() 853 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach() 865 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
|
| /kernel/uniproton/src/om/include/ |
| D | prt_hook_external.h | 40 #define OS_MHOOK_IS_VALID(hook) ((uintptr_t)(hook) > OS_MHOOK_BOUNDARY) argument 42 #define OS_MHOOK_NOT_BOUNDARY(hook) ((uintptr_t)(hook) != OS_MHOOK_BOUNDARY) argument 44 OS_SEC_ALW_INLINE INLINE bool OsMhookBoundaryCheck(OsVoidFunc hook) in OsMhookBoundaryCheck() 49 OS_SEC_ALW_INLINE INLINE bool OsMhookValidCheck(OsVoidFunc hook) in OsMhookValidCheck() 54 #define OS_MHOOK_ACTIVATE_PROC(hook, funcType, pfn, list) \ argument
|
| /kernel/uniproton/src/core/kernel/task/ |
| D | prt_task.c | 96 OS_SEC_L4_TEXT U32 PRT_TaskDelSwitchHook(TskSwitchHook hook) in PRT_TaskDelSwitchHook() 100 OS_SEC_L4_TEXT U32 PRT_TaskAddSwitchHook(TskSwitchHook hook) in PRT_TaskAddSwitchHook()
|
| /kernel/linux/linux-5.10/net/ipv6/netfilter/ |
| D | nf_reject_ipv6.c | 17 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get() 135 int hook) in nf_send_reset6() 227 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok()
|
| /kernel/uniproton/src/core/kernel/sys/ |
| D | prt_sys.c | 73 OS_SEC_L4_TEXT U32 PRT_IdleAddHook(IdleHook hook) in PRT_IdleAddHook() 77 OS_SEC_L4_TEXT U32 PRT_IdleDelHook(IdleHook hook) in PRT_IdleDelHook()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | tc_bpf.c | 26 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()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_quirks.c | 60 void (*hook)(struct drm_i915_private *i915); member 65 void (*hook)(struct drm_i915_private *i915); member
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_quirks.c | 72 void (*hook)(struct drm_i915_private *i915); member 77 void (*hook)(struct drm_i915_private *i915); member
|
| /kernel/uniproton/src/om/err/ |
| D | prt_err_init.c | 22 OS_SEC_L4_TEXT U32 PRT_ErrRegHook(ErrHandleFunc hook) in PRT_ErrRegHook()
|