Home | History | Annotate | Download | only in extensions

Lines Matching full:info

140 print_item(struct ip6t_owner_info *info, u_int8_t flag, int numeric, char *label)
142 if(info->match & flag) {
144 if (info->invert & flag)
149 switch(info->match & flag) {
152 struct passwd *pwd = getpwuid(info->uid);
160 printf("%u ", info->uid);
164 struct group *grp = getgrgid(info->gid);
172 printf("%u ", info->gid);
175 printf("%u ", info->pid);
178 printf("%u ", info->sid);
182 printf("%.*s ", (int)sizeof(info->comm), info->comm);
206 struct ip6t_owner_info *info = (struct ip6t_owner_info *)match->data;
208 print_item(info, IP6T_OWNER_UID, numeric, "OWNER UID match ");
209 print_item(info, IP6T_OWNER_GID, numeric, "OWNER GID match ");
210 print_item(info, IP6T_OWNER_PID, numeric, "OWNER PID match ");
211 print_item(info, IP6T_OWNER_SID, numeric, "OWNER SID match ");
213 print_item(info, IP6T_OWNER_COMM, numeric, "OWNER CMD match ");
221 struct ip6t_owner_info *info = (struct ip6t_owner_info *)match->data;
223 print_item(info, IP6T_OWNER_UID, 0, "--uid-owner ");
224 print_item(info, IP6T_OWNER_GID, 0, "--gid-owner ");
225 print_item(info, IP6T_OWNER_PID, 0, "--pid-owner ");
226 print_item(info, IP6T_OWNER_SID, 0, "--sid-owner ");
228 print_item(info, IP6T_OWNER_COMM, 0, "--cmd-owner ");