Home | History | Annotate | Download | only in extensions

Lines Matching refs:info

96 	struct ipt_tos_target_info *info = cb->data;
103 info->tos = cb->val.tos_value;
108 struct xt_tos_target_info *info = cb->data;
113 info->tos_value = cb->val.tos_value;
114 info->tos_mask = cb->val.tos_mask;
117 info->tos_value = 0;
118 info->tos_mask = ~cb->val.u8;
121 info->tos_value = cb->val.u8;
122 info->tos_mask = cb->val.u8;
125 info->tos_value = cb->val.u8;
126 info->tos_mask = 0;
141 const struct ipt_tos_target_info *info = (const void *)target->data;
144 if (numeric || !tos_try_print_symbolic("", info->tos, 0xFF))
145 printf("0x%02x", info->tos);
151 const struct xt_tos_target_info *info = (const void *)target->data;
155 info->tos_value, info->tos_mask);
157 info->tos_value, info->tos_mask))
160 else if (info->tos_value == 0)
162 (unsigned int)(uint8_t)~info->tos_mask);
163 else if (info->tos_value == info->tos_mask)
164 printf(" TOS or 0x%02x", info->tos_value);
165 else if (info->tos_mask == 0)
166 printf(" TOS xor 0x%02x", info->tos_value);
169 info->tos_value, info->tos_mask);
174 const struct ipt_tos_target_info *info = (const void *)target->data;
176 printf(" --set-tos 0x%02x", info->tos);
181 const struct xt_tos_target_info *info = (const void *)target->data;
183 printf(" --set-tos 0x%02x/0x%02x", info->tos_value, info->tos_mask);