Network over USB, touching on FreeBSD

Hello. Has anyone used FreeBSD on BBB and managed to SSH across the USB cable instead of regular ethernet?

Perhaps more relevant to this message board: Can someone direct me to the (Linux) driver code that deals with ethernet over USB? I’d rather not download all twenty million odd lines of code from GIT.