Home
last modified time | relevance | path

Searched refs:NIPQUAD (Results 1 – 25 of 63) sorted by relevance

123

/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_core.c171 NIPQUAD(iph->saddr), ntohs(portp[0]), in ip_vs_sched_persist()
172 NIPQUAD(iph->daddr), ntohs(portp[1]), in ip_vs_sched_persist()
173 NIPQUAD(snet)); in ip_vs_sched_persist()
381 NIPQUAD(cp->caddr), ntohs(cp->cport), in ip_vs_schedule()
382 NIPQUAD(cp->vaddr), ntohs(cp->vport), in ip_vs_schedule()
383 NIPQUAD(cp->daddr), ntohs(cp->dport), in ip_vs_schedule()
530 NIPQUAD(iph->saddr), NIPQUAD(iph->daddr)); in ip_vs_out_icmp()
576 NIPQUAD(iph->saddr)); in ip_vs_out_icmp()
582 NIPQUAD(ciph->saddr), ntohs(pptr[0]), in ip_vs_out_icmp()
583 NIPQUAD(ciph->daddr), ntohs(pptr[1])); in ip_vs_out_icmp()
[all …]
Dip_vs_ftp.c176 NIPQUAD(from), ntohs(port), NIPQUAD(cp->caddr), 0); in ip_vs_ftp_out()
206 sprintf(buf,"%d,%d,%d,%d,%d,%d", NIPQUAD(from), in ip_vs_ftp_out()
296 NIPQUAD(to), ntohs(port)); in ip_vs_ftp_in()
303 NIPQUAD(to), ntohs(port), in ip_vs_ftp_in()
304 NIPQUAD(cp->vaddr), ntohs(cp->vport) - 1); in ip_vs_ftp_in()
Dip_vs_conn.c238 NIPQUAD(s_addr), ntohs(s_port), in ip_vs_conn_in_get()
239 NIPQUAD(d_addr), ntohs(d_port), in ip_vs_conn_in_get()
273 NIPQUAD(s_addr), ntohs(s_port), in ip_vs_ct_in_get()
274 NIPQUAD(d_addr), ntohs(d_port), in ip_vs_ct_in_get()
317 NIPQUAD(s_addr), ntohs(s_port), in ip_vs_conn_out_get()
318 NIPQUAD(d_addr), ntohs(d_port), in ip_vs_conn_out_get()
571 NIPQUAD(cp->daddr), ntohs(cp->dport), in vs_tcp_state()
572 NIPQUAD(cp->caddr), ntohs(cp->cport), in vs_tcp_state()
649 "dest: %u.%u.%u.%u\n", NIPQUAD(iph->daddr)); in ip_vs_bypass_xmit()
746 NIPQUAD(iph->saddr), in ip_vs_nat_xmit()
[all …]
Dip_vs_lblcr.c208 NIPQUAD(least->addr), ntohs(least->port), in ip_vs_dest_set_min()
257 NIPQUAD(most->addr), ntohs(most->port), in ip_vs_dest_set_max()
593 sprintf(tbuf, "%u.%u.%u.%u", NIPQUAD(en->addr)); in ip_vs_lblcr_getinfo()
601 NIPQUAD(d->dest->addr)); in ip_vs_lblcr_getinfo()
751 NIPQUAD(least->addr), ntohs(least->port), in __ip_vs_wlc_schedule()
832 NIPQUAD(en->addr), in ip_vs_lblcr_schedule()
833 NIPQUAD(dest->addr), in ip_vs_lblcr_schedule()
Dip_vs_sh.c219 NIPQUAD(iph->saddr), in ip_vs_sh_schedule()
220 NIPQUAD(dest->addr), in ip_vs_sh_schedule()
Dip_vs_dh.c222 NIPQUAD(iph->daddr), in ip_vs_dh_schedule()
223 NIPQUAD(dest->addr), in ip_vs_dh_schedule()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_conntrack_irc.c150 tcph, tcplen, NIPQUAD(iph->saddr), in help()
151 NIPQUAD(iph->daddr)); in help()
169 NIPQUAD(iph->saddr), ntohs(tcph->source), in help()
170 NIPQUAD(iph->daddr), ntohs(tcph->dest)); in help()
201 NIPQUAD(ct->tuplehash[dir].tuple.src.ip), in help()
229 NIPQUAD(exp->tuple.src.ip), in help()
231 NIPQUAD(exp->tuple.dst.ip), in help()
Dip_nat_tftp.c122 NIPQUAD((*pskb)->nh.iph->saddr), ntohs(udph->source), in tftp_nat_expected()
123 NIPQUAD((*pskb)->nh.iph->daddr), ntohs(udph->dest), in tftp_nat_expected()
124 NIPQUAD(orig->dst.ip)); in tftp_nat_expected()
133 NIPQUAD((*pskb)->nh.iph->saddr), ntohs(udph->source), in tftp_nat_expected()
134 NIPQUAD((*pskb)->nh.iph->daddr), ntohs(udph->dest), in tftp_nat_expected()
135 NIPQUAD(orig->src.ip), ntohs(orig->src.u.udp.port)); in tftp_nat_expected()
Dip_nat_ftp.c55 NIPQUAD(newsrcip), NIPQUAD(newdstip)); in ftp_nat_expected()
61 NIPQUAD(newsrcip), NIPQUAD(newdstip)); in ftp_nat_expected()
69 DEBUGP("nat_expected: IP to %u.%u.%u.%u\n", NIPQUAD(newip)); in ftp_nat_expected()
99 NIPQUAD(newip), port>>8, port&0xFF); in mangle_rfc959_packet()
119 sprintf(buffer, "|1|%u.%u.%u.%u|%u|", NIPQUAD(newip), port); in mangle_eprt_packet()
Dip_nat_irc.c72 NIPQUAD(newsrcip), NIPQUAD(newdstip)); in irc_nat_expected()
79 DEBUGP("nat_expected: IP to %u.%u.%u.%u\n", NIPQUAD(newip)); in irc_nat_expected()
139 buffer, NIPQUAD(newip), port); in irc_data_fixup()
Dipt_TCPMSS.c122 NIPQUAD((*pskb)->nh.iph->saddr), in ipt_tcpmss_target()
124 NIPQUAD((*pskb)->nh.iph->daddr), in ipt_tcpmss_target()
180 NIPQUAD((*pskb)->nh.iph->saddr), in ipt_tcpmss_target()
182 NIPQUAD((*pskb)->nh.iph->daddr), in ipt_tcpmss_target()
Dip_nat_snmp_basic.c947 "%u.%u.%u.%u\n", NIPQUAD(old), NIPQUAD(*addr)); in mangle_address()
1293 NIPQUAD(iph->saddr), ntohs(udph->source), in nat_help()
1294 NIPQUAD(iph->daddr), ntohs(udph->dest), in nat_help()
1295 NIPQUAD(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip), in nat_help()
1296 NIPQUAD(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip), in nat_help()
1297 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.ip), in nat_help()
1298 NIPQUAD(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.ip)); in nat_help()
1316 NIPQUAD(iph->saddr), NIPQUAD(iph->daddr)); in nat_help()
Dipt_LOG.c50 NIPQUAD(iph->saddr), NIPQUAD(iph->daddr)); in dump_packet()
221 printk("GATEWAY=%u.%u.%u.%u ", NIPQUAD(icmph->un.gateway)); in dump_packet()
Dip_conntrack_core.c838 NIPQUAD((*pskb)->nh.iph->saddr), in ip_conntrack_in()
839 NIPQUAD((*pskb)->nh.iph->daddr), in ip_conntrack_in()
1005 NIPQUAD(related_to->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip), in ip_conntrack_expect_related()
1006 NIPQUAD(related_to->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip)); in ip_conntrack_expect_related()
1014 NIPQUAD(related_to->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.ip), in ip_conntrack_expect_related()
1015 NIPQUAD(related_to->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.ip)); in ip_conntrack_expect_related()
1355 NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port)); in getorigdst()
1363 NIPQUAD(tuple.src.ip), ntohs(tuple.src.u.tcp.port), in getorigdst()
1364 NIPQUAD(tuple.dst.ip), ntohs(tuple.dst.u.tcp.port)); in getorigdst()
Dip_nat_core.c211 NIPQUAD(var_ip)); in do_extra_mangle()
322 i, NIPQUAD(*var_ipp)); in find_best_ips_proto()
546 NIPQUAD(mr->range[i].min_ip), in ip_nat_setup_info()
547 NIPQUAD(mr->range[i].max_ip), in ip_nat_setup_info()
784 NIPQUAD(info->manips[i].manip.ip), in do_bindings()
968 ? "DST" : "SRC", NIPQUAD(info->manips[i].manip.ip), in icmp_reply_translation()
981 ? "SRC" : "DST", NIPQUAD(info->manips[i].manip.ip)); in icmp_reply_translation()
Dip_conntrack_ftp.c271 tcph, tcplen, NIPQUAD(iph->saddr), in help()
272 NIPQUAD(iph->daddr)); in help()
354 NIPQUAD(ct->tuplehash[dir].tuple.src.ip)); in help()
Dip_nat_rule.c240 NIPQUAD(ip)); in alloc_null_binding()
261 conntrack, NIPQUAD(ip)); in alloc_null_binding_confirmed()
/linux-2.4.37.9/include/net/
Dip_vs.h630 NIPQUAD(cp->caddr),ntohs(cp->cport), in ip_vs_control_del()
631 NIPQUAD(cp->vaddr),ntohs(cp->vport)); in ip_vs_control_del()
637 NIPQUAD(cp->caddr),ntohs(cp->cport), in ip_vs_control_del()
638 NIPQUAD(ctl_cp->caddr),ntohs(ctl_cp->cport)); in ip_vs_control_del()
644 NIPQUAD(cp->caddr),ntohs(cp->cport), in ip_vs_control_del()
645 NIPQUAD(cp->vaddr),ntohs(cp->vport)); in ip_vs_control_del()
657 NIPQUAD(cp->caddr),ntohs(cp->cport), in ip_vs_control_add()
658 NIPQUAD(cp->vaddr),ntohs(cp->vport)); in ip_vs_control_add()
664 NIPQUAD(cp->caddr),ntohs(cp->cport), in ip_vs_control_add()
665 NIPQUAD(ctl_cp->caddr),ntohs(ctl_cp->cport)); in ip_vs_control_add()
[all …]
/linux-2.4.37.9/net/ipv4/
Dipconfig.c357 sprintf(system_utsname.nodename, "%u.%u.%u.%u", NIPQUAD(ic_myaddr)); in ic_defaults()
371 NIPQUAD(ic_myaddr)); in ic_defaults()
374 printk("IP-Config: Guessing netmask %u.%u.%u.%u\n", NIPQUAD(ic_netmask)); in ic_defaults()
890 NIPQUAD(ic_myaddr)); in ic_bootp_recv()
892 NIPQUAD(ic_servaddr)); in ic_bootp_recv()
1089 NIPQUAD(ic_servaddr)); in ic_dynamic()
1090 printk("my address is %u.%u.%u.%u\n", NIPQUAD(ic_myaddr)); in ic_dynamic()
1120 NIPQUAD(ic_nameservers[i])); in pnp_get_info()
1125 NIPQUAD(ic_servaddr)); in pnp_get_info()
1300 printk(", addr=%u.%u.%u.%u", NIPQUAD(ic_myaddr)); in ip_auto_config()
[all …]
Dicmp.c569 NIPQUAD(iph->daddr)); in icmp_unreach()
578 printk(KERN_INFO "ICMP: %u.%u.%u.%u: Source Route Failed.\n", NIPQUAD(iph->daddr)); in icmp_unreach()
611 NIPQUAD(skb->nh.iph->saddr), in icmp_unreach()
613 NIPQUAD(iph->daddr), in icmp_unreach()
851 NIPQUAD(mask), dev->name, NIPQUAD(rt->rt_src)); in icmp_address_reply()
Droute.c755 NIPQUAD(rt->rt_dst)); in rt_intern_hash()
757 printk(" . %u.%u.%u.%u", NIPQUAD(trt->rt_dst)); in rt_intern_hash()
959 NIPQUAD(old_gw), dev->name, NIPQUAD(new_gw), in ip_rt_redirect()
960 NIPQUAD(saddr), NIPQUAD(daddr), tos); in ip_rt_redirect()
983 NIPQUAD(rt->rt_dst), rt->key.tos); in ipv4_negative_advice()
1048 NIPQUAD(rt->rt_src), rt->rt_iif, in ip_rt_send_redirect()
1049 NIPQUAD(rt->rt_dst), NIPQUAD(rt->rt_gateway)); in ip_rt_send_redirect()
1218 NIPQUAD(skb->nh.iph->saddr), NIPQUAD(skb->nh.iph->daddr), in ip_rt_bug()
1669 NIPQUAD(daddr), NIPQUAD(saddr), dev->name); in ip_route_input_slow()
1690 NIPQUAD(daddr), NIPQUAD(saddr), dev->name); in ip_route_input_slow()
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack_tuple.h85 NIPQUAD((tp)->src.ip), ntohs((tp)->src.u.all), \
86 NIPQUAD((tp)->dst.ip), ntohs((tp)->dst.u.all))
/linux-2.4.37.9/net/sctp/
Dprotocol.c455 __FUNCTION__, NIPQUAD(key.dst), in sctp_v4_get_dst()
456 NIPQUAD(key.src)); in sctp_v4_get_dst()
513 NIPQUAD(rt->rt_dst), NIPQUAD(rt->rt_src)); in sctp_v4_get_dst()
618 seq_printf(seq, "%d.%d.%d.%d ", NIPQUAD(addr->v4.sin_addr)); in sctp_v4_seq_dump_addr()
803 NIPQUAD(((struct rtable *)skb->dst)->rt_src), in sctp_v4_xmit()
804 NIPQUAD(((struct rtable *)skb->dst)->rt_dst)); in sctp_v4_xmit()
/linux-2.4.37.9/include/linux/
Dkernel.h133 #define NIPQUAD(addr) \ macro
146 #define HIPQUAD NIPQUAD
/linux-2.4.37.9/net/sunrpc/
Dpmap_clnt.c99 NIPQUAD(sin->sin_addr.s_addr), prog, vers, prot); in rpc_getport_external()
101 sprintf(hostname, "%u.%u.%u.%u", NIPQUAD(sin->sin_addr.s_addr)); in rpc_getport_external()

123