diff options
author | ru <ru@FreeBSD.org> | 2005-02-28 21:05:30 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-02-28 21:05:30 +0000 |
commit | bdce8917686dee18808e2f8f1774daa8b290c49b (patch) | |
tree | 56250b0b38d72578a0031cc1c5a2fbf229ac0e23 /usr.sbin/ppp/defs.h | |
parent | e1e12e9266e2bfb4f1ec24985b6db8bda8c3924c (diff) | |
download | FreeBSD-src-bdce8917686dee18808e2f8f1774daa8b290c49b.zip FreeBSD-src-bdce8917686dee18808e2f8f1774daa8b290c49b.tar.gz |
Add endianness support.
While version 4 entries are architecture-independent, we
also store old (version 3) entries in native byte order.
Also, the hash itself is created in a native byte order.
With this change, pwd_mkdb(8) can be used to cross-build
*pwd.db files for another architecture.
Tested on: i386, amd64, alpha, sparc64
Diffstat (limited to 'usr.sbin/ppp/defs.h')
0 files changed, 0 insertions, 0 deletions