Lines Matching refs:me

188 static void xtables_fully_register_pending_match(struct xtables_match *me);
189 static void xtables_fully_register_pending_target(struct xtables_target *me);
823 void xtables_register_match(struct xtables_match *me) in xtables_register_match() argument
825 if (me->version == NULL) { in xtables_register_match()
827 xt_params->program_name, me->name, me->revision); in xtables_register_match()
830 if (strcmp(me->version, XTABLES_VERSION) != 0) { in xtables_register_match()
833 xt_params->program_name, me->name, in xtables_register_match()
834 me->version, XTABLES_VERSION); in xtables_register_match()
838 if (strlen(me->name) >= XT_EXTENSION_MAXNAMELEN) { in xtables_register_match()
840 xt_params->program_name, me->name); in xtables_register_match()
844 if (me->family >= NPROTO) { in xtables_register_match()
847 xt_params->program_name, me->name); in xtables_register_match()
851 if (me->x6_options != NULL) in xtables_register_match()
852 xtables_option_metavalidate(me->name, me->x6_options); in xtables_register_match()
853 if (me->extra_opts != NULL) in xtables_register_match()
854 xtables_check_options(me->name, me->extra_opts); in xtables_register_match()
857 if (me->family != afinfo->family && me->family != AF_UNSPEC) in xtables_register_match()
861 me->next = xtables_pending_matches; in xtables_register_match()
862 xtables_pending_matches = me; in xtables_register_match()
926 static void xtables_fully_register_pending_match(struct xtables_match *me) in xtables_fully_register_pending_match() argument
932 old = xtables_find_match(me->name, XTF_DURING_LOAD, NULL); in xtables_fully_register_pending_match()
934 compare = xtables_match_prefer(old, me); in xtables_fully_register_pending_match()
938 xt_params->program_name, me->name); in xtables_fully_register_pending_match()
949 rn = (me->real_name != NULL) ? me->real_name : me->name; in xtables_fully_register_pending_match()
950 if (!compatible_match_revision(rn, me->revision)) in xtables_fully_register_pending_match()
958 if (me->size != XT_ALIGN(me->size)) { in xtables_fully_register_pending_match()
960 xt_params->program_name, me->name, in xtables_fully_register_pending_match()
961 (unsigned int)me->size); in xtables_fully_register_pending_match()
967 me->next = NULL; in xtables_fully_register_pending_match()
968 *i = me; in xtables_fully_register_pending_match()
970 me->m = NULL; in xtables_fully_register_pending_match()
971 me->mflags = 0; in xtables_fully_register_pending_match()
981 void xtables_register_target(struct xtables_target *me) in xtables_register_target() argument
983 if (me->version == NULL) { in xtables_register_target()
985 xt_params->program_name, me->name, me->revision); in xtables_register_target()
988 if (strcmp(me->version, XTABLES_VERSION) != 0) { in xtables_register_target()
991 xt_params->program_name, me->name, in xtables_register_target()
992 me->version, XTABLES_VERSION); in xtables_register_target()
996 if (strlen(me->name) >= XT_EXTENSION_MAXNAMELEN) { in xtables_register_target()
998 xt_params->program_name, me->name); in xtables_register_target()
1002 if (me->family >= NPROTO) { in xtables_register_target()
1005 xt_params->program_name, me->name); in xtables_register_target()
1009 if (me->x6_options != NULL) in xtables_register_target()
1010 xtables_option_metavalidate(me->name, me->x6_options); in xtables_register_target()
1011 if (me->extra_opts != NULL) in xtables_register_target()
1012 xtables_check_options(me->name, me->extra_opts); in xtables_register_target()
1015 if (me->family != afinfo->family && me->family != AF_UNSPEC) in xtables_register_target()
1019 me->next = xtables_pending_targets; in xtables_register_target()
1020 xtables_pending_targets = me; in xtables_register_target()
1023 static void xtables_fully_register_pending_target(struct xtables_target *me) in xtables_fully_register_pending_target() argument
1029 old = xtables_find_target(me->name, XTF_DURING_LOAD); in xtables_fully_register_pending_target()
1033 compare = xtables_target_prefer(old, me); in xtables_fully_register_pending_target()
1037 xt_params->program_name, me->name); in xtables_fully_register_pending_target()
1048 rn = (me->real_name != NULL) ? me->real_name : me->name; in xtables_fully_register_pending_target()
1049 if (!compatible_target_revision(rn, me->revision)) in xtables_fully_register_pending_target()
1057 if (me->size != XT_ALIGN(me->size)) { in xtables_fully_register_pending_target()
1059 xt_params->program_name, me->name, in xtables_fully_register_pending_target()
1060 (unsigned int)me->size); in xtables_fully_register_pending_target()
1065 me->next = xtables_targets; in xtables_fully_register_pending_target()
1066 xtables_targets = me; in xtables_fully_register_pending_target()
1067 me->t = NULL; in xtables_fully_register_pending_target()
1068 me->tflags = 0; in xtables_fully_register_pending_target()