net: qualcomm: rmnet: Move common struct definitions to include
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 22 May 2019 20:21:07 +0000 (14:21 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 16:48:07 +0000 (09:48 -0700)
commit9395da4efbd46661f0049d24d54d1cea63241fc9
tree1a3fbf27d7130a4bf2d587d6e413096d9171fbac
parent16fa1cf1ed2a652a483cf8f1ea65c703693292e8
net: qualcomm: rmnet: Move common struct definitions to include

Create if_rmnet.h and move the rmnet MAP packet structs to this
common include file. To account for portablity, add little and
big endian bitfield definitions similar to the ip & tcp headers.

The definitions in the headers can now be re-used by the
upcoming ipa driver series as well as qmi_wwan.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h
include/linux/if_rmnet.h [new file with mode: 0644]