inet: add struct net argument to inet_lhashfn