With scapy we can to this :
p = Ether() / IP()
What kind of operation does '/' really do ? What kind of object does it return ? If I type p in a python interpreter it returns this
<Ether ... | IP ...>
What does '|' mean in this case ?
I was trying to change the field dst of IP after creating p without recreating the object entirely, but I didn't manage to do it as I don't know what kind of object I am facing.
Thank you.