Home
last modified time | relevance | path

Searched refs:NF_HOOK (Results 1 – 19 of 19) sorted by relevance

/linux-2.4.37.9/net/bridge/
Dbr_forward.c43 NF_HOOK(PF_BRIDGE, NF_BR_POST_ROUTING, skb, NULL, skb->dev, in __br_forward_finish()
52 NF_HOOK(PF_BRIDGE, NF_BR_LOCAL_OUT, skb, NULL, skb->dev, in __br_deliver()
64 NF_HOOK(PF_BRIDGE, NF_BR_FORWARD, skb, indev, skb->dev, in __br_forward()
Dbr_input.c45 NF_HOOK(PF_BRIDGE, NF_BR_LOCAL_IN, skb, indev, NULL, in br_pass_frame_up()
149 NF_HOOK(PF_BRIDGE, NF_BR_PRE_ROUTING, skb, skb->dev, NULL, in br_handle_frame()
163 NF_HOOK(PF_BRIDGE, NF_BR_LOCAL_IN, skb, skb->dev,NULL, in br_handle_frame()
Dbr_stp_bpdu.c57 NF_HOOK(PF_BRIDGE, NF_BR_LOCAL_OUT, skb, NULL, skb->dev, in br_send_bpdu()
/linux-2.4.37.9/include/linux/
Dnetfilter.h121 #define NF_HOOK nf_hook_slow macro
123 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) \ macro
166 #define NF_HOOK(pf, hook, skb, indev, outdev, okfn) (okfn)(skb) macro
/linux-2.4.37.9/net/ipv6/
Dip6_output.c121 NF_HOOK(PF_INET6, NF_IP6_POST_ROUTING, newskb, NULL, in ip6_output()
134 return NF_HOOK(PF_INET6, NF_IP6_POST_ROUTING, skb,NULL, skb->dev,ip6_output_finish); in ip6_output()
245 return NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, dst->dev, ip6_maybe_reroute); in ip6_xmit()
476 err = NF_HOOK(PF_INET6,NF_IP6_LOCAL_OUT, skb, NULL, dst->dev, ip6_maybe_reroute); in ip6_frag_xmit()
502 return NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, last_skb, NULL,dst->dev, ip6_maybe_reroute); in ip6_frag_xmit()
670 err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, dst->dev, ip6_maybe_reroute); in ip6_build_xmit()
821 return NF_HOOK(PF_INET6,NF_IP6_FORWARD, skb, skb->dev, dst->dev, ip6_forward_finish); in ip6_forward()
Dip6_input.c106 return NF_HOOK(PF_INET6,NF_IP6_PRE_ROUTING, skb, dev, NULL, ip6_rcv_finish); in ipv6_rcv()
212 return NF_HOOK(PF_INET6,NF_IP6_LOCAL_IN, skb, skb->dev, NULL, ip6_input_finish); in ip6_input()
Dmcast.c1297 return NF_HOOK(PF_INET6, NF_IP6_POST_ROUTING, skb, NULL, skb->dev, in mld_dev_queue_xmit()
1314 err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, skb->dev, in mld_sendpack()
1635 err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, skb->dev, in igmp6_send()
/linux-2.4.37.9/net/ipv4/
Dip_output.c156 return NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, in ip_build_and_send_pkt()
194 return NF_HOOK(PF_INET, NF_IP_POST_ROUTING, skb, NULL, dev, in __ip_finish_output()
241 NF_HOOK(PF_INET, NF_IP_POST_ROUTING, newskb, NULL, in ip_mc_output()
257 NF_HOOK(PF_INET, NF_IP_POST_ROUTING, newskb, NULL, in ip_mc_output()
408 return NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, in ip_queue_xmit()
622 err = NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, in ip_build_xmit_slow()
734 err = NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, in ip_build_xmit()
Dip_input.c299 return NF_HOOK(PF_INET, NF_IP_LOCAL_IN, skb, skb->dev, NULL, in ip_local_deliver()
434 return NF_HOOK(PF_INET, NF_IP_PRE_ROUTING, skb, dev, NULL, in ip_rcv()
Dip_forward.c145 return NF_HOOK(PF_INET, NF_IP_FORWARD, skb, skb->dev, dev2, in ip_forward()
Darp.c657 NF_HOOK(NF_ARP, NF_ARP_OUT, skb, NULL, skb->dev, dev_queue_xmit); in arp_xmit()
966 return NF_HOOK(NF_ARP, NF_ARP_IN, skb, dev, NULL, arp_process); in arp_rcv()
Digmp.c343 return NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, skb->dev, in igmpv3_sendpack()
668 return NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, in igmp_send_report()
Dipmr.c1219 NF_HOOK(PF_INET, NF_IP_FORWARD, skb2, skb->dev, dev, in ipmr_queue_xmit()
/linux-2.4.37.9/net/decnet/
Ddn_route.c452 return NF_HOOK(PF_DECnet, NF_DN_PRE_ROUTING, skb, skb->dev, NULL, dn_route_rx_packet); in dn_route_rx_long()
478 return NF_HOOK(PF_DECnet, NF_DN_PRE_ROUTING, skb, skb->dev, NULL, dn_route_rx_packet); in dn_route_rx_short()
569 return NF_HOOK(PF_DECnet, NF_DN_HELLO, skb, skb->dev, NULL, dn_route_ptp_hello); in dn_route_rcv()
573 … return NF_HOOK(PF_DECnet, NF_DN_ROUTE, skb, skb->dev, NULL, dn_route_discard); in dn_route_rcv()
575 return NF_HOOK(PF_DECnet, NF_DN_HELLO, skb, skb->dev, NULL, dn_neigh_router_hello); in dn_route_rcv()
578 return NF_HOOK(PF_DECnet, NF_DN_HELLO, skb, skb->dev, NULL, dn_neigh_endnode_hello); in dn_route_rcv()
627 return NF_HOOK(PF_DECnet, NF_DN_LOCAL_OUT, skb, NULL, dev, neigh->output); in dn_output()
669 return NF_HOOK(PF_DECnet, NF_DN_FORWARD, skb, dev, skb->dev, neigh->output); in dn_forward()
Ddn_neigh.c238 return NF_HOOK(PF_DECnet, NF_DN_POST_ROUTING, skb, NULL, neigh->dev, dn_neigh_output_packet); in dn_long_output()
277 return NF_HOOK(PF_DECnet, NF_DN_POST_ROUTING, skb, NULL, neigh->dev, dn_neigh_output_packet); in dn_short_output()
319 return NF_HOOK(PF_DECnet, NF_DN_POST_ROUTING, skb, NULL, neigh->dev, dn_neigh_output_packet); in dn_phase3_output()
Ddn_nsp_in.c815 return NF_HOOK(PF_DECnet, NF_DN_LOCAL_IN, skb, skb->dev, NULL, dn_nsp_rx_packet); in dn_nsp_rx()
/linux-2.4.37.9/include/net/
Dipip.h37 err = NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, do_ip_send); \
/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_REJECT.c180 NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, nskb, NULL, nskb->dst->dev, in send_reset()
316 NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, nskb, NULL, nskb->dst->dev, in send_unreach()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_conn.c1037 NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev, in ip_vs_dr_xmit()