Is it possible to prevent packet capturing on Android for sent TCP/IP packets?

I’d like to know if some measure is possible to prevent the capturing of packets that are being sent on Android.

I’d need the solution to work via code (cannot rely on external tools).

Packets are already encrypted, but it would be a nice plus if they couldn’t be captured, or, at least, that it would be difficult to.

Is anything like this possible or is there no way to prevent capture of a packet via packet capture software?