Searched refs:tos (Results 1 - 25 of 92) sorted by relevance

1234

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv4/
H A Dipt_TOS.h9 u_int8_t tos; member in struct:ipt_tos_target_info
H A Dipt_tos.h5 u_int8_t tos; member in struct:ipt_tos_info
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv4/
H A Dipt_TOS.h9 u_int8_t tos; member in struct:ipt_tos_target_info
H A Dipt_tos.h5 u_int8_t tos; member in struct:ipt_tos_info
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_TOS.c21 if ((iph->tos & IPTOS_TOS_MASK) != tosinfo->tos) {
35 diffs[0] = htons(iph->tos) ^ 0xFFFF;
36 iph->tos = (iph->tos & IPTOS_PREC_MASK) | tosinfo->tos;
37 diffs[1] = htons(iph->tos);
53 const u_int8_t tos = ((struct ipt_tos_target_info *)targinfo)->tos; local
67 if (tos !
[all...]
H A Dipt_DSCP.c37 if ((iph->tos & IPT_DSCP_MASK) != sh_dscp) {
51 diffs[0] = htons(iph->tos) ^ 0xFFFF;
52 iph->tos = (iph->tos & ~IPT_DSCP_MASK) | sh_dscp;
53 diffs[1] = htons(iph->tos);
H A Dipt_tos.c21 return (iph->tos == info->tos) ^ info->invert;
38 = { { NULL, NULL }, "tos", &match, &checkentry, NULL, THIS_MODULE };
H A Dipt_ECN.c28 if ((iph->tos & IPT_ECN_IP_MASK)
43 diffs[0] = htons(iph->tos) ^ 0xFFFF;
44 iph->tos = iph->tos & ~IPT_ECN_IP_MASK;
45 iph->tos = iph->tos | (einfo->ip_ect & IPT_ECN_IP_MASK);
46 diffs[1] = htons(iph->tos);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dipt_TOS.c21 if ((iph->tos & IPTOS_TOS_MASK) != tosinfo->tos) {
35 diffs[0] = htons(iph->tos) ^ 0xFFFF;
36 iph->tos = (iph->tos & IPTOS_PREC_MASK) | tosinfo->tos;
37 diffs[1] = htons(iph->tos);
53 const u_int8_t tos = ((struct ipt_tos_target_info *)targinfo)->tos; local
67 if (tos !
[all...]
H A Dipt_DSCP.c37 if ((iph->tos & IPT_DSCP_MASK) != sh_dscp) {
51 diffs[0] = htons(iph->tos) ^ 0xFFFF;
52 iph->tos = (iph->tos & ~IPT_DSCP_MASK) | sh_dscp;
53 diffs[1] = htons(iph->tos);
H A Dipt_tos.c21 return (iph->tos == info->tos) ^ info->invert;
38 = { { NULL, NULL }, "tos", &match, &checkentry, NULL, THIS_MODULE };
H A Dipt_ECN.c28 if ((iph->tos & IPT_ECN_IP_MASK)
43 diffs[0] = htons(iph->tos) ^ 0xFFFF;
44 iph->tos = iph->tos & ~IPT_ECN_IP_MASK;
45 iph->tos = iph->tos | (einfo->ip_ect & IPT_ECN_IP_MASK);
46 diffs[1] = htons(iph->tos);
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A Dlibipt_TOS.c13 struct ipt_tos_target_info tos; member in struct:tosinfo
38 " --set-tos value Set Type of Service field to one of the\n"
51 { "set-tos", 1, 0, '1' },
64 unsigned int i, tos; local
66 if (string_to_number(s, 0, 255, &tos) != -1) {
67 if (tos == IPTOS_LOWDELAY
68 || tos == IPTOS_THROUGHPUT
69 || tos == IPTOS_RELIABILITY
70 || tos == IPTOS_MINCOST
71 || tos
120 print_tos(u_int8_t tos, int numeric) argument
157 struct iptables_target tos variable in typeref:struct:iptables_target
[all...]
H A Dlibipt_tos.c33 "[!] --tos value Match Type of Service field from one of the\n"
46 { "tos", 1, 0, '1' },
61 unsigned int tos; local
63 if (string_to_number(s, 0, 255, &tos) != -1) {
64 if (tos == IPTOS_LOWDELAY
65 || tos == IPTOS_THROUGHPUT
66 || tos == IPTOS_RELIABILITY
67 || tos == IPTOS_MINCOST
68 || tos == IPTOS_NORMALSVC) {
69 info->tos
108 print_tos(u_int8_t tos, int invert, int numeric) argument
155 struct iptables_match tos variable in typeref:struct:iptables_match
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dip.h24 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK)
31 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK)
42 #define IPTOS_DSCP(tos) ((tos&IPTOS_DSCP_MASK))
128 __u8 tos; member in struct:iphdr
H A Din_route.h30 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Droute.h46 #define RT_CONN_FLAGS(sk) (RT_TOS(sk->protinfo.af_inet.tos) | sk->localroute)
57 __u8 tos; member in struct:rt_key
124 u32 src, u8 tos, struct net_device *dev);
128 extern int ip_route_input(struct sk_buff*, u32 dst, u32 src, u8 tos, struct net_device *devin);
141 u32 daddr, u32 saddr, u32 tos, int oif)
143 struct rt_key key = { dst:daddr, src:saddr, oif:oif, tos:tos };
159 static inline char rt_tos2priority(u8 tos) argument
161 return ip_tos2prio[IPTOS_TOS(tos)>>1];
164 static inline int ip_route_connect(struct rtable **rp, u32 dst, u32 src, u32 tos, in argument
140 ip_route_output(struct rtable **rp, u32 daddr, u32 saddr, u32 tos, int oif) argument
[all...]
H A Ddsfield.h17 return iph->tos;
33 dsfield = (iph->tos & mask) | value;
34 check += iph->tos;
39 iph->tos = dsfield;
H A Dinet_ecn.h27 #define INET_ECN_xmit(sk) do { (sk)->protinfo.af_inet.tos |= 2; } while (0)
28 #define INET_ECN_dontxmit(sk) do { (sk)->protinfo.af_inet.tos &= ~3; } while (0)
35 if (INET_ECN_is_capable((sk)->protinfo.af_inet.tos)) \
44 iph->tos |= 1;
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Droute.h46 #define RT_CONN_FLAGS(sk) (RT_TOS(sk->protinfo.af_inet.tos) | sk->localroute)
57 __u8 tos; member in struct:rt_key
124 u32 src, u8 tos, struct net_device *dev);
128 extern int ip_route_input(struct sk_buff*, u32 dst, u32 src, u8 tos, struct net_device *devin);
141 u32 daddr, u32 saddr, u32 tos, int oif)
143 struct rt_key key = { dst:daddr, src:saddr, oif:oif, tos:tos };
159 static inline char rt_tos2priority(u8 tos) argument
161 return ip_tos2prio[IPTOS_TOS(tos)>>1];
164 static inline int ip_route_connect(struct rtable **rp, u32 dst, u32 src, u32 tos, in argument
140 ip_route_output(struct rtable **rp, u32 daddr, u32 saddr, u32 tos, int oif) argument
[all...]
H A Ddsfield.h17 return iph->tos;
33 dsfield = (iph->tos & mask) | value;
34 check += iph->tos;
39 iph->tos = dsfield;
H A Dinet_ecn.h27 #define INET_ECN_xmit(sk) do { (sk)->protinfo.af_inet.tos |= 2; } while (0)
28 #define INET_ECN_dontxmit(sk) do { (sk)->protinfo.af_inet.tos &= ~3; } while (0)
35 if (INET_ECN_is_capable((sk)->protinfo.af_inet.tos)) \
44 iph->tos |= 1;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Din_route.h30 #define RT_TOS(tos) ((tos)&IPTOS_TOS_MASK)
H A Dip.h24 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK)
31 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK)
126 __u8 tos; member in struct:iphdr
/asus-wl-520gu-7.0.1.45/src/router/iproute2/examples/diffserv/
H A DEdge32-ca-u3258 match ip tos 0x88 0xfc \
62 match ip tos 0x88 0xfc \
71 match ip tos 0x88 0xfc \
75 match ip tos 0x88 0xfc \
83 match ip tos 0x88 0xfc \
87 match ip tos 0x88 0xfc \
98 match ip tos 0x90 0xfc \
102 match ip tos 0x90 0xfc \
110 match ip tos 0x90 0xfc \
114 match ip tos
[all...]

Completed in 95 milliseconds

1234