Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/net/core/
Dnetfilter.c341 int hook, in nf_iterate() argument
349 switch (elem->hook(hook, skb, indev, outdev, okfn)) { in nf_iterate()
369 elem->hook, hook); in nf_iterate()
409 int pf, unsigned int hook, in nf_queue() argument
432 (struct nf_hook_ops *)elem, pf, hook, indev, outdev, okfn }; in nf_queue()
449 int nf_hook_slow(int pf, unsigned int hook, struct sk_buff *skb, in nf_hook_slow() argument
475 if (skb->nf_debug & (1 << hook)) { in nf_hook_slow()
476 printk("nf_hook: hook %i already set.\n", hook); in nf_hook_slow()
479 skb->nf_debug |= (1 << hook); in nf_hook_slow()
482 elem = &nf_hooks[pf][hook]; in nf_hook_slow()
[all …]
/linux-2.4.37.9/drivers/tc/
Dlk201.c100 if (info->hook->poll_tx_char(info, ch)) { in lk201_send()
213 if (info->hook->poll_tx_char(info, LK_CMD_RPT_RATE(i))) in write_kbd_rate()
215 if (info->hook->poll_tx_char(info, LK_PARAM_DELAY(delay))) in write_kbd_rate()
217 if (info->hook->poll_tx_char(info, LK_PARAM_RATE(rate))) in write_kbd_rate()
256 if (info->hook->poll_tx_char(info, LK_CMD_ENB_BELL)) in lk201kd_mksound()
258 if (info->hook->poll_tx_char(info, LK_PARAM_VOLUME(ticks))) in lk201kd_mksound()
260 if (info->hook->poll_tx_char(info, LK_CMD_BELL)) in lk201kd_mksound()
278 if (info->hook->poll_tx_char(info, LK_CMD_LEDS_ON)) in kbd_leds()
280 if (info->hook->poll_tx_char(info, LK_PARAM_LED_MASK(l))) in kbd_leds()
282 if (info->hook->poll_tx_char(info, LK_CMD_LEDS_OFF)) in kbd_leds()
[all …]
Dzs.c414 if (!tty && (!info->hook || !info->hook->rx_char)) in receive_chars()
457 if (info->hook && info->hook->rx_char) { in receive_chars()
458 (*info->hook->rx_char)(ch, flag); in receive_chars()
828 if (!info->hook) { in change_speed()
835 cflag = info->hook->cflags; in change_speed()
842 if (!info->hook) in change_speed()
845 info->hook->cflags &= ~CBAUDEX; in change_speed()
1271 if (info->hook) in rs_ioctl()
1643 if (info->hook) in rs_open()
1944 if (info->hook && info->hook->init_info) { in zs_init()
[all …]
/linux-2.4.37.9/include/linux/
Dnetfilter.h50 nf_hookfn *hook; member
85 unsigned int hook; member
123 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) \ argument
124 (list_empty(&nf_hooks[(pf)][(hook)]) \
126 : nf_hook_slow((pf), (hook), (skb), (indev), (outdev), (okfn)))
129 int nf_hook_slow(int pf, unsigned int hook, struct sk_buff *skb,
166 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) (okfn)(skb) argument
/linux-2.4.37.9/net/ipv4/netfilter/
Diptable_filter.c90 ipt_hook(unsigned int hook, in ipt_hook() argument
96 return ipt_do_table(pskb, hook, in, out, &packet_filter, NULL); in ipt_hook()
100 ipt_local_out_hook(unsigned int hook, in ipt_local_out_hook() argument
114 return ipt_do_table(pskb, hook, in, out, &packet_filter, NULL); in ipt_local_out_hook()
Diptable_mangle.c123 ipt_route_hook(unsigned int hook, in ipt_route_hook() argument
129 return ipt_do_table(pskb, hook, in, out, &packet_mangler, NULL); in ipt_route_hook()
133 ipt_local_hook(unsigned int hook, in ipt_local_hook() argument
158 ret = ipt_do_table(pskb, hook, in, out, &packet_mangler, NULL); in ipt_local_hook()
Darptable_filter.c119 static unsigned int arpt_hook(unsigned int hook, in arpt_hook() argument
125 return arpt_do_table(pskb, hook, in, out, &packet_filter, NULL); in arpt_hook()
Darp_tables.c244 unsigned int hook, in arpt_do_table() argument
265 e = get_entry(table_base, table->private->hook_entry[hook]); in arpt_do_table()
266 back = get_entry(table_base, table->private->underflow[hook]); in arpt_do_table()
313 hook, in arpt_do_table()
411 unsigned int hook; in mark_source_chains() local
416 for (hook = 0; hook < NF_ARP_NUMHOOKS; hook++) { in mark_source_chains()
417 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
421 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
433 hook, pos, e->comefrom); in mark_source_chains()
437 |= ((1 << hook) | (1 << NF_ARP_NUMHOOKS)); in mark_source_chains()
[all …]
Dip_tables.c255 unsigned int hook, in ipt_do_table() argument
288 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ipt_do_table()
292 e = get_entry(table_base, table->private->hook_entry[hook]); in ipt_do_table()
308 back = get_entry(table_base, table->private->underflow[hook]); in ipt_do_table()
363 hook, in ipt_do_table()
501 unsigned int hook; in mark_source_chains() local
505 for (hook = 0; hook < NF_IP_NUMHOOKS; hook++) { in mark_source_chains()
506 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
510 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
522 hook, pos, e->comefrom); in mark_source_chains()
[all …]
Dipt_REJECT.c25 static inline struct rtable *route_reverse(struct sk_buff *skb, int hook) in route_reverse() argument
32 if (hook != NF_IP_FORWARD) { in route_reverse()
34 if (hook == NF_IP_LOCAL_IN) in route_reverse()
67 static void send_reset(struct sk_buff *oldskb, int hook) in send_reset() argument
96 if ((rt = route_reverse(oldskb, hook)) == NULL) in send_reset()
Dip_queue.c236 pmsg->hook = entry->info->hook; in ipq_build_packet_message()
290 if (entry->info->hook == NF_IP_LOCAL_OUT) { in ipq_enqueue_packet()
370 if (e->info->hook == NF_IP_LOCAL_OUT) { in ipq_mangle_ipv4()
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6table_filter.c90 ip6t_hook(unsigned int hook, in ip6t_hook() argument
96 return ip6t_do_table(pskb, hook, in, out, &packet_filter, NULL); in ip6t_hook()
100 ip6t_local_out_hook(unsigned int hook, in ip6t_local_out_hook() argument
116 return ip6t_do_table(pskb, hook, in, out, &packet_filter, NULL); in ip6t_local_out_hook()
Dip6table_mangle.c120 ip6t_route_hook(unsigned int hook, in ip6t_route_hook() argument
126 return ip6t_do_table(pskb, hook, in, out, &packet_mangler, NULL); in ip6t_route_hook()
130 ip6t_local_hook(unsigned int hook, in ip6t_local_hook() argument
162 ret = ip6t_do_table(pskb, hook, in, out, &packet_mangler, NULL); in ip6t_local_hook()
Dip6_tables.c346 unsigned int hook, in ip6t_do_table() argument
374 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ip6t_do_table()
378 e = get_entry(table_base, table->private->hook_entry[hook]); in ip6t_do_table()
394 back = get_entry(table_base, table->private->underflow[hook]); in ip6t_do_table()
453 hook, in ip6t_do_table()
586 unsigned int hook; in mark_source_chains() local
590 for (hook = 0; hook < NF_IP6_NUMHOOKS; hook++) { in mark_source_chains()
591 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
595 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
607 hook, pos, e->comefrom); in mark_source_chains()
[all …]
Dip6_queue.c242 pmsg->hook = entry->info->hook; in ipq_build_packet_message()
296 if (entry->info->hook == NF_IP_LOCAL_OUT) { in ipq_enqueue_packet()
376 if (e->info->hook == NF_IP_LOCAL_OUT) { in ipq_mangle_ipv6()
/linux-2.4.37.9/net/atm/
Dcommon.h29 void pppoatm_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned long));
30 void br2684_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned long));
Dcommon.c39 void atm_lane_ops_set(struct atm_lane_ops *hook) in atm_lane_ops_set() argument
42 atm_lane_ops = hook; in atm_lane_ops_set()
70 void atm_mpoa_ops_set(struct atm_mpoa_ops *hook) in atm_mpoa_ops_set() argument
73 atm_mpoa_ops = hook; in atm_mpoa_ops_set()
107 void atm_clip_ops_set(struct atm_clip_ops *hook) in atm_clip_ops_set() argument
110 atm_clip_ops = hook; in atm_clip_ops_set()
137 void pppoatm_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned long)) in pppoatm_ioctl_set()
140 pppoatm_ioctl_hook = hook; in pppoatm_ioctl_set()
153 void br2684_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned long)) in br2684_ioctl_set()
156 br2684_ioctl_hook = hook; in br2684_ioctl_set()
Dmpc.h57 void atm_mpoa_ops_set(struct atm_mpoa_ops *hook);
Dlec.h161 void atm_lane_ops_set(struct atm_lane_ops *hook);
/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dfdc-io.c1291 *(fdc.hook) = fdc_isr; /* hook our handler in */ in fdc_config()
1303 fdc.hook = &do_ftape; in fdc_config()
1304 *(fdc.hook) = fdc_isr; /* hook our handler in */ in fdc_config()
1320 fdc.hook = &do_ftape; in fdc_config()
1321 *(fdc.hook) = fdc_isr; /* hook our handler in */ in fdc_config()
1328 void (*handler) (void) = *fdc.hook; in ftape_interrupt()
1331 *fdc.hook = NULL; in ftape_interrupt()
1344 if (fdc.hook == &do_ftape) { in fdc_grab_irq_and_dma()
1377 if (fdc.hook == &do_ftape) { in fdc_release_irq_and_dma()
/linux-2.4.37.9/include/asm-mips/dec/
Dserial.h33 struct dec_serial_hook *hook);
/linux-2.4.37.9/include/asm-mips64/dec/
Dserial.h33 struct dec_serial_hook *hook);
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dipt_ULOG.h36 unsigned int hook; member
Dip_queue.h26 unsigned int hook; /* Netfilter hook we rode in on */ member
/linux-2.4.37.9/include/asm-ia64/sn/
Dsn_sal.h276 ia64_sn_plat_specific_err_print(int (*hook)(const char*, ...), char *rec) in ia64_sn_plat_specific_err_print()
284 SAL_CALL_NOLOCK(ret_stuff, SN_SAL_PRINT_ERROR, (uint64_t)hook, (uint64_t)rec, 0, 0, 0, 0, 0); in ia64_sn_plat_specific_err_print()

12