Commit dfc473ca authored by thomasl's avatar thomasl

iremove 2.6.22 kernel conditional compil


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6085 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 4ace2239
......@@ -174,7 +174,6 @@ ip_traffic_type_t oai_nw_drv_find_traffic_type(struct sk_buff *skb) {
case ETH_P_IP:
traffic_type = TRAFFIC_IPV4_TYPE_UNKNOWN;
#ifdef KERNEL_VERSION_GREATER_THAN_2622
//print_TOOL_pk_ipv4((struct iphdr *)skb->network_header);
if (IN_MULTICAST(htonl(ip_hdr(skb)->daddr))) {
traffic_type = TRAFFIC_IPV4_TYPE_MULTICAST;
......@@ -183,15 +182,6 @@ ip_traffic_type_t oai_nw_drv_find_traffic_type(struct sk_buff *skb) {
}
// TO DO BROADCAST
#else
//print_TOOL_pk_ipv4(skb->nh.iph);
if (IN_MULTICAST(htonl(ip_hdr(skb)->daddr))) {
traffic_type = TRAFFIC_IPV4_TYPE_MULTICAST;
} else {
traffic_type = TRAFFIC_IPV4_TYPE_UNICAST;
}
// TO DO BROADCAST
#endif
break;
case ETH_P_ARP:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment