Searched refs:icmp (Results 1 – 13 of 13) sorted by relevance
18 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 …]
22 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 …]
1653 const struct icmphdr *icmp = hdr; in icmp_match() local1669 icmp->type, icmp->code, in icmp_match()
584 struct icmphdr *icmp=(struct icmphdr *)((__u32 *)ip+ip->ihl); in ip_fw_check() local690 src_port=(__u16)icmp->type; in ip_fw_check()691 dst_port=(__u16)icmp->code; in ip_fw_check()
317 struct icmphdr *icmp=(struct icmphdr *)((__u32 *)ip+ip->ihl); in ip_fw_chk() local423 icmp_type=(__u16)(icmp->type); in ip_fw_chk()
205 struct icmphdr *icmp207 struct tcphdr *tcp = (void *)icmp;208 struct udphdr *udp = (void *)icmp;222 if (icmp->type == ICMP_ECHO) {224 (unsigned int)((char *)icmp232 icmp->type = ICMP_ECHOREPLY;233 icmp->checksum = 0;234 icmp->checksum235 = ~csum_partial(icmp,
372 Bit definitions (see include/linux/icmp.h):705 icmp/*:
27 } icmp; member57 } icmp; member
58 struct ip_ct_icmp icmp; member
14 protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
18 tcp_diag.o raw.o udp.o arp.o icmp.o devinet.o af_inet.o igmp.o \
1734 const struct icmp6hdr *icmp = hdr; in icmp6_match() local1750 icmp->icmp6_type, icmp->icmp6_code, in icmp6_match()
709 2 = /dev/inet/icmp Network access