]>
2018-01-08 | Michael Tremer | Install python module into correct location Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | Drop loc_load function Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | Hide all functions that we don't want to make public Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | Remove loc_database_write which no longer exists from... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | writer: Move alignment into each section writer Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | python: Implement adding networks to Writer Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | database: Unmap all mapped sections when freeing database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | python: Make lookup function available Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | configure: Check for the existance of some headers Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | database: Implement lookup Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-08 | Michael Tremer | database: Implement reading a network from the database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-07 | Michael Tremer | database: Load networks from database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-07 | Michael Tremer | database: Pass header to functions loading database... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-07 | Michael Tremer | database: Map network nodes section when opening the... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-07 | Michael Tremer | writer: Write out the network tree Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-05 | Michael Tremer | network: Fix walking through the tree in order Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-05 | Michael Tremer | test: Write a ASN to the network database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-05 | Michael Tremer | One byte doesn't have to be converted to big endian Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-05 | Michael Tremer | test: Write two test networks to the database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-05 | Michael Tremer | Declare a static function as static Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-05 | Michael Tremer | test: Add a second network to a tree Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-05 | Michael Tremer | network: Implement function to count all nodes Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-02 | Michael Tremer | network: Always use the first address of a network Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-02 | Michael Tremer | Map prefix to IPv6 as well for IPv4 addresses Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-02 | Michael Tremer | Validate the prefix to be within range Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2018-01-02 | Michael Tremer | Prevent segmentation fault when no prefix is present Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-30 | Michael Tremer | network: Support parsing IPv4 addresses and map them... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-30 | Michael Tremer | Make AS independent from stringpool Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | network: Add asn and remove reference to struct loc_as Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Implement Network class Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Implement setting description to the writer Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Fix setters Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Implement adding an AS to the writer Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Add write method to Writer Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Add Writer class Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | writer: Correctly increase offset when writing ASes Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Impement setting the name of an AS Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Implement comparison of ASes Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Show better repr for AS classes Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | as: Return NULL if name is not set Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Remove reference to context from database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Remove local stringpool and ctx from AS class Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Access ASes from database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Only use global loc context Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Create a global loc_ctx* context Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Add AS class Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Expose database creation time Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Expose database description and vendor Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | headers: Don't make private structures public Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | Move all header files into src/loc and install them Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-29 | Michael Tremer | python: Add Database class Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-28 | Michael Tremer | Start a Python module Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-28 | Michael Tremer | Write networks to the database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-28 | Michael Tremer | Allow creating networks in memory Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | Do not copy the file pointer when opening a database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | Use be*toh and htobe* to convert to big-endian Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | Log how long it takes to open the database Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | database: Log how long it took to retrieve an AS Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | stringpool: Make them initializable right from the... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | test: We do not guarantee that string pointers never... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | Split database into a writer and reader Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | database: Move string pool to the end of the file again Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | database: Save time when the database was created Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | database: Add function to align to page boundaries Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | database: Cleanup writing AS section Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | database: Cleanup writing pool Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | configure: We don't allow disabling logging any more Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | stringpool: Use mmap to make reading the pool more... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | database: Copy the file pointer so we can keep the... Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | Move all database format definition into format.h Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-12 | Michael Tremer | Introduce object to store an AS Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-08 | Michael Tremer | Draft initial database format Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-07 | Michael Tremer | Add deduplicated and memory-efficient string pool Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |
2017-12-05 | Michael Tremer | Initial commit Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> |
commit | commitdiff | tree |