• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/

Lines Matching refs:icmph

106 		struct icmphdr icmph;
342 if (icmp_pointers[icmp_param->data.icmph.type].error)
358 struct icmphdr *icmph = icmp_hdr(skb);
366 (char *)icmph,
368 icmph->checksum = csum_fold(csum);
392 icmp_param->data.icmph.checksum = 0;
393 icmp_out_count(icmp_param->data.icmph.type);
413 if (icmpv4_xrlim_allow(rt, icmp_param->data.icmph.type,
414 icmp_param->data.icmph.code))
541 icmp_param.data.icmph.type = type;
542 icmp_param.data.icmph.code = code;
543 icmp_param.data.icmph.un.gateway = info;
544 icmp_param.data.icmph.checksum = 0;
547 icmp_out_count(icmp_param.data.icmph.type);
608 struct icmphdr *icmph;
623 icmph = icmp_hdr(skb);
629 if (icmph->type == ICMP_DEST_UNREACH) {
630 switch (icmph->code & 15) {
644 ntohs(icmph->un.frag.mtu));
657 if (icmph->code > NR_ICMP_UNREACH)
659 } else if (icmph->type == ICMP_PARAMETERPROB)
660 info = ntohl(icmph->un.gateway) >> 24;
687 icmph->type, icmph->code,
790 icmp_param.data.icmph = *icmp_hdr(skb);
791 icmp_param.data.icmph.type = ICMP_ECHOREPLY;
826 icmp_param.data.icmph = *icmp_hdr(skb);
827 icmp_param.data.icmph.type = ICMP_TIMESTAMPREPLY;
828 icmp_param.data.icmph.code = 0;
930 struct icmphdr *icmph;
949 icmph = icmp_hdr(skb);
957 if (icmph->type > NR_ICMP_TYPES)
972 if ((icmph->type == ICMP_ECHO ||
973 icmph->type == ICMP_TIMESTAMP) &&
977 if (icmph->type != ICMP_ECHO &&
978 icmph->type != ICMP_TIMESTAMP &&
979 icmph->type != ICMP_ADDRESS &&
980 icmph->type != ICMP_ADDRESSREPLY) {
985 ICMP_INC_STATS_BH(icmp_pointers[icmph->type].input_entry);
986 icmp_pointers[icmph->type].handler(skb);