Home
last modified time | relevance | path

Searched refs:icmp (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_proto_icmp.c18 return (tuple->src.u.icmp.id >= min->icmp.id in icmp_in_range()
19 && tuple->src.u.icmp.id <= max->icmp.id); in icmp_in_range()
32 range_size = ntohs(range->max.icmp.id) - ntohs(range->min.icmp.id) + 1; in icmp_unique_tuple()
38 tuple->src.u.icmp.id = htons(ntohs(range->min.icmp.id) + in icmp_unique_tuple()
54 manip->u.icmp.id, in icmp_manip_pkt()
56 hdr->un.echo.id = manip->u.icmp.id; in icmp_manip_pkt()
66 if (mask->src.u.icmp.id) in icmp_print()
68 ntohs(match->src.u.icmp.id)); in icmp_print()
70 if (mask->dst.u.icmp.type) in icmp_print()
72 ntohs(match->dst.u.icmp.type)); in icmp_print()
[all …]
Dip_conntrack_proto_icmp.c22 tuple->dst.u.icmp.type = hdr->type; in icmp_pkt_to_tuple()
23 tuple->src.u.icmp.id = hdr->un.echo.id; in icmp_pkt_to_tuple()
24 tuple->dst.u.icmp.code = hdr->code; in icmp_pkt_to_tuple()
43 if (orig->dst.u.icmp.type >= sizeof(invmap) in icmp_invert_tuple()
44 || !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple()
47 tuple->src.u.icmp.id = orig->src.u.icmp.id; in icmp_invert_tuple()
48 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple()
49 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmp_invert_tuple()
58 tuple->dst.u.icmp.type, in icmp_print_tuple()
59 tuple->dst.u.icmp.code, in icmp_print_tuple()
[all …]
Dip_tables.c1653 const struct icmphdr *icmp = hdr; in icmp_match() local
1669 icmp->type, icmp->code, in icmp_match()
Dipchains_core.c584 struct icmphdr *icmp=(struct icmphdr *)((__u32 *)ip+ip->ihl); in ip_fw_check() local
690 src_port=(__u16)icmp->type; in ip_fw_check()
691 dst_port=(__u16)icmp->code; in ip_fw_check()
Dipfwadm_core.c317 struct icmphdr *icmp=(struct icmphdr *)((__u32 *)ip+ip->ihl); in ip_fw_chk() local
423 icmp_type=(__u16)(icmp->type); in ip_fw_chk()
/linux-2.4.37.9/Documentation/networking/
Dethertap.txt205 struct icmphdr *icmp
207 struct tcphdr *tcp = (void *)icmp;
208 struct udphdr *udp = (void *)icmp;
222 if (icmp->type == ICMP_ECHO) {
224 (unsigned int)((char *)icmp
232 icmp->type = ICMP_ECHOREPLY;
233 icmp->checksum = 0;
234 icmp->checksum
235 = ~csum_partial(icmp,
Dip-sysctl.txt372 Bit definitions (see include/linux/icmp.h):
705 icmp/*:
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack_tuple.h27 } icmp; member
57 } icmp; member
Dip_conntrack.h58 struct ip_ct_icmp icmp; member
/linux-2.4.37.9/net/ipv6/
DMakefile14 protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
/linux-2.4.37.9/net/ipv4/
DMakefile18 tcp_diag.o raw.o udp.o arp.o icmp.o devinet.o af_inet.o igmp.o \
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_tables.c1734 const struct icmp6hdr *icmp = hdr; in icmp6_match() local
1750 icmp->icmp6_type, icmp->icmp6_code, in icmp6_match()
/linux-2.4.37.9/Documentation/
Ddevices.txt709 2 = /dev/inet/icmp Network access