Not used. pedit sets TC_MUNGED when packet content was altered, but all the core does is unset MUNGED again and then set OK2MUNGE. And the latter isn't tested anywhere. So lets remove both TC_MUNGED and TC_OK2MUNGE.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -35,6 +35,8 @@ bits 9,10,11: redirect counter - redirect TTL. Loop avoidance · 34 unmodified lines | ||
| 35 | 35 | * |
| 36 | 36 | * */ |
| 37 | 37 | |
| 38 | +#ifndef __KERNEL__ | |
| 39 | +/* backwards compat for userspace only */ | |
| 38 | 40 | #define TC_MUNGED _TC_MAKEMASK1(0) |
| 39 | 41 | #define SET_TC_MUNGED(v) ( TC_MUNGED | (v & ~TC_MUNGED)) |
| 40 | 42 | #define CLR_TC_MUNGED(v) ( v & ~TC_MUNGED) |
| @@ -42,6 +44,7 @@ bits 9,10,11: redirect counter - redirect TTL. Loop avoidance · 1 unmodified line | ||
| 42 | 44 | #define TC_OK2MUNGE _TC_MAKEMASK1(1) |
| 43 | 45 | #define SET_TC_OK2MUNGE(v) ( TC_OK2MUNGE | (v & ~TC_OK2MUNGE)) |
| 44 | 46 | #define CLR_TC_OK2MUNGE(v) ( v & ~TC_OK2MUNGE) |
| 47 | +#endif | |
| 45 | 48 | |
| 46 | 49 | #define S_TC_VERD _TC_MAKE32(2) |
| 47 | 50 | #define M_TC_VERD _TC_MAKEMASK(4,S_TC_VERD) |