Searched refs:icmp (Results 1 – 15 of 15) sorted by relevance
/linux-3.4.99/net/ipv4/netfilter/ |
D | nf_conntrack_proto_icmp.c | 36 tuple->dst.u.icmp.type = hp->type; in icmp_pkt_to_tuple() 37 tuple->src.u.icmp.id = hp->un.echo.id; in icmp_pkt_to_tuple() 38 tuple->dst.u.icmp.code = hp->code; in icmp_pkt_to_tuple() 58 if (orig->dst.u.icmp.type >= sizeof(invmap) || in icmp_invert_tuple() 59 !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple() 62 tuple->src.u.icmp.id = orig->src.u.icmp.id; in icmp_invert_tuple() 63 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple() 64 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmp_invert_tuple() 73 tuple->dst.u.icmp.type, in icmp_print_tuple() 74 tuple->dst.u.icmp.code, in icmp_print_tuple() [all …]
|
D | nf_nat_proto_icmp.c | 27 return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) && in icmp_in_range() 28 ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id); in icmp_in_range() 41 range_size = ntohs(range->max.icmp.id) - ntohs(range->min.icmp.id) + 1; in icmp_unique_tuple() 47 tuple->src.u.icmp.id = htons(ntohs(range->min.icmp.id) + in icmp_unique_tuple() 70 hdr->un.echo.id, tuple->src.u.icmp.id, 0); in icmp_manip_pkt() 71 hdr->un.echo.id = tuple->src.u.icmp.id; in icmp_manip_pkt()
|
D | nf_nat_core.c | 413 struct icmphdr icmp; in nf_nat_icmp_reply_translation() member 439 if (inside->icmp.type == ICMP_REDIRECT) { in nf_nat_icmp_reply_translation() 469 if (!manip_pkt(inside->ip.protocol, skb, hdrlen + sizeof(inside->icmp), in nf_nat_icmp_reply_translation() 476 inside->icmp.checksum = 0; in nf_nat_icmp_reply_translation() 477 inside->icmp.checksum = in nf_nat_icmp_reply_translation()
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | nf_conntrack_proto_icmpv6.c | 42 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple() 43 tuple->src.u.icmp.id = hp->icmp6_identifier; in icmpv6_pkt_to_tuple() 44 tuple->dst.u.icmp.code = hp->icmp6_code; in icmpv6_pkt_to_tuple() 71 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple() 75 tuple->src.u.icmp.id = orig->src.u.icmp.id; in icmpv6_invert_tuple() 76 tuple->dst.u.icmp.type = invmap[type] - 1; in icmpv6_invert_tuple() 77 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmpv6_invert_tuple() 86 tuple->dst.u.icmp.type, in icmpv6_print_tuple() 87 tuple->dst.u.icmp.code, in icmpv6_print_tuple() 88 ntohs(tuple->src.u.icmp.id)); in icmpv6_print_tuple() [all …]
|
/linux-3.4.99/include/linux/netfilter/ |
D | nf_conntrack_tuple_common.h | 25 } icmp; member
|
/linux-3.4.99/net/ipv4/ |
D | xfrm4_policy.c | 138 u8 *icmp = xprth; in _decode_session4() local 140 fl4->fl4_icmp_type = icmp[0]; in _decode_session4() 141 fl4->fl4_icmp_code = icmp[1]; in _decode_session4()
|
D | Makefile | 12 arp.o icmp.o devinet.o af_inet.o igmp.o \
|
/linux-3.4.99/net/ipv6/ |
D | xfrm6_policy.c | 173 u8 *icmp = (u8 *)exthdr; in _decode_session6() local 175 fl6->fl6_icmp_type = icmp[0]; in _decode_session6() 176 fl6->fl6_icmp_code = icmp[1]; in _decode_session6()
|
D | Makefile | 10 raw.o protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
|
/linux-3.4.99/net/openvswitch/ |
D | flow.c | 503 struct icmp6hdr *icmp = icmp6_hdr(skb); in parse_icmpv6() local 510 key->ipv6.tp.src = htons(icmp->icmp6_type); in parse_icmpv6() 511 key->ipv6.tp.dst = htons(icmp->icmp6_code); in parse_icmpv6() 514 if (icmp->icmp6_code == 0 && in parse_icmpv6() 515 (icmp->icmp6_type == NDISC_NEIGHBOUR_SOLICITATION || in parse_icmpv6() 516 icmp->icmp6_type == NDISC_NEIGHBOUR_ADVERTISEMENT)) { in parse_icmpv6() 693 struct icmphdr *icmp = icmp_hdr(skb); in ovs_flow_extract() local 697 key->ipv4.tp.src = htons(icmp->type); in ovs_flow_extract() 698 key->ipv4.tp.dst = htons(icmp->code); in ovs_flow_extract()
|
/linux-3.4.99/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 54 } icmp; member
|
/linux-3.4.99/Documentation/networking/ |
D | ipvs-sysctl.txt | 136 It controls sending icmp error messages (ICMP_DEST_UNREACH)
|
D | ip-sysctl.txt | 680 Bit definitions (see include/linux/icmp.h): 706 If zero, icmp error messages are sent with the primary address of 710 the interface that received the packet that caused the icmp error. 1262 icmp/*:
|
/linux-3.4.99/include/linux/ |
D | Kbuild | 159 header-y += icmp.h
|
/linux-3.4.99/Documentation/ |
D | devices.txt | 732 33 = /dev/inet/icmp 745 /dev/icmp -> /dev/inet/icmp
|