Home | History | Annotate | Download | only in extensions

Lines Matching refs:info

141 print_item(struct ipt_owner_info *info, u_int8_t flag, int numeric, char *label)
143 if(info->match & flag) {
145 if (info->invert & flag)
150 switch(info->match & flag) {
153 struct passwd *pwd = getpwuid(info->uid);
161 printf("%u ", info->uid);
165 struct group *grp = getgrgid(info->gid);
173 printf("%u ", info->gid);
176 printf("%u ", info->pid);
179 printf("%u ", info->sid);
183 printf("%.*s ", (int)sizeof(info->comm), info->comm);
207 struct ipt_owner_info *info = (struct ipt_owner_info *)match->data;
209 print_item(info, IPT_OWNER_UID, numeric, "OWNER UID match ");
210 print_item(info, IPT_OWNER_GID, numeric, "OWNER GID match ");
211 print_item(info, IPT_OWNER_PID, numeric, "OWNER PID match ");
212 print_item(info, IPT_OWNER_SID, numeric, "OWNER SID match ");
214 print_item(info, IPT_OWNER_COMM, numeric, "OWNER CMD match ");
222 struct ipt_owner_info *info = (struct ipt_owner_info *)match->data;
224 print_item(info, IPT_OWNER_UID, 0, "--uid-owner ");
225 print_item(info, IPT_OWNER_GID, 0, "--gid-owner ");
226 print_item(info, IPT_OWNER_PID, 0, "--pid-owner ");
227 print_item(info, IPT_OWNER_SID, 0, "--sid-owner ");
229 print_item(info, IPT_OWNER_COMM, 0, "--cmd-owner ");