The penis has not properly retracted. the white things are the two hooks at the tip of the penis. Please have it checked in case there is a blockage in the penis shaft or an infection.
Boar Care: Bits, Bums & Baths
Could you try to see whether you can gently express the penis, or whether it is too uncomfortable. Otherwise there is not a lot you can do.
An update for you all - the vet had a look at Binky's penis. He'd cut the end of it and it was scabbing over badly, keeping it outside the shaft.
She removed the scab, cleaned him up and gave him a cold compress. The relief could actually be seen on his face! The coolness brought down the swelling almost immediately and his penis is now back where it should be
View attachment 65249