Home
last modified time | relevance | path

Searched refs:IPT_DSCP_MASK (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_DSCP.c34 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()
Dipt_dscp.c28 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()
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dipt_dscp.h13 #define IPT_DSCP_MASK 0xfc /* 11111100 */ macro
Dipt_ECN.h13 #define IPT_ECN_IP_MASK (~IPT_DSCP_MASK)
Dipt_ecn.h13 #define IPT_ECN_IP_MASK (~IPT_DSCP_MASK)