em_meta.c (f43dc23d5ea91fca257be02138a255f02d98e806) | em_meta.c (c7066f70d9610df0b9406cc635fc09e86136e714) |
---|---|
1/* 2 * net/sched/em_meta.c Metadata ematch 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 * --- 241 unchanged lines hidden (view full) --- 250 * Routing 251 **************************************************************************/ 252 253META_COLLECTOR(int_rtclassid) 254{ 255 if (unlikely(skb_dst(skb) == NULL)) 256 *err = -1; 257 else | 1/* 2 * net/sched/em_meta.c Metadata ematch 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 * --- 241 unchanged lines hidden (view full) --- 250 * Routing 251 **************************************************************************/ 252 253META_COLLECTOR(int_rtclassid) 254{ 255 if (unlikely(skb_dst(skb) == NULL)) 256 *err = -1; 257 else |
258#ifdef CONFIG_NET_CLS_ROUTE | 258#ifdef CONFIG_IP_ROUTE_CLASSID |
259 dst->value = skb_dst(skb)->tclassid; 260#else 261 dst->value = 0; 262#endif 263} 264 265META_COLLECTOR(int_rtiif) 266{ --- 619 unchanged lines hidden --- | 259 dst->value = skb_dst(skb)->tclassid; 260#else 261 dst->value = 0; 262#endif 263} 264 265META_COLLECTOR(int_rtiif) 266{ --- 619 unchanged lines hidden --- |