Searched refs:IPT_DSCP_MASK (Results 1 – 5 of 5) sorted by relevance
34 u_int8_t sh_dscp = ((dinfo->dscp << IPT_DSCP_SHIFT) & IPT_DSCP_MASK); in target()37 if ((iph->tos & IPT_DSCP_MASK) != sh_dscp) { in target()52 iph->tos = (iph->tos & ~IPT_DSCP_MASK) | sh_dscp; in target()
28 u_int8_t sh_dscp = ((info->dscp << IPT_DSCP_SHIFT) & IPT_DSCP_MASK); in match()30 return ((iph->tos&IPT_DSCP_MASK) == sh_dscp) ^ info->invert; in match()
13 #define IPT_DSCP_MASK 0xfc /* 11111100 */ macro
13 #define IPT_ECN_IP_MASK (~IPT_DSCP_MASK)