tag | line | file | source code |
icmph | 97 | net/inet/icmp.c | struct icmphdr *icmph; |
icmph | 199 | net/inet/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
icmph | 200 | net/inet/icmp.c | icmph->type = type; |
icmph | 201 | net/inet/icmp.c | icmph->code = code; |
icmph | 202 | net/inet/icmp.c | icmph->checksum = 0; |
icmph | 203 | net/inet/icmp.c | icmph->un.gateway = 0; |
icmph | 204 | net/inet/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
icmph | 206 | net/inet/icmp.c | icmph->checksum = ip_compute_csum((unsigned char *)icmph, |
icmph | 220 | net/inet/icmp.c | static void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb) |
icmph | 227 | net/inet/icmp.c | err = (icmph->type << 8) | icmph->code; |
icmph | 228 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 230 | net/inet/icmp.c | switch(icmph->code & 7) |
icmph | 275 | net/inet/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
icmph | 289 | net/inet/icmp.c | static void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, |
icmph | 300 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 303 | net/inet/icmp.c | switch(icmph->code & 7) |
icmph | 313 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0); |
icmph | 329 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0); |
icmph | 351 | net/inet/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 396 | net/inet/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 418 | net/inet/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 465 | net/inet/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 495 | net/inet/icmp.c | static void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 508 | net/inet/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 559 | net/inet/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmph | 560 | net/inet/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmph | 581 | net/inet/icmp.c | struct icmphdr *icmph; |
icmph | 597 | net/inet/icmp.c | icmph = (struct icmphdr *) buff; |
icmph | 603 | net/inet/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) |
icmph | 618 | net/inet/icmp.c | if (icmph->type != ICMP_ECHO) |
icmph | 627 | net/inet/icmp.c | switch(icmph->type) |
icmph | 631 | net/inet/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 635 | net/inet/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 639 | net/inet/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 643 | net/inet/icmp.c | icmp_redirect(icmph, skb1, dev, saddr); |
icmph | 647 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 655 | net/inet/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 663 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 671 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |