typedef enum
{
+ IP_PMTU_FRAG_ICMP_ERROR,
IP_PMTU_DROP,
IP_PMTU_N_NEXT,
} ip_pmtu_next_t;
p0, ICMP4_destination_unreachable,
ICMP4_destination_unreachable_fragmentation_needed_and_dont_fragment_set,
ipm0->ipm_pmtu);
- next0 = IP_FRAG_NEXT_ICMP_ERROR;
+ next0 = IP_PMTU_FRAG_ICMP_ERROR;
}
else
{
- next0 =
- (error0 == IP_FRAG_ERROR_NONE ? next0 : IP_FRAG_NEXT_DROP);
+ next0 = (error0 == IP_FRAG_ERROR_NONE ? next0 : IP_PMTU_DROP);
}
if (error0 == IP_FRAG_ERROR_NONE)
.n_next_nodes = IP_PMTU_N_NEXT,
.next_nodes =
{
+ [IP_PMTU_FRAG_ICMP_ERROR] = "ip4-icmp-error",
[IP_PMTU_DROP] = "ip4-drop",
}
};
.n_next_nodes = IP_PMTU_N_NEXT,
.next_nodes =
{
+ [IP_PMTU_FRAG_ICMP_ERROR] = "ip6-icmp-error",
[IP_PMTU_DROP] = "ip6-drop",
}
};