tag | line | file | source code |
icmph | 170 | net/ipv4/icmp.c | struct icmphdr *icmph; |
icmph | 217 | net/ipv4/icmp.c | icmph = (struct icmphdr *) ((char *) iph + |
icmph | 224 | net/ipv4/icmp.c | if (icmph->type == ICMP_DEST_UNREACH || |
icmph | 225 | net/ipv4/icmp.c | icmph->type == ICMP_SOURCE_QUENCH || |
icmph | 226 | net/ipv4/icmp.c | icmph->type == ICMP_REDIRECT || |
icmph | 227 | net/ipv4/icmp.c | icmph->type == ICMP_TIME_EXCEEDED || |
icmph | 228 | net/ipv4/icmp.c | icmph->type == ICMP_PARAMETERPROB) |
icmph | 328 | net/ipv4/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
icmph | 329 | net/ipv4/icmp.c | icmph->type = type; |
icmph | 330 | net/ipv4/icmp.c | icmph->code = code; |
icmph | 331 | net/ipv4/icmp.c | icmph->checksum = 0; |
icmph | 332 | net/ipv4/icmp.c | icmph->un.gateway = info; /* This might not be meant for |
icmph | 338 | net/ipv4/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
icmph | 340 | net/ipv4/icmp.c | icmph->checksum = ip_compute_csum((unsigned char *)icmph, |
icmph | 354 | net/ipv4/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb) |
icmph | 361 | net/ipv4/icmp.c | err = (icmph->type << 8) | icmph->code; |
icmph | 362 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 364 | net/ipv4/icmp.c | switch(icmph->code & 7) |
icmph | 419 | net/ipv4/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
icmph | 433 | net/ipv4/icmp.c | static void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, |
icmph | 446 | net/ipv4/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 455 | net/ipv4/icmp.c | switch(icmph->code & 7) |
icmph | 465 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0); |
icmph | 481 | net/ipv4/icmp.c | ((icmph->un.gateway^dev->pa_addr)&dev->pa_mask) || |
icmph | 482 | net/ipv4/icmp.c | ip_chk_addr(icmph->un.gateway)) |
icmph | 486 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0, 0); |
icmph | 508 | net/ipv4/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 553 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 581 | net/ipv4/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 636 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, 12); |
icmph | 666 | net/ipv4/icmp.c | static void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 687 | net/ipv4/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 739 | net/ipv4/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmph | 740 | net/ipv4/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmph | 761 | net/ipv4/icmp.c | struct icmphdr *icmph; |
icmph | 777 | net/ipv4/icmp.c | icmph = (struct icmphdr *) buff; |
icmph | 783 | net/ipv4/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) |
icmph | 798 | net/ipv4/icmp.c | if (icmph->type != ICMP_ECHO) |
icmph | 812 | net/ipv4/icmp.c | switch(icmph->type) |
icmph | 816 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 820 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 824 | net/ipv4/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 828 | net/ipv4/icmp.c | icmp_redirect(icmph, skb1, dev, saddr); |
icmph | 832 | net/ipv4/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 840 | net/ipv4/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 851 | net/ipv4/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 859 | net/ipv4/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |