Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 126 of 126) sorted by relevance

/linux-4.1.27/include/linux/
Dnetfilter.h51 unsigned int hook; member
61 unsigned int hook, in nf_hook_state_init() argument
68 p->hook = hook; in nf_hook_state_init()
85 nf_hookfn *hook; member
134 static inline bool nf_hooks_active(u_int8_t pf, unsigned int hook) in nf_hooks_active() argument
137 __builtin_constant_p(hook)) in nf_hooks_active()
138 return static_key_false(&nf_hooks_needed[pf][hook]); in nf_hooks_active()
140 return !list_empty(&nf_hooks[pf][hook]); in nf_hooks_active()
143 static inline bool nf_hooks_active(u_int8_t pf, unsigned int hook) in nf_hooks_active() argument
145 return !list_empty(&nf_hooks[pf][hook]); in nf_hooks_active()
[all …]
Dpci.h1530 void (*hook)(struct pci_dev *dev); member
1546 class_shift, hook) \ argument
1549 = { vendor, device, class, class_shift, hook };
1552 class_shift, hook) \ argument
1554 hook, vendor, device, class, class_shift, hook)
1556 class_shift, hook) \ argument
1558 hook, vendor, device, class, class_shift, hook)
1560 class_shift, hook) \ argument
1562 hook, vendor, device, class, class_shift, hook)
1564 class_shift, hook) \ argument
[all …]
Dnetfilter_ipv4.h10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
Dnetfilter_ipv6.h15 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
Dif_frad.h95 extern void dlci_ioctl_set(int (*hook)(unsigned int, void __user *));
Dif_vlan.h74 extern void vlan_ioctl_set(int (*hook)(struct net *, void __user *));
/linux-4.1.27/net/ipv4/netfilter/
Dipt_REJECT.c37 int hook = par->hooknum; in reject_tg() local
41 nf_send_unreach(skb, ICMP_NET_UNREACH, hook); in reject_tg()
44 nf_send_unreach(skb, ICMP_HOST_UNREACH, hook); in reject_tg()
47 nf_send_unreach(skb, ICMP_PROT_UNREACH, hook); in reject_tg()
50 nf_send_unreach(skb, ICMP_PORT_UNREACH, hook); in reject_tg()
53 nf_send_unreach(skb, ICMP_NET_ANO, hook); in reject_tg()
56 nf_send_unreach(skb, ICMP_HOST_ANO, hook); in reject_tg()
59 nf_send_unreach(skb, ICMP_PKT_FILTERED, hook); in reject_tg()
62 nf_send_reset(skb, hook); in reject_tg()
Dnf_reject_ipv4.c20 struct tcphdr *_oth, int hook) in nf_reject_ip_tcphdr_get() argument
38 if (nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), IPPROTO_TCP)) in nf_reject_ip_tcphdr_get()
102 void nf_send_reset(struct sk_buff *oldskb, int hook) in nf_send_reset() argument
110 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nf_send_reset()
169 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach() argument
187 if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) in nf_send_unreach()
Diptable_nat.c72 .hook = iptable_nat_ipv4_in,
80 .hook = iptable_nat_ipv4_out,
88 .hook = iptable_nat_ipv4_local_fn,
96 .hook = iptable_nat_ipv4_fn,
Dip_tables.c250 unsigned int hook, in trace_packet() argument
265 root = get_entry(table_base, private->hook_entry[hook]); in trace_packet()
267 hookname = chainname = hooknames[hook]; in trace_packet()
270 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
275 nf_log_trace(net, AF_INET, hook, skb, in, out, &trace_loginfo, in trace_packet()
290 unsigned int hook, in ipt_do_table() argument
322 acpar.hooknum = hook; in ipt_do_table()
324 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ipt_do_table()
339 e = get_entry(table_base, private->hook_entry[hook]); in ipt_do_table()
342 table->name, hook, origptr, in ipt_do_table()
[all …]
Dnf_conntrack_l3proto_ipv4.c168 .hook = ipv4_conntrack_in,
175 .hook = ipv4_conntrack_local,
182 .hook = ipv4_helper,
189 .hook = ipv4_confirm,
196 .hook = ipv4_helper,
203 .hook = ipv4_confirm,
Dnf_defrag_ipv4.c96 .hook = ipv4_conntrack_defrag,
103 .hook = ipv4_conntrack_defrag,
Darp_tables.c250 unsigned int hook, in arpt_do_table() argument
280 e = get_entry(table_base, private->hook_entry[hook]); in arpt_do_table()
281 back = get_entry(table_base, private->underflow[hook]); in arpt_do_table()
285 acpar.hooknum = hook; in arpt_do_table()
370 unsigned int hook; in mark_source_chains() local
375 for (hook = 0; hook < NF_ARP_NUMHOOKS; hook++) { in mark_source_chains()
376 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
380 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
389 int visited = e->comefrom & (1 << hook); in mark_source_chains()
393 hook, pos, e->comefrom); in mark_source_chains()
[all …]
Dipt_SYNPROXY.c434 .hook = ipv4_synproxy_hook,
441 .hook = ipv4_synproxy_hook,
Dipt_CLUSTERIP.c559 .hook = arp_mangle,
/linux-4.1.27/arch/arm64/kernel/
Ddebug-monitors.c189 void register_step_hook(struct step_hook *hook) in register_step_hook() argument
192 list_add_rcu(&hook->node, &step_hook); in register_step_hook()
196 void unregister_step_hook(struct step_hook *hook) in unregister_step_hook() argument
199 list_del_rcu(&hook->node); in unregister_step_hook()
212 struct step_hook *hook; in call_step_hook() local
217 list_for_each_entry_rcu(hook, &step_hook, node) { in call_step_hook()
218 retval = hook->fn(regs, esr); in call_step_hook()
277 void register_break_hook(struct break_hook *hook) in register_break_hook() argument
280 list_add_rcu(&hook->node, &break_hook); in register_break_hook()
284 void unregister_break_hook(struct break_hook *hook) in unregister_break_hook() argument
[all …]
Dtraps.c266 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
271 list_add(&hook->node, &undef_hook); in register_undef_hook()
275 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
280 list_del(&hook->node); in unregister_undef_hook()
286 struct undef_hook *hook; in call_undef_hook() local
316 list_for_each_entry(hook, &undef_hook, node) in call_undef_hook()
317 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
318 (regs->pstate & hook->pstate_mask) == hook->pstate_val) in call_undef_hook()
319 fn = hook->fn; in call_undef_hook()
Darmv8_deprecated.c67 struct undef_hook *hook; in register_emulation_hooks() local
71 for (hook = ops->hooks; hook->instr_mask; hook++) in register_emulation_hooks()
72 register_undef_hook(hook); in register_emulation_hooks()
79 struct undef_hook *hook; in remove_emulation_hooks() local
83 for (hook = ops->hooks; hook->instr_mask; hook++) in remove_emulation_hooks()
84 unregister_undef_hook(hook); in remove_emulation_hooks()
/linux-4.1.27/arch/avr32/kernel/
Dtraps.c135 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
138 list_add(&hook->node, &undef_hook); in register_undef_hook()
142 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
145 list_del(&hook->node); in unregister_undef_hook()
189 struct undef_hook *hook; in do_illegal_opcode() local
221 list_for_each_entry(hook, &undef_hook, node) { in do_illegal_opcode()
222 if ((insn & hook->insn_mask) == hook->insn_val) { in do_illegal_opcode()
223 if (hook->fn(regs, insn) == 0) { in do_illegal_opcode()
/linux-4.1.27/include/net/netfilter/ipv4/
Dnf_reject.h8 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
9 void nf_send_reset(struct sk_buff *oldskb, int hook);
12 struct tcphdr *_oth, int hook);
/linux-4.1.27/net/ipv6/
Dnetfilter.c87 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip6_saveroute()
101 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip6_reroute()
133 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum() argument
141 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) in nf_ip6_checksum()
166 static __sum16 nf_ip6_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip6_checksum_partial() argument
177 return nf_ip6_checksum(skb, hook, dataoff, protocol); in nf_ip6_checksum_partial()
/linux-4.1.27/net/ipv4/
Dnetfilter.c97 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip_saveroute()
112 if (entry->state.hook == NF_INET_LOCAL_OUT) { in nf_ip_reroute()
124 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum() argument
132 if (hook != NF_INET_PRE_ROUTING && hook != NF_INET_LOCAL_IN) in nf_ip_checksum()
155 static __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum_partial() argument
165 return nf_ip_checksum(skb, hook, dataoff, protocol); in nf_ip_checksum_partial()
/linux-4.1.27/arch/arm64/include/asm/
Ddebug-monitors.h115 void register_step_hook(struct step_hook *hook);
116 void unregister_step_hook(struct step_hook *hook);
125 void register_break_hook(struct break_hook *hook);
126 void unregister_break_hook(struct break_hook *hook);
Dtraps.h34 void register_undef_hook(struct undef_hook *hook);
35 void unregister_undef_hook(struct undef_hook *hook);
/linux-4.1.27/net/bridge/netfilter/
Dnft_reject_bridge.c45 int hook) in nft_reject_br_send_v4_tcp_reset() argument
55 oth = nf_reject_ip_tcphdr_get(oldskb, &_oth, hook); in nft_reject_br_send_v4_tcp_reset()
79 int hook, u8 code) in nft_reject_br_send_v4_unreach() argument
112 nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto)) in nft_reject_br_send_v4_unreach()
147 int hook) in nft_reject_br_send_v6_tcp_reset() argument
158 oth = nf_reject_ip6_tcphdr_get(oldskb, &_oth, &otcplen, hook); in nft_reject_br_send_v6_tcp_reset()
178 static bool reject6_br_csum_ok(struct sk_buff *skb, int hook) in reject6_br_csum_ok() argument
199 return nf_ip6_checksum(skb, hook, thoff, proto) == 0; in reject6_br_csum_ok()
205 int hook, u8 code) in nft_reject_br_send_v6_unreach() argument
224 if (!reject6_br_csum_ok(oldskb, hook)) in nft_reject_br_send_v6_unreach()
Debtable_filter.c77 .hook = ebt_in_hook,
84 .hook = ebt_in_hook,
91 .hook = ebt_out_hook,
Debtable_nat.c77 .hook = ebt_nat_out,
84 .hook = ebt_nat_out,
91 .hook = ebt_nat_in,
Debtables.c186 unsigned int ebt_do_table (unsigned int hook, struct sk_buff *skb, in ebt_do_table() argument
205 acpar.hooknum = hook; in ebt_do_table()
215 chaininfo = private->hook_entry[hook]; in ebt_do_table()
216 nentries = private->hook_entry[hook]->nentries; in ebt_do_table()
217 point = (struct ebt_entry *)(private->hook_entry[hook]->data); in ebt_do_table()
218 counter_base = cb_base + private->hook_entry[hook]->counter_offset; in ebt_do_table()
656 unsigned int i, j, hook = 0, hookmask = 0; in ebt_check_entry() local
683 hook = i; in ebt_check_entry()
690 hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); in ebt_check_entry()
696 hookmask = (1 << hook) | (1 << NF_BR_NUMHOOKS); in ebt_check_entry()
/linux-4.1.27/net/ipv6/netfilter/
Dip6table_nat.c74 .hook = ip6table_nat_in,
82 .hook = ip6table_nat_out,
90 .hook = ip6table_nat_local_fn,
98 .hook = ip6table_nat_fn,
Dnf_reject_ipv6.c21 unsigned int *otcplen, int hook) in nf_reject_ip6_tcphdr_get() argument
58 if (nf_ip6_checksum(oldskb, hook, tcphoff, IPPROTO_TCP)) { in nf_reject_ip6_tcphdr_get()
133 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook) in nf_send_reset6() argument
150 otcph = nf_reject_ip6_tcphdr_get(oldskb, &_otcph, &otcplen, hook); in nf_send_reset6()
213 static bool reject6_csum_ok(struct sk_buff *skb, int hook) in reject6_csum_ok() argument
232 return nf_ip6_checksum(skb, hook, thoff, proto) == 0; in reject6_csum_ok()
Dnf_conntrack_l3proto_ipv6.c189 .hook = ipv6_conntrack_in,
196 .hook = ipv6_conntrack_local,
203 .hook = ipv6_helper,
210 .hook = ipv6_confirm,
217 .hook = ipv6_helper,
224 .hook = ipv6_confirm,
Dnf_defrag_ipv6_hooks.c87 .hook = ipv6_defrag,
94 .hook = ipv6_defrag,
Dip6_tables.c279 unsigned int hook, in trace_packet() argument
294 root = get_entry(table_base, private->hook_entry[hook]); in trace_packet()
296 hookname = chainname = hooknames[hook]; in trace_packet()
299 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
304 nf_log_trace(net, AF_INET6, hook, skb, in, out, &trace_loginfo, in trace_packet()
319 unsigned int hook, in ip6t_do_table() argument
347 acpar.hooknum = hook; in ip6t_do_table()
349 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ip6t_do_table()
365 e = get_entry(table_base, private->hook_entry[hook]); in ip6t_do_table()
395 trace_packet(skb, hook, state->in, state->out, in ip6t_do_table()
[all …]
Dip6t_SYNPROXY.c457 .hook = ipv6_synproxy_hook,
464 .hook = ipv6_synproxy_hook,
/linux-4.1.27/sound/core/
Dvmaster.c40 void (*hook)(void *private_data, int); member
131 if (master->hook) in master_init()
132 master->hook(master->hook_private_data, master->val); in master_init()
351 if (master->hook && !first_init) in master_put()
352 master->hook(master->hook_private_data, master->val); in master_put()
446 void (*hook)(void *private_data, int), in snd_ctl_add_vmaster_hook()
450 master->hook = hook; in snd_ctl_add_vmaster_hook()
483 if (master->hook && !first_init) in snd_ctl_sync_vmaster()
484 master->hook(master->hook_private_data, master->val); in snd_ctl_sync_vmaster()
/linux-4.1.27/arch/avr32/include/asm/
Dtraps.h20 void register_undef_hook(struct undef_hook *hook);
21 void unregister_undef_hook(struct undef_hook *hook);
/linux-4.1.27/arch/arm/kernel/
Dtraps.c372 void register_undef_hook(struct undef_hook *hook) in register_undef_hook() argument
377 list_add(&hook->node, &undef_hook); in register_undef_hook()
381 void unregister_undef_hook(struct undef_hook *hook) in unregister_undef_hook() argument
386 list_del(&hook->node); in unregister_undef_hook()
392 struct undef_hook *hook; in call_undef_hook() local
397 list_for_each_entry(hook, &undef_hook, node) in call_undef_hook()
398 if ((instr & hook->instr_mask) == hook->instr_val && in call_undef_hook()
399 (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) in call_undef_hook()
400 fn = hook->fn; in call_undef_hook()
/linux-4.1.27/include/net/netfilter/ipv6/
Dnf_reject.h9 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook);
13 unsigned int *otcplen, int hook);
/linux-4.1.27/net/netfilter/
Dcore.c140 verdict = (*elemp)->hook(*elemp, skb, state); in nf_iterate()
146 (*elemp)->hook, state->hook); in nf_iterate()
170 elem = list_entry_rcu(&nf_hooks[state->pf][state->hook], in nf_hook_slow()
173 verdict = nf_iterate(&nf_hooks[state->pf][state->hook], skb, state, in nf_hook_slow()
Dnf_tables_inet.c30 ops->hook = afi->hooks[ops->hooknum]; in nft_inet_hook_ops_init()
Dnfnetlink_queue_core.c317 if (entry->state.hook <= NF_INET_FORWARD || in nfqnl_build_packet_message()
318 (entry->state.hook == NF_INET_POST_ROUTING && entskb->sk == NULL)) in nfqnl_build_packet_message()
378 pmsg->hook = entry->state.hook; in nfqnl_build_packet_message()
832 static void nfqnl_nf_hook_drop(struct net *net, struct nf_hook_ops *hook) in nfqnl_nf_hook_drop() argument
843 nfqnl_flush(inst, nf_hook_cmp, (unsigned long)hook); in nfqnl_nf_hook_drop()
Dnf_queue.c216 verdict = nf_iterate(&nf_hooks[entry->state.pf][entry->state.hook], in nf_reinject()
Dnfnetlink_log.c425 pmsg.hook = hooknum; in __build_packet_message()
Dx_tables.c1209 ops[i].hook = fn; in xt_hook_link()
Dnf_tables_api.c1363 ops->hook = afi->hooks[ops->hooknum]; in nf_tables_newchain()
1365 ops->hook = hookfn; in nf_tables_newchain()
/linux-4.1.27/net/sched/
Dact_ipt.c33 static int ipt_init_target(struct xt_entry_target *t, char *table, unsigned int hook) in ipt_init_target() argument
49 par.hook_mask = hook; in ipt_init_target()
94 u32 hook = 0; in tcf_ipt_init() local
131 hook = nla_get_u32(tb[TCA_IPT_HOOK]); in tcf_ipt_init()
145 err = ipt_init_target(t, tname, hook); in tcf_ipt_init()
157 ipt->tcfi_hook = hook; in tcf_ipt_init()
/linux-4.1.27/arch/arm/include/asm/
Dtraps.h18 void register_undef_hook(struct undef_hook *hook);
19 void unregister_undef_hook(struct undef_hook *hook);
/linux-4.1.27/security/smack/
Dsmack_netfilter.c59 .hook = smack_ipv4_output,
67 .hook = smack_ipv6_output,
/linux-4.1.27/arch/blackfin/kernel/
Dipipe.c191 void (*hook)(void); in __ipipe_syscall_root() local
201 hook = (__typeof__(hook))__ipipe_irq_tail_hook; in __ipipe_syscall_root()
202 hook(); in __ipipe_syscall_root()
/linux-4.1.27/sound/pci/hda/
Dthinkpad_helper.c73 old_vmaster_hook = spec->vmaster_mute.hook; in hda_fixup_thinkpad_acpi()
74 spec->vmaster_mute.hook = update_tpacpi_mute_led; in hda_fixup_thinkpad_acpi()
Dhda_codec.c2083 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); in vmaster_mute_mode_get() local
2084 ucontrol->value.enumerated.item[0] = hook->mute_mode; in vmaster_mute_mode_get()
2091 struct hda_vmaster_mute_hook *hook = snd_kcontrol_chip(kcontrol); in vmaster_mute_mode_put() local
2092 unsigned int old_mode = hook->mute_mode; in vmaster_mute_mode_put()
2094 hook->mute_mode = ucontrol->value.enumerated.item[0]; in vmaster_mute_mode_put()
2095 if (hook->mute_mode > HDA_VMUTE_FOLLOW_MASTER) in vmaster_mute_mode_put()
2096 hook->mute_mode = HDA_VMUTE_FOLLOW_MASTER; in vmaster_mute_mode_put()
2097 if (old_mode == hook->mute_mode) in vmaster_mute_mode_put()
2099 snd_hda_sync_vmaster_hook(hook); in vmaster_mute_mode_put()
2114 struct hda_vmaster_mute_hook *hook = private_data; in vmaster_hook() local
[all …]
Dpatch_analog.c242 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad_fixup_inv_jack_detect()
577 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1981_fixup_hp_eapd()
1007 spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; in ad1884_fixup_hp_eapd()
1032 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1884_fixup_thinkpad()
Dhda_local.h165 void (*hook)(void *, int); member
172 struct hda_vmaster_mute_hook *hook,
174 void snd_hda_sync_vmaster_hook(struct hda_vmaster_mute_hook *hook);
Dpatch_conexant.c603 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook_mute_led; in cxt_fixup_mute_led_eapd()
885 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
Dpatch_realtek.c3277 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led()
3294 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led_mic1()
3307 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_mute_led_mic2()
3365 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc269_fixup_hp_gpio_led()
3386 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc286_fixup_hp_gpio_led()
3433 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc269_fixup_hp_gpio_mic1_led()
3456 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc280_fixup_hp_gpio4()
3529 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc280_fixup_hp_gpio2_mic_hotkey()
3598 spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; in alc269_fixup_hp_line1_mic1_led()
6440 spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; in alc662_fixup_led_gpio1()
Dhda_generic.c1144 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx()
1151 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx()
1189 return spec->vmaster_mute.hook ? "PCM" : "Master"; in get_line_out_pfx()
5067 if (spec->vmaster_mute.hook) { in snd_hda_gen_build_controls()
5843 if (spec->vmaster_mute.sw_kctl && spec->vmaster_mute.hook) in snd_hda_gen_init()
Dpatch_sigmatel.c4305 spec->gen.vmaster_mute.hook = stac_vmaster_hook; in stac_parse_auto_config()
/linux-4.1.27/tools/perf/tests/attr/
DREADME4 by the PERF_TEST_ATTR environment variable and hook inside the
16 This is the sys_perf_event_open hook implementation. The hook
/linux-4.1.27/net/bridge/
Dbr_netfilter.c992 .hook = br_nf_pre_routing,
999 .hook = br_nf_local_in,
1006 .hook = br_nf_forward_ip,
1013 .hook = br_nf_forward_arp,
1020 .hook = br_nf_post_routing,
1027 .hook = ip_sabotage_in,
1034 .hook = ip_sabotage_in,
/linux-4.1.27/include/linux/netfilter_ipv6/
Dip6_tables.h33 unsigned int hook,
/linux-4.1.27/drivers/media/pci/bt8xx/
DMakefile3 bttv-input.o bttv-audio-hook.o btcx-risc.o
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_core.c1880 .hook = ip_vs_reply4,
1890 .hook = ip_vs_remote_request4,
1898 .hook = ip_vs_local_reply4,
1906 .hook = ip_vs_local_request4,
1915 .hook = ip_vs_forward_icmp,
1923 .hook = ip_vs_reply4,
1932 .hook = ip_vs_reply6,
1942 .hook = ip_vs_remote_request6,
1950 .hook = ip_vs_local_reply6,
1958 .hook = ip_vs_local_request6,
[all …]
/linux-4.1.27/include/linux/netfilter_arp/
Darp_tables.h56 unsigned int hook,
/linux-4.1.27/include/uapi/linux/netfilter/
Dnfnetlink_log.h20 __u8 hook; /* netfilter hook */ member
Dnfnetlink_queue.h19 __u8 hook; /* netfilter hook */ member
/linux-4.1.27/include/linux/netfilter_ipv4/
Dip_tables.h67 unsigned int hook,
/linux-4.1.27/Documentation/
Dvideo-output.txt7 can be used to hook platform specific methods to enable/disable video output
DCodingStyle515 (add-hook 'c-mode-common-hook
525 (add-hook 'c-mode-hook
Dvgaarbiter.txt93 In the case of devices hot-{un,}plugged, there is a hook - pci_notify() - to
DDMA-API-HOWTO.txt857 and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook
862 fails in the queuecommand hook. This means that the SCSI subsystem
Dcachetlb.txt106 process migration. This interface provides a hook
/linux-4.1.27/kernel/power/
Dsnapshot.c489 struct list_head hook; member
502 list_for_each_entry_safe(ext, aux, list, hook) { in free_mem_extents()
503 list_del(&ext->hook); in free_mem_extents()
527 list_for_each_entry(ext, list, hook) in create_mem_extents()
531 if (&ext->hook == list || zone_end < ext->start) { in create_mem_extents()
542 list_add_tail(&new_ext->hook, &ext->hook); in create_mem_extents()
554 list_for_each_entry_safe_continue(cur, aux, list, hook) { in create_mem_extents()
559 list_del(&cur->hook); in create_mem_extents()
585 list_for_each_entry(ext, &mem_extents, hook) { in memory_bm_create()
/linux-4.1.27/Documentation/pti/
Dpti_intel_mid.txt38 can hook up n_tracerouter and n_tracesink to any tty on
47 /////////// To hook up n_tracerouter and n_tracesink /////////
/linux-4.1.27/net/decnet/netfilter/
Ddn_rtmsg.c117 .hook = dnrmg_hook,
/linux-4.1.27/include/linux/netfilter_bridge/
Debtables.h114 extern unsigned int ebt_do_table(unsigned int hook, struct sk_buff *skb,
/linux-4.1.27/drivers/isdn/capi/
DKconfig33 This option provides the glue code to hook up CAPI driven cards to
/linux-4.1.27/arch/arm/mach-omap1/
Dams-delta-fiq-handler.S222 hksw: @Is hook switch interrupt requested?
223 tst r13, #HOOK_SWITCH_MASK @ is hook switch status bit set?
/linux-4.1.27/Documentation/mtd/
Dspi-nor.txt59 The main API is spi_nor_scan(). Before you call the hook, a driver should
/linux-4.1.27/Documentation/security/
DLSM.txt33 For extensive documentation on the available LSM hook interfaces, please
/linux-4.1.27/arch/arm/boot/dts/
Dbcm911360_entphn.dts60 hook {
/linux-4.1.27/Documentation/isdn/
DREADME.icn27 hook-switches.
29 1. Setting for the card with hook-switches:
DREADME97 ATH1 Off hook (ignored).
/linux-4.1.27/fs/jffs2/
DTODO6 do shared writable mmap, if we can have a fs hook for do_wp_page() to
/linux-4.1.27/drivers/cpuidle/
DKconfig.arm11 initialized by calling the CPU operations init idle hook
/linux-4.1.27/include/sound/
Dcontrol.h246 void (*hook)(void *private_data, int),
/linux-4.1.27/Documentation/netlabel/
Dcipso_ipv4.txt33 LSM hook.
/linux-4.1.27/Documentation/vm/
Dcleancache.txt154 in VFS are sufficient, so don't require an "init_fs" hook; the
155 initial implementation of cleancache didn't provide this hook.
160 to "opt in" to use cleancache, which requires adding a hook in
237 hook to get best performance for some backends.
Dfrontswap.txt123 If CONFIG_FRONTSWAP is disabled, every frontswap hook compiles into
/linux-4.1.27/Documentation/x86/
Dintel_mpx.txt98 We hook #BR handler to handle these two new situations.
146 A: This would work if we could hook the site of each and every memory
203 Here, the solution for this issue is to hook do_munmap() to check
Dboot.txt171 0208/4 2.00+ realmode_swtch Boot loader hook (see below)
177 0214/4 2.00+ code32_start Boot loader hook (see below)
325 Boot loader hook (see ADVANCED BOOT LOADER HOOKS below.)
461 1. as a boot loader hook (see ADVANCED BOOT LOADER HOOKS below.)
463 2. if a bootloader which does not install a hook loads a
578 point to the loaded code, or to a boot loader hook.
1026 After completing your hook, you should jump to the address
/linux-4.1.27/Documentation/spi/
Dspi-lm70llp54 the bound "hwmon/lm70" protocol driver through its sysfs hook, using a
Dbutterfly24 The first cable connections will hook Linux up to one SPI bus, with the
/linux-4.1.27/arch/ia64/include/asm/sn/
Dsn_sal.h313 ia64_sn_plat_specific_err_print(int (*hook)(const char*, ...), char *rec) in ia64_sn_plat_specific_err_print()
321 SAL_CALL_REENTRANT(ret_stuff, SN_SAL_PRINT_ERROR, (u64)hook, (u64)rec, 0, 0, 0, 0, 0); in ia64_sn_plat_specific_err_print()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_diag.c803 ret = op->hook(dd, op, offset, &data64, 0, use_32); in qib_diag_read()
889 ret = op->hook(dd, op, offset, &data64, ~0Ull, in qib_diag_write()
Dqib.h713 diag_hook hook; member
/linux-4.1.27/Documentation/video4linux/bttv/
DREADME.freeze20 The only way to capture any kernel messages is to hook up a serial
/linux-4.1.27/Documentation/networking/caif/
DREADME27 The benefit is that we can hook up to any TTY.
/linux-4.1.27/arch/arm/common/
Dmcpm_head.S180 @ If a platform-specific CPU setup hook is needed, it is
/linux-4.1.27/arch/arc/kernel/
Dentry.S431 ; PRE Sys Call Ptrace hook
444 ; Restore the sys-call args. Mere invocation of the hook abv could have
/linux-4.1.27/Documentation/filesystems/cifs/
DTODO28 f) hook lower into the sockets api (as NFS/SunRPC does) to avoid the
/linux-4.1.27/Documentation/acpi/
Dscan_handlers.txt43 take care of, list_node is the hook to the global list of ACPI scan handlers
/linux-4.1.27/net/
Dsocket.c835 void brioctl_set(int (*hook) (struct net *, unsigned int, void __user *)) in brioctl_set()
838 br_ioctl_hook = hook; in brioctl_set()
846 void vlan_ioctl_set(int (*hook) (struct net *, void __user *)) in vlan_ioctl_set()
849 vlan_ioctl_hook = hook; in vlan_ioctl_set()
857 void dlci_ioctl_set(int (*hook) (unsigned int, void __user *)) in dlci_ioctl_set()
860 dlci_ioctl_hook = hook; in dlci_ioctl_set()
/linux-4.1.27/Documentation/trace/
Dtracepoints.txt14 A tracepoint placed in code provides a hook to call a function (probe)
Dftrace.txt853 record-cmd - When any event or tracer is enabled, a hook is enabled
/linux-4.1.27/sound/soc/codecs/
D88pm860x-codec.c1274 int det, int hook, int hs_shrt, int lo_shrt) in pm860x_hs_jack_detect() argument
1281 pm860x->det.hook_det = hook; in pm860x_hs_jack_detect()
/linux-4.1.27/Documentation/networking/
Dieee802154.txt73 To hook the MLME interface you have to populate the ml_priv field of your
Dstmmac.txt203 o phy_reset: hook to reset the phy device attached to the bus.
Dvortex.txt338 WARNING: DO NOT hook up hubs/switches/bridges to these
/linux-4.1.27/Documentation/devicetree/
Dusage-model.txt173 hook from each machine_desc, and the first one returning TRUE is used.
235 The most interesting hook in the DT context is .init_machine() which
374 /soc/i2s, and /soc/i2c in its .probe() hook. Easy, right?
/linux-4.1.27/Documentation/fault-injection/
Dfault-injection.txt160 o add a hook to insert failures
/linux-4.1.27/drivers/pci/
Dquirks.c3249 calltime = fixup_debug_start(dev, f->hook); in pci_do_fixups()
3250 f->hook(dev); in pci_do_fixups()
3251 fixup_debug_report(dev, calltime, f->hook); in pci_do_fixups()
/linux-4.1.27/Documentation/driver-model/
Dplatform.txt80 that some boards might not hook up to any peripherals.
/linux-4.1.27/security/selinux/
Dhooks.c6114 .hook = selinux_ipv4_postroute,
6121 .hook = selinux_ipv4_forward,
6128 .hook = selinux_ipv4_output,
6136 .hook = selinux_ipv6_postroute,
6143 .hook = selinux_ipv6_forward,
/linux-4.1.27/Documentation/sh/
Dnew-machine.txt93 board in arch/sh/boards/ and adding rules to hook your board in with the
/linux-4.1.27/Documentation/development-process/
D3.Early-stage21 kernel module intended to hook into the Linux Security Module (LSM)
/linux-4.1.27/drivers/base/
DKconfig10 used to hook hotplug scripts into kernel device events. It
/linux-4.1.27/Documentation/power/
Dfreezing-of-tasks.txt208 If possible, that piece of code must instead hook onto the suspend/hibernation
/linux-4.1.27/Documentation/cgroups/
Dcgroups.txt72 tracking. The intention is that other subsystems hook into the generic
481 Each kernel subsystem that wants to hook into the generic cgroup
Dcpusets.txt222 nodes with memory--using the cpuset_track_online_nodes() hook.
270 /dev/cpuset/memory_pressure_enabled, the hook in the rebalance
/linux-4.1.27/Documentation/filesystems/
Dseq_file.txt225 method, however, to hook everything up. The open function is often a single
Dproc.txt680 It could be used to set IRQ to CPU affinity, this means that you can "hook" an
/linux-4.1.27/Documentation/PCI/
Dpci.txt176 automatically calls the remove hook for all devices handled by the driver.
/linux-4.1.27/Documentation/block/
Dbiodoc.txt362 the pre-builder hook can be invoked there.
927 this hook allows it to do that. Note however
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_display.c13625 void (*hook)(struct drm_device *dev); member
13630 void (*hook)(struct drm_device *dev); member
13652 .hook = quirk_invert_brightness,
13725 q->hook(dev); in intel_init_quirks()
13729 intel_dmi_quirks[i].hook(dev); in intel_init_quirks()
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dfpsp.S4389 # supplied bsun hook.
4420 bra.l _real_bsun # branch to user bsun hook
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt591 o hook two virtual machines together by having one attach to a pty