search for: icmp_dest_unreach

Displaying 3 results from an estimated 3 matches for "icmp_dest_unreach".

2003 Oct 03
0
SIGBUS on SPARCv9
...icmp *)(packet->data + 14 + 20); /* Remember original source and destination */ @@ -217,7 +219,9 @@ memcpy(&hdr->ip_dst, &ip_src, 4); hdr->ip_sum = inet_checksum(hdr, 20, ~0); - + + memcpy(phdr, hdr, sizeof(*phdr)); + /* Fill in ICMP header */ icmp->icmp_type = ICMP_DEST_UNREACH;
2002 May 08
0
Security Advisory
...+#if 0 static void send_unreach(struct sk_buff *skb_in, int code) { struct iphdr *iph; @@ -270,6 +272,12 @@ NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, nskb, NULL, nskb->dst->dev, ip_finish_output); }=09 +#else +static void send_unreach(struct sk_buff *skb_in, int code) +{ + icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); +} +#endif =20 static unsigned int reject(struct sk_buff **pskb, unsigned int hooknum, diff -urN linux-2.4.19-pre6.orig/net/ipv4/raw.c linux-2.4.19-pre6-nf-01/net= /ipv4/raw.c --- linux-2.4.19-pre6.orig/net/ipv4/raw.c Sun Apr 7 15:27:29 2002 +++ linux-2.4.19-pre6-nf-01/net/ipv4/...
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...t) { c = node2->data; - if(c->status.active) + if(c->status.st.active) send_del_subnet(c, s); } @@ -346,7 +346,7 @@ return; } - if(!subnet->owner->status.reachable) + if(!subnet->owner->status.st.reachable) route_ipv4_unreachable(source, packet, ICMP_DEST_UNREACH, ICMP_NET_UNREACH); if(priorityinheritance) @@ -490,7 +490,7 @@ return; } - if(!subnet->owner->status.reachable) + if(!subnet->owner->status.st.reachable) route_ipv6_unreachable(source, packet, ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_NOROUTE); via = (subnet->owner->...