Move common/network/IPAddress.h and related to folly/
authorAnton Likhtarov <alikhtarov@fb.com>
Sat, 5 Apr 2014 02:00:31 +0000 (19:00 -0700)
committerDave Watson <davejwatson@fb.com>
Tue, 20 May 2014 19:53:44 +0000 (12:53 -0700)
commitdced19f55cf70ce7c0b881af5125d95b76321373
tree0b0a71151fc9c436d18ec1005f11cd4d89d3ce7c
parentfbdb6012937d950d8c86b864fe0317977f5447ed
Move common/network/IPAddress.h and related to folly/

Summary:
Moving our internal IP/Mac address libraries to folly/

Facebook:
We want to get rid of common/ dependencies in Mcrouter since we're going to open source it. Also looking at the original commit, seems like it's been the intention all along, so I just did it.

I tried to keep dependencies intact as much as possible. Changing projects to use this directly should be in separate diffs.

Test Plan:
Run folly/network and common/network unit tests.

Generate the list of targets with:

```
fbgs /$FILE.h | cut -f1 -d: | xargs -L1 dirname | cut -f2- -d/ | sort | uniq
```

Then fbconfig + fbmake. Will fix contbuild failures.

Revert Plan:

Reviewed By: simpkins@fb.com

FB internal diff: D1261089
14 files changed:
folly/Format-inl.h
folly/IPAddress.cpp [new file with mode: 0644]
folly/IPAddress.h [new file with mode: 0644]
folly/IPAddressException.h [new file with mode: 0644]
folly/IPAddressV4.cpp [new file with mode: 0644]
folly/IPAddressV4.h [new file with mode: 0644]
folly/IPAddressV6.cpp [new file with mode: 0644]
folly/IPAddressV6.h [new file with mode: 0644]
folly/MacAddress.cpp [new file with mode: 0644]
folly/MacAddress.h [new file with mode: 0644]
folly/detail/IPAddress.h [new file with mode: 0644]
folly/test/IPAddressTest.cpp [new file with mode: 0644]
folly/test/IPAddressTest.h [new file with mode: 0644]
folly/test/MacAddressTest.cpp [new file with mode: 0644]