Home
last modified time | relevance | path

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

/include/acpi/
Dbattery.h16 int (*add_battery)(struct power_supply *battery, struct acpi_battery_hook *hook);
17 int (*remove_battery)(struct power_supply *battery, struct acpi_battery_hook *hook);
21 void battery_hook_register(struct acpi_battery_hook *hook);
22 void battery_hook_unregister(struct acpi_battery_hook *hook);
23 int devm_battery_hook_register(struct device *dev, struct acpi_battery_hook *hook);
/include/net/netfilter/ipv4/
Dnf_reject.h10 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
12 int hook);
14 struct tcphdr *_oth, int hook);
24 int hook, u8 code);
28 int hook);
/include/linux/
Dnetfilter.h80 u8 hook; member
100 nf_hookfn *hook; member
111 nf_hookfn *hook; member
155 return entry->hook(entry->priv, skb, state); in nf_hook_entry_hookfn()
159 unsigned int hook, in nf_hook_state_init() argument
167 p->hook = hook; in nf_hook_state_init()
226 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() argument
236 __builtin_constant_p(hook) && in nf_hook()
237 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
244 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook()
[all …]
Dnetfilter_ipv4.h24 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
29 static inline __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, in nf_ip_checksum() argument
Dpci.h2197 void (*hook)(struct pci_dev *dev); member
2214 class_shift, hook) \ argument
2215 __ADDRESSABLE(hook) \
2220 ".long " #hook " - . \n" \
2230 class_shift, hook, stub) \ argument
2234 hook(dev); \
2240 class_shift, hook, stub) \ argument
2242 class_shift, hook)
2246 class_shift, hook) \ argument
2248 class_shift, hook, __UNIQUE_ID(hook))
[all …]
Dlsm_hooks.h97 union security_list_options hook; member
136 .hook = { .NAME = HOOK } \
Dif_bridge.h68 void brioctl_set(int (*hook)(struct net *net, struct net_bridge *br,
Dnetfilter_ipv6.h200 __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
Dif_vlan.h80 extern void vlan_ioctl_set(int (*hook)(struct net *, void __user *));
/include/net/netfilter/ipv6/
Dnf_reject.h11 int hook);
14 unsigned int *otcplen, int hook);
25 int hook);
29 int hook, u8 code);
/include/uapi/linux/netfilter/
Dnfnetlink_log.h21 __u8 hook; /* netfilter hook */ member
Dnfnetlink_queue.h20 __u8 hook; /* netfilter hook */ member
/include/net/netfilter/
Dbr_netfilter.h25 int br_nf_hook_thresh(unsigned int hook, struct net *net, struct sock *sk,
Dnf_flow_table.h67 nf_hookfn *hook; member
Dnf_tables.h57 return pkt->state->hook; in nft_hook()
/include/sound/
Dcontrol.h290 void (*hook)(void *private_data, int),
/include/linux/netfilter/
Dx_tables.h71 return par->state->hook; in xt_hooknum()