Ilioinguinal means related to the ilium (part of the hip bone) and the groin. For example, the ilioinguinal nerve runs through that area.
Ilioinguinal nerve
Ilioinguinal nerve (L1)
The lumbar plexus supplies the abdominal wall, external genitals, and part of the lower limbs. Arising from this plexus are the ilioinguinal, femoral, and obturator nerves.
Both supply to the scrotum in males, but the genitofemoral supplies to the anterior surface of the thigh while the illoinguinal nerve supplies the superior medial aspect of thigh.
posterior relation:-lateral and medial arcuate ligament ,nerves-subcostal,ilioinguinal,iliohypogastric, diaphragm, psoas major,quadratus lomborum,transversus abdominis, ribs, subcostal vessels, only diff is that on the rt we only12th rib but on the lt we have 11th as well.
That sounds like something that needs to be checked by a physician. Nerve pain can be caused by different things, and sometimes things that feel like nerve pain are something else. And, considering the area you mentioned, there are no nerves located in the ilioinguinal area that can be impinged by hard tissue or entrapped by muscle. Since there are a lot of structures in that area, including its proximity to the abdominal cavity, if it doesn't go away, or get better after a few days, if is gets worse, or you develop a fever, you probably should get medical attention right away.
Well you can asses the function of ilioingunial nerve and genitofemoral nerve. Cremasteric relfex can be demonstarted by lightly touching the skin of the upper medial thigh, resulting in a slight elevation of the testis. The sensory fibers of the reflex are carried by the L1 fibers of the Ilioinguinal nerve and the motor response is a functional of the genital branch of the genitofemoral nerve that innervates the cremastric muscle.