Modifying Packets

Can I add some padding or some extra data in packets before sending and remove it on receiving side? Anybody can help me in this issue