| /linux/net/netfilter/ |
| H A D | nft_fib_netdev.c | 57 unsigned int hooks; in nft_fib_netdev_validate() local 62 hooks = (1 << NF_NETDEV_INGRESS); in nft_fib_netdev_validate() 66 hooks = (1 << NF_NETDEV_INGRESS); in nft_fib_netdev_validate() 68 hooks = (1 << NF_NETDEV_EGRESS); in nft_fib_netdev_validate() 70 hooks = (1 << NF_NETDEV_INGRESS) | in nft_fib_netdev_validate() 77 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_fib_netdev_validate()
|
| H A D | nft_fib.c | 32 unsigned int hooks; in nft_fib_validate() local 46 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_fib_validate() 52 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_fib_validate() 56 hooks = (1 << NF_INET_LOCAL_OUT) | in nft_fib_validate() 60 hooks = (1 << NF_INET_LOCAL_IN) | in nft_fib_validate() 71 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_fib_validate()
|
| H A D | xt_socket.c | 224 .hooks = (1 << NF_INET_PRE_ROUTING) | in socket_mt_destroy() 236 .hooks = (1 << NF_INET_PRE_ROUTING) | 249 .hooks = (1 << NF_INET_PRE_ROUTING) | 262 .hooks = (1 << NF_INET_PRE_ROUTING) | 275 .hooks = (1 << NF_INET_PRE_ROUTING) | 288 .hooks = (1 << NF_INET_PRE_ROUTING) | 301 .hooks = (1 << NF_INET_PRE_ROUTING) |
|
| H A D | xt_nat.c | 169 .hooks = (1 << NF_INET_POST_ROUTING) | 182 .hooks = (1 << NF_INET_PRE_ROUTING) | 194 .hooks = (1 << NF_INET_POST_ROUTING) | 206 .hooks = (1 << NF_INET_PRE_ROUTING) | 218 .hooks = (1 << NF_INET_POST_ROUTING) | 230 .hooks = (1 << NF_INET_PRE_ROUTING) |
|
| H A D | xt_CLASSIFY.c | 42 .hooks = (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_FORWARD) | 52 .hooks = (1 << NF_ARP_OUT) | (1 << NF_ARP_FORWARD), 62 .hooks = (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_FORWARD) |
|
| H A D | nf_conntrack_sip.c | 940 const struct nf_nat_sip_hooks *hooks; in set_expected_rtp_rtcp() local 1033 hooks = rcu_dereference(nf_nat_sip_hooks); in set_expected_rtp_rtcp() 1034 if (hooks && in set_expected_rtp_rtcp() 1035 !hooks->sdp_port(skb, protoff, dataoff, dptr, datalen, in set_expected_rtp_rtcp() 1055 hooks = rcu_dereference(nf_nat_sip_hooks); in set_expected_rtp_rtcp() 1056 if (hooks && ct->status & IPS_NAT_MASK && !direct_rtp) in set_expected_rtp_rtcp() 1057 ret = hooks->sdp_media(skb, protoff, dataoff, dptr, in set_expected_rtp_rtcp() 1123 const struct nf_nat_sip_hooks *hooks; in process_sdp() local 1129 hooks = rcu_dereference(nf_nat_sip_hooks); in process_sdp() 1204 if (maddr_len && hooks && ct->status & IPS_NAT_MASK) { in process_sdp() [all …]
|
| H A D | nft_meta.c | 598 unsigned int hooks; in nft_meta_get_validate_sdif() local 604 hooks = (1 << NF_INET_LOCAL_IN) | in nft_meta_get_validate_sdif() 611 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_get_validate_sdif() 617 unsigned int hooks; in nft_meta_get_validate_xfrm() local 621 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_get_validate_xfrm() 626 hooks = (1 << NF_INET_PRE_ROUTING) | in nft_meta_get_validate_xfrm() 634 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_get_validate_xfrm() 663 unsigned int hooks; in nft_meta_set_validate() local 670 hooks = 1 << NF_BR_PRE_ROUTING; in nft_meta_set_validate() 673 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_set_validate() [all …]
|
| H A D | nft_chain_filter.c | 36 .hooks = { 78 .hooks = { 120 .hooks = { 206 .hooks = { 264 .hooks = { 316 .hooks = {
|
| H A D | nft_chain_nat.c | 45 .hooks = { 66 .hooks = { 97 .hooks = {
|
| H A D | nft_xfrm.c | 243 unsigned int hooks; in nft_xfrm_validate() local 252 hooks = (1 << NF_INET_FORWARD) | in nft_xfrm_validate() 257 hooks = (1 << NF_INET_FORWARD) | in nft_xfrm_validate() 266 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_xfrm_validate()
|
| H A D | nft_chain_route.c | 58 .hooks = { 108 .hooks = { 139 .hooks = {
|
| H A D | nft_osf.c | 118 unsigned int hooks; in nft_osf_validate() local 123 hooks = (1 << NF_INET_LOCAL_IN) | in nft_osf_validate() 131 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_osf_validate()
|
| H A D | nft_rt.c | 168 unsigned int hooks; in nft_rt_validate() local 182 hooks = (1 << NF_INET_FORWARD) | in nft_rt_validate() 190 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_rt_validate()
|
| H A D | xt_REDIRECT.c | 89 .hooks = (1 << NF_INET_PRE_ROUTING) | 102 .hooks = (1 << NF_INET_PRE_ROUTING) |
|
| H A D | xt_cgroup.c | 206 .hooks = (1 << NF_INET_LOCAL_OUT) | 220 .hooks = (1 << NF_INET_LOCAL_OUT) | 234 .hooks = (1 << NF_INET_LOCAL_OUT) |
|
| H A D | xt_MASQUERADE.c | 80 .hooks = 1 << NF_INET_POST_ROUTING, 91 .hooks = 1 << NF_INET_POST_ROUTING,
|
| H A D | xt_TPROXY.c | 228 .hooks = 1 << NF_INET_PRE_ROUTING, 240 .hooks = 1 << NF_INET_PRE_ROUTING, 253 .hooks = 1 << NF_INET_PRE_ROUTING,
|
| /linux/sound/soc/generic/ |
| H A D | audio-graph-card2.c | 1055 struct graph2_custom_hooks *hooks, in graph_link() argument 1066 if (hooks && hooks->custom_normal) in graph_link() 1067 func = hooks->custom_normal; in graph_link() 1072 if (hooks && hooks->custom_dpcm) in graph_link() 1073 func = hooks->custom_dpcm; in graph_link() 1078 if (hooks && hooks->custom_c2c) in graph_link() 1079 func = hooks->custom_c2c; in graph_link() 1230 struct graph2_custom_hooks *hooks, in graph_count() argument 1273 struct graph2_custom_hooks *hooks, in graph_for_each_link() argument 1276 struct graph2_custom_hooks *hooks, in graph_for_each_link() [all …]
|
| /linux/drivers/video/fbdev/via/ |
| H A D | via-core.c | 569 void viafb_pm_register(struct viafb_pm_hooks *hooks) in viafb_pm_register() argument 571 INIT_LIST_HEAD(&hooks->list); in viafb_pm_register() 574 list_add_tail(&hooks->list, &viafb_pm_hooks); in viafb_pm_register() 579 void viafb_pm_unregister(struct viafb_pm_hooks *hooks) in viafb_pm_unregister() argument 582 list_del(&hooks->list); in viafb_pm_unregister() 589 struct viafb_pm_hooks *hooks; in via_suspend() local 601 list_for_each_entry_reverse(hooks, &viafb_pm_hooks, list) in via_suspend() 602 hooks->suspend(hooks->private); in via_suspend() 610 struct viafb_pm_hooks *hooks; in via_resume() local 614 list_for_each_entry(hooks, &viafb_pm_hooks, list) in via_resume() [all …]
|
| /linux/Documentation/translations/zh_CN/maintainer/ |
| H A D | configure-git.rst | 54 $ cat >.git/hooks/applypatch-msg <<'EOF' 58 test -x "$GIT_DIR/hooks/commit-msg" && 59 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} 62 $ chmod a+x .git/hooks/applypatch-msg
|
| /linux/net/bridge/netfilter/ |
| H A D | nft_meta_bridge.c | 116 unsigned int hooks; in nft_meta_bridge_get_validate() local 120 hooks = 1 << NF_BR_PRE_ROUTING; in nft_meta_bridge_get_validate() 126 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_bridge_get_validate() 187 unsigned int hooks; in nft_meta_bridge_set_validate() local 191 hooks = 1 << NF_BR_PRE_ROUTING; in nft_meta_bridge_set_validate() 197 return nft_chain_validate_hooks(ctx->chain, hooks); in nft_meta_bridge_set_validate()
|
| /linux/Documentation/security/ |
| H A D | lsm.rst | 30 general framework that would provide a set of security hooks to control 98 LSM hooks are maintained in lists. A list is maintained for each 99 hook, and the hooks are called in the order specified by CONFIG_LSM. 108 The LSM framework does not provide a mechanism for removing hooks that 112 The hooks can be viewed as falling into two major 113 categories: hooks that are used to manage the security fields and hooks 115 of hooks include the security_inode_alloc() and security_inode_free() 116 These hooks are used to allocate 118 An example of the second category of hooks
|
| /linux/Documentation/bpf/ |
| H A D | fs_kfuncs.rst | 9 BPF LSM programs need to access filesystem data from LSM hooks. The following 19 2. These kfuncs should not call into other LSM hooks, i.e. security_*(). For
|
| /linux/security/ |
| H A D | Kconfig | 103 This enables the socket and networking security hooks. 104 If enabled, a security module can use these hooks to 112 This enables the Infiniband security hooks. 113 If enabled, a security module can use these hooks to 121 This enables the XFRM (IPSec) networking security hooks. 122 If enabled, a security module can use these hooks to 131 bool "Security hooks for pathname based access control" 134 This enables the security hooks for pathname based access control. 135 If enabled, a security module can use these hooks to
|
| /linux/include/linux/ |
| H A D | via-core.h | 57 void viafb_pm_register(struct viafb_pm_hooks *hooks); 58 void viafb_pm_unregister(struct viafb_pm_hooks *hooks);
|