diff options
author | Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> | 2014-03-14 21:23:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-15 03:15:25 +0100 |
commit | 376b7bd3558eaf12d3e5c24aa71d0c162d2701fd (patch) | |
tree | 6d73521c4d4eb2d0a41cd848eb311670c7722e14 /include/net/af_ieee802154.h | |
parent | 6lowpan: reassembly: un-export local functions (diff) | |
download | linux-376b7bd3558eaf12d3e5c24aa71d0c162d2701fd.tar.xz linux-376b7bd3558eaf12d3e5c24aa71d0c162d2701fd.zip |
ieee802154: rename struct ieee802154_addr to *_sa
The struct as currently defined uses host byte order for some fields,
and most big endian/EUI display byte order for other fields. Inside the
stack, endianness should ideally match network byte order where possible
to minimize the number of byteswaps done in critical paths, but this
patch does not address this; it is only preparatory.
Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/af_ieee802154.h')
-rw-r--r-- | include/net/af_ieee802154.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/af_ieee802154.h b/include/net/af_ieee802154.h index 75e64c7a2960..f79ae2aa76d6 100644 --- a/include/net/af_ieee802154.h +++ b/include/net/af_ieee802154.h @@ -36,7 +36,7 @@ enum { /* address length, octets */ #define IEEE802154_ADDR_LEN 8 -struct ieee802154_addr { +struct ieee802154_addr_sa { int addr_type; u16 pan_id; union { @@ -51,7 +51,7 @@ struct ieee802154_addr { struct sockaddr_ieee802154 { sa_family_t family; /* AF_IEEE802154 */ - struct ieee802154_addr addr; + struct ieee802154_addr_sa addr; }; /* get/setsockopt */ |