Lines Matching refs:me

201 static void xtables_fully_register_pending_match(struct xtables_match *me);
202 static void xtables_fully_register_pending_target(struct xtables_target *me);
847 void xtables_register_match(struct xtables_match *me) in xtables_register_match() argument
849 if (me->version == NULL) { in xtables_register_match()
851 xt_params->program_name, me->name, me->revision); in xtables_register_match()
854 if (strcmp(me->version, XTABLES_VERSION) != 0) { in xtables_register_match()
857 xt_params->program_name, me->name, in xtables_register_match()
858 me->version, XTABLES_VERSION); in xtables_register_match()
862 if (strlen(me->name) >= XT_EXTENSION_MAXNAMELEN) { in xtables_register_match()
864 xt_params->program_name, me->name); in xtables_register_match()
868 if (me->family >= NPROTO) { in xtables_register_match()
871 xt_params->program_name, me->name); in xtables_register_match()
875 if (me->x6_options != NULL) in xtables_register_match()
876 xtables_option_metavalidate(me->name, me->x6_options); in xtables_register_match()
877 if (me->extra_opts != NULL) in xtables_register_match()
878 xtables_check_options(me->name, me->extra_opts); in xtables_register_match()
881 if (me->family != afinfo->family && me->family != AF_UNSPEC) in xtables_register_match()
885 me->next = xtables_pending_matches; in xtables_register_match()
886 xtables_pending_matches = me; in xtables_register_match()
950 static void xtables_fully_register_pending_match(struct xtables_match *me) in xtables_fully_register_pending_match() argument
956 old = xtables_find_match(me->name, XTF_DURING_LOAD, NULL); in xtables_fully_register_pending_match()
958 compare = xtables_match_prefer(old, me); in xtables_fully_register_pending_match()
962 xt_params->program_name, me->name); in xtables_fully_register_pending_match()
973 rn = (me->real_name != NULL) ? me->real_name : me->name; in xtables_fully_register_pending_match()
974 if (!compatible_match_revision(rn, me->revision)) in xtables_fully_register_pending_match()
982 if (me->size != XT_ALIGN(me->size)) { in xtables_fully_register_pending_match()
984 xt_params->program_name, me->name, in xtables_fully_register_pending_match()
985 (unsigned int)me->size); in xtables_fully_register_pending_match()
991 me->next = NULL; in xtables_fully_register_pending_match()
992 *i = me; in xtables_fully_register_pending_match()
994 me->m = NULL; in xtables_fully_register_pending_match()
995 me->mflags = 0; in xtables_fully_register_pending_match()
1005 void xtables_register_target(struct xtables_target *me) in xtables_register_target() argument
1007 if (me->version == NULL) { in xtables_register_target()
1009 xt_params->program_name, me->name, me->revision); in xtables_register_target()
1012 if (strcmp(me->version, XTABLES_VERSION) != 0) { in xtables_register_target()
1015 xt_params->program_name, me->name, in xtables_register_target()
1016 me->version, XTABLES_VERSION); in xtables_register_target()
1020 if (strlen(me->name) >= XT_EXTENSION_MAXNAMELEN) { in xtables_register_target()
1022 xt_params->program_name, me->name); in xtables_register_target()
1026 if (me->family >= NPROTO) { in xtables_register_target()
1029 xt_params->program_name, me->name); in xtables_register_target()
1033 if (me->x6_options != NULL) in xtables_register_target()
1034 xtables_option_metavalidate(me->name, me->x6_options); in xtables_register_target()
1035 if (me->extra_opts != NULL) in xtables_register_target()
1036 xtables_check_options(me->name, me->extra_opts); in xtables_register_target()
1039 if (me->family != afinfo->family && me->family != AF_UNSPEC) in xtables_register_target()
1043 me->next = xtables_pending_targets; in xtables_register_target()
1044 xtables_pending_targets = me; in xtables_register_target()
1047 static void xtables_fully_register_pending_target(struct xtables_target *me) in xtables_fully_register_pending_target() argument
1053 old = xtables_find_target(me->name, XTF_DURING_LOAD); in xtables_fully_register_pending_target()
1057 compare = xtables_target_prefer(old, me); in xtables_fully_register_pending_target()
1061 xt_params->program_name, me->name); in xtables_fully_register_pending_target()
1072 rn = (me->real_name != NULL) ? me->real_name : me->name; in xtables_fully_register_pending_target()
1073 if (!compatible_target_revision(rn, me->revision)) in xtables_fully_register_pending_target()
1081 if (me->size != XT_ALIGN(me->size)) { in xtables_fully_register_pending_target()
1083 xt_params->program_name, me->name, in xtables_fully_register_pending_target()
1084 (unsigned int)me->size); in xtables_fully_register_pending_target()
1089 me->next = xtables_targets; in xtables_fully_register_pending_target()
1090 xtables_targets = me; in xtables_fully_register_pending_target()
1091 me->t = NULL; in xtables_fully_register_pending_target()
1092 me->tflags = 0; in xtables_fully_register_pending_target()