Lines Matching defs:id
95 {.name = "uid-owner", .id = O_USER, .type = XTTYPE_STRING,
97 {.name = "gid-owner", .id = O_GROUP, .type = XTTYPE_STRING,
99 {.name = "pid-owner", .id = O_PROCESS, .type = XTTYPE_UINT32,
102 {.name = "sid-owner", .id = O_SESSION, .type = XTTYPE_UINT32,
105 {.name = "cmd-owner", .id = O_COMM, .type = XTTYPE_STRING,
113 {.name = "uid-owner", .id = O_USER, .type = XTTYPE_STRING,
115 {.name = "gid-owner", .id = O_GROUP, .type = XTTYPE_STRING,
117 {.name = "pid-owner", .id = O_PROCESS, .type = XTTYPE_UINT32,
120 {.name = "sid-owner", .id = O_SESSION, .type = XTTYPE_UINT32,
128 {.name = "uid-owner", .id = O_USER, .type = XTTYPE_STRING,
130 {.name = "gid-owner", .id = O_GROUP, .type = XTTYPE_STRING,
132 {.name = "socket-exists", .id = O_SOCK_EXISTS, .type = XTTYPE_NONE,
142 unsigned int id;
145 switch (cb->entry->id) {
148 id = pwd->pw_uid;
149 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1))
154 info->uid = id;
158 id = grp->gr_gid;
159 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1))
164 info->gid = id;
189 unsigned int id;
192 switch (cb->entry->id) {
195 id = pwd->pw_uid;
196 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1))
201 info->uid = id;
205 id = grp->gr_gid;
206 else if (!xtables_strtoui(cb->arg, NULL, &id, 0, UINT32_MAX - 1))
211 info->gid = id;
250 switch (cb->entry->id) {